diff --git a/stage0/src/Lean/Server/README.md b/stage0/src/Lean/Server/README.md index b6d1a0d01363..fc0426403d79 100644 --- a/stage0/src/Lean/Server/README.md +++ b/stage0/src/Lean/Server/README.md @@ -39,7 +39,7 @@ Another important consideration is the *compacted region* memory used by importe When the user has two or more files in a single dependency chain open, it is desirable for changes in imports to propagate to modules importing them. That is, when `B.lean` depends on `A.lean` and both are open, changes to `A` should eventually be observable in `B`. But a major problem with Lean 3 is how it does this much too eagerly. Often `B` will be recompiled needlessly as soon as `A` is opened, even if no changes have been made to `A`. For heavyweight modules which take up to several minutes to compile, this causes frustration when `A` is opened merely for inspection e.g. via go-to-definition. -In Lean 4, the situation is different as `.olean` artifacts are required to exist for all imported modules -- one cannot import a `.lean` file without compiling it first. In the running example, when a user opens and edits `A`, nothing is going to happen to `B`. They can continue to interact with it as if `A` kept its previous contents. But when `A` is saved with changes, users can then issue the "refresh file dependencies" command in their editor, which will restart the respective worker and use `lake print-paths` to rebuild and locate its dependencies. This being a conscious action, users will be aware of having to then wait for compilation. +In Lean 4, the situation is different as `.olean` artifacts are required to exist for all imported modules -- one cannot import a `.lean` file without compiling it first. In the running example, when a user opens and edits `A`, nothing is going to happen to `B`. They can continue to interact with it as if `A` kept its previous contents. But when `A` is saved with changes, users can then issue the "refresh file dependencies" command in their editor, which will restart the respective worker and use `lake setup-file` to rebuild and locate its dependencies. This being a conscious action, users will be aware of having to then wait for compilation. ### Worker architecture diff --git a/stage0/src/library/util.cpp b/stage0/src/library/util.cpp index 9ce0383c6f38..eb22dd48cb8d 100644 --- a/stage0/src/library/util.cpp +++ b/stage0/src/library/util.cpp @@ -873,11 +873,7 @@ void initialize_library_util() { if (std::strlen(LEAN_SPECIAL_VERSION_DESC) > 0) { out << "-" << LEAN_SPECIAL_VERSION_DESC; } - if (std::strlen(LEAN_GITHASH) == 0) { - if (std::strcmp(LEAN_PACKAGE_VERSION, "NOT-FOUND") != 0) { - out << ", package " << LEAN_PACKAGE_VERSION; - } - } else { + if (std::strlen(LEAN_GITHASH) > 0) { out << ", commit " << std::string(LEAN_GITHASH).substr(0, 12); } g_version_string = new std::string(out.str()); diff --git a/stage0/src/runtime/io.cpp b/stage0/src/runtime/io.cpp index a2335c0f5faf..207e33b8c494 100644 --- a/stage0/src/runtime/io.cpp +++ b/stage0/src/runtime/io.cpp @@ -89,7 +89,11 @@ static obj_res mk_file_not_found_error(b_obj_arg fname) { static lean_external_class * g_io_handle_external_class = nullptr; static void io_handle_finalizer(void * h) { - lean_always_assert(fclose(static_cast(h)) == 0); + // There is no sensible way to handle errors here; in particular, we should + // not panic as finalizing a handle that already is in an invalid state + // (broken pipe etc.) should work and not terminate the process. The same + // decision was made for `std::fs::File` in the Rust stdlib. + fclose(static_cast(h)); } static void io_handle_foreach(void * /* mod */, b_obj_arg /* fn */) { diff --git a/stage0/src/version.h.in b/stage0/src/version.h.in index 3128fad3119c..7f343adda530 100644 --- a/stage0/src/version.h.in +++ b/stage0/src/version.h.in @@ -6,7 +6,3 @@ // Additional version description like "nightly-2018-03-11" #define LEAN_SPECIAL_VERSION_DESC "@LEAN_SPECIAL_VERSION_DESC@" - -// When git_sha1 is not available, lean reads bin/version file and -// assign its contents to LEAN_PACKAGE_VERSION -#define LEAN_PACKAGE_VERSION "@LEAN_PACKAGE_VERSION@" diff --git a/stage0/stdlib/Init/Data/Option/Basic.c b/stage0/stdlib/Init/Data/Option/Basic.c index e714f3d4011b..c8cf02bb6bdd 100644 --- a/stage0/stdlib/Init/Data/Option/Basic.c +++ b/stage0/stdlib/Init/Data/Option/Basic.c @@ -40,10 +40,10 @@ LEAN_EXPORT lean_object* l_Option_bind(lean_object*, lean_object*); static lean_object* l_instAlternativeOption___closed__3; LEAN_EXPORT lean_object* l_instFunctorOption; LEAN_EXPORT lean_object* l_Option_bind___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instFunctorOption___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instBEqOption(lean_object*); static lean_object* l_instMonadOption___closed__6; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Option_merge(lean_object*); static lean_object* l_instMonadOption___closed__7; LEAN_EXPORT lean_object* l_instLTOption(lean_object*, lean_object*); @@ -84,12 +84,12 @@ LEAN_EXPORT lean_object* l_Option_tryCatch___rarg___boxed(lean_object*, lean_obj LEAN_EXPORT lean_object* l_instMonadOption___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_instMonadExceptOfUnitOption___closed__2; LEAN_EXPORT lean_object* l_Option_isSome(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123_(lean_object*); static lean_object* l_instFunctorOption___closed__2; LEAN_EXPORT lean_object* l_instMonadExceptOfUnitOption; static lean_object* l_instMonadExceptOfUnitOption___closed__1; LEAN_EXPORT lean_object* l_Option_orElse___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqOption(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119_(lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqOption___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Option_isSome___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Option_merge___rarg(lean_object*, lean_object*, lean_object*); @@ -853,7 +853,7 @@ x_2 = lean_alloc_closure((void*)(l_instDecidableEqOption___rarg), 3, 0); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_2) == 0) @@ -901,11 +901,11 @@ return x_12; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____rarg), 3, 0); return x_2; } } @@ -913,7 +913,7 @@ LEAN_EXPORT lean_object* l_instBEqOption___rarg(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index ae86b37e89c3..9f0662812813 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -33,6 +33,7 @@ LEAN_EXPORT lean_object* l_instPowNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkNullNode(lean_object*); LEAN_EXPORT lean_object* l_ReaderT_instMonadFunctorReaderT(lean_object*, lean_object*, lean_object*); uint8_t lean_uint8_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_letFun___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableLtPosInstLTPos___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_UInt64_size; LEAN_EXPORT lean_object* l_minOfLe___rarg(lean_object*, lean_object*, lean_object*); @@ -862,6 +863,7 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_data___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mkArray2___rarg(lean_object*, lean_object*); LEAN_EXPORT uint32_t l_Char_utf8Size(uint32_t); +LEAN_EXPORT lean_object* l_letFun(lean_object*, lean_object*); static lean_object* l_Lean_Macro_instInhabitedMethods___closed__3; LEAN_EXPORT lean_object* l_Lean_hygieneInfoKind; LEAN_EXPORT lean_object* l_ReaderT_instMonadExceptOfReaderT(lean_object*, lean_object*, lean_object*); @@ -1012,6 +1014,22 @@ lean_dec(x_1); return x_3; } } +LEAN_EXPORT lean_object* l_letFun___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_apply_1(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_letFun(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_letFun___rarg), 2, 0); +return x_3; +} +} LEAN_EXPORT lean_object* l_inferInstance___rarg(lean_object* x_1) { _start: { diff --git a/stage0/stdlib/Init/System/FilePath.c b/stage0/stdlib/Init/System/FilePath.c index 5684b7905883..e1b65b4c9368 100644 --- a/stage0/stdlib/Init/System/FilePath.c +++ b/stage0/stdlib/Init/System/FilePath.c @@ -39,6 +39,7 @@ LEAN_EXPORT lean_object* l_System_FilePath_exeExtension; LEAN_EXPORT lean_object* l_System_FilePath_instHDivFilePathString(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_split___at_System_SearchPath_parse___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_System_FilePath_withExtension(lean_object*, lean_object*); +LEAN_EXPORT uint64_t l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_120_(lean_object*); LEAN_EXPORT lean_object* l_List_contains___at___private_Init_System_FilePath_0__System_FilePath_posOfLastSep___spec__1___boxed(lean_object*, lean_object*); lean_object* l_String_revFind(lean_object*, lean_object*); uint64_t lean_string_hash(lean_object*); @@ -60,7 +61,6 @@ LEAN_EXPORT lean_object* l_System_instCoeStringFilePath(lean_object*); lean_object* l_Char_toUpper(uint32_t); LEAN_EXPORT lean_object* l___private_Init_System_FilePath_0__System_FilePath_posOfLastSep(lean_object*); static uint8_t l_System_FilePath_normalize___lambda__2___closed__3; -LEAN_EXPORT lean_object* l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_116____boxed(lean_object*); static lean_object* l_System_FilePath_pathSeparators___closed__1; static lean_object* l_System_FilePath_fileName___closed__1; LEAN_EXPORT lean_object* l_String_splitAux___at_System_SearchPath_parse___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -107,7 +107,6 @@ LEAN_EXPORT uint8_t l_List_contains___at___private_Init_System_FilePath_0__Syste LEAN_EXPORT lean_object* l_System_FilePath_normalize___lambda__2(lean_object*, lean_object*); static lean_object* l_System_SearchPath_toString___closed__1; lean_object* l_List_reverse___rarg(lean_object*); -LEAN_EXPORT uint64_t l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_116_(lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_System_FilePath_normalize___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_System_FilePath_pathSeparators___closed__2___boxed__const__1; @@ -122,6 +121,7 @@ LEAN_EXPORT uint8_t l___private_Init_System_FilePath_0__System_decEqFilePath____ static lean_object* l_System_instReprFilePath___closed__2; extern uint8_t l_System_Platform_isWindows; LEAN_EXPORT uint8_t l_System_FilePath_isRelative(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_120____boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_System_FilePath_0__System_decEqFilePath____x40_Init_System_FilePath___hyg_24____boxed(lean_object*, lean_object*); uint8_t l_Char_isLower(uint32_t); LEAN_EXPORT lean_object* l_System_FilePath_isRelative___boxed(lean_object*); @@ -181,7 +181,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT uint64_t l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_116_(lean_object* x_1) { +LEAN_EXPORT uint64_t l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_120_(lean_object* x_1) { _start: { uint64_t x_2; uint64_t x_3; uint64_t x_4; @@ -191,11 +191,11 @@ x_4 = lean_uint64_mix_hash(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_116____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_120____boxed(lean_object* x_1) { _start: { uint64_t x_2; lean_object* x_3; -x_2 = l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_116_(x_1); +x_2 = l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_120_(x_1); lean_dec(x_1); x_3 = lean_box_uint64(x_2); return x_3; @@ -205,7 +205,7 @@ static lean_object* _init_l_System_instHashableFilePath___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_116____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_System_FilePath_0__System_hashFilePath____x40_Init_System_FilePath___hyg_120____boxed), 1, 0); return x_1; } } diff --git a/stage0/stdlib/Lean/Compiler/ExternAttr.c b/stage0/stdlib/Lean/Compiler/ExternAttr.c index 4d39c7570b25..0e22dccfb3a3 100644 --- a/stage0/stdlib/Lean/Compiler/ExternAttr.c +++ b/stage0/stdlib/Lean/Compiler/ExternAttr.c @@ -72,6 +72,7 @@ static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstA uint8_t l_instDecidableNot___rarg(uint8_t); lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getExternEntryFor___boxed(lean_object*, lean_object*); static lean_object* l_Lean_mkSimpleFnCall___closed__3; uint8_t lean_uint32_dec_le(uint32_t, uint32_t); @@ -120,7 +121,6 @@ static lean_object* l_Lean_getExternConstArityExport___closed__5; LEAN_EXPORT lean_object* l_Lean_getExternNameFor___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getExternConstArityExport___closed__1; static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__25; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_getExternConstArity___closed__4; static lean_object* l_Lean_getExternConstArityExport___closed__6; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Compiler_ExternAttr___hyg_896____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -737,7 +737,7 @@ else { lean_object* x_17; uint8_t x_18; x_17 = lean_box(0); -x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_14, x_17); +x_18 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_14, x_17); if (x_18 == 0) { lean_object* x_19; lean_object* x_20; diff --git a/stage0/stdlib/Lean/Compiler/IR/Basic.c b/stage0/stdlib/Lean/Compiler/IR/Basic.c index b2e545c2a268..f2bc6fc17b91 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Basic.c +++ b/stage0/stdlib/Lean/Compiler/IR/Basic.c @@ -43,6 +43,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_instToFormatVarId(lean_object*); static lean_object* l_Lean_IR_Decl_updateBody_x21___closed__3; LEAN_EXPORT lean_object* l_Lean_IR_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_IRType_isScalar___boxed(lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_LocalContext_eraseJoinPointDecl(lean_object*, lean_object*); uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); LEAN_EXPORT lean_object* lean_ir_mk_alt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -50,7 +51,6 @@ LEAN_EXPORT uint8_t l_Lean_IR_instBEqVarId(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_IR_Basic_0__Lean_IR_reprCtorInfo____x40_Lean_Compiler_IR_Basic___hyg_1031____closed__9; LEAN_EXPORT lean_object* l_Lean_IR_getUnboxOpName___boxed(lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_IR_instBEqCtorInfo___closed__1; uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_IR_instAlphaEqvExpr; @@ -61,6 +61,7 @@ static lean_object* l___private_Lean_Compiler_IR_Basic_0__Lean_IR_reprCtorInfo__ static lean_object* l___private_Lean_Compiler_IR_Basic_0__Lean_IR_reprCtorInfo____x40_Lean_Compiler_IR_Basic___hyg_1031____closed__16; LEAN_EXPORT lean_object* l_Lean_IR_CtorInfo_beq___boxed(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_IR_CtorInfo_isScalar(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_reshapeAux___closed__3; @@ -139,7 +140,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_FnBody_body___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_Decl_name(lean_object*); static lean_object* l_Lean_IR_getUnboxOpName___closed__1; LEAN_EXPORT lean_object* l_Lean_IR_LocalContext_addParam(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_IR_instInhabitedParam___closed__1; LEAN_EXPORT uint8_t l_Lean_IR_Arg_beq(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_IR_IRType_isObj(lean_object*); @@ -505,7 +505,7 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -774,7 +774,7 @@ x_21 = lean_ctor_get(x_1, 0); x_22 = lean_ctor_get(x_1, 1); x_23 = lean_ctor_get(x_2, 0); x_24 = lean_ctor_get(x_2, 1); -x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1(x_21, x_23); +x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1(x_21, x_23); if (x_25 == 0) { uint8_t x_26; @@ -860,11 +860,11 @@ return x_46; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); diff --git a/stage0/stdlib/Lean/Compiler/IR/EmitC.c b/stage0/stdlib/Lean/Compiler/IR/EmitC.c index fe0af82215ae..71f1e16bbf10 100644 --- a/stage0/stdlib/Lean/Compiler/IR/EmitC.c +++ b/stage0/stdlib/Lean/Compiler/IR/EmitC.c @@ -69,6 +69,7 @@ static lean_object* l_Lean_IR_EmitC_emitTailCall___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitFnDeclAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_forM_loop___at_Lean_IR_EmitC_emitDeclAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitC_emitInitFn___closed__4; +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitLn___at_Lean_IR_EmitC_emitMainFn___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Name_getString_x21___spec__1(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); @@ -89,7 +90,6 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitSProj(lean_object*, lean_object*, l LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitC_emitReset___closed__4; static lean_object* l_Lean_IR_EmitC_emitFileHeader___closed__21; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitAllocCtor___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitC_emitReuse(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_String_foldlAux___at_Lean_IR_EmitC_quoteString___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2986,7 +2986,7 @@ lean_dec(x_26); x_28 = l_Lean_Expr_constName_x3f(x_27); lean_dec(x_27); x_29 = l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__4; -x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1(x_28, x_29); +x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1(x_28, x_29); lean_dec(x_28); if (x_30 == 0) { diff --git a/stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c b/stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c index cb03aed98838..5f04ae4be60c 100644 --- a/stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c +++ b/stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c @@ -114,6 +114,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanUnsignedToNatFn___boxed(lean LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_ShouldForwardControlFlow_noConfusion___rarg(uint8_t, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanMkStringFromBytesFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_llvm_const_int(size_t, size_t, uint64_t, uint8_t, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1(lean_object*, lean_object*); lean_object* lean_llvm_get_value_name2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_IR_EmitLLVM_emitFnDecls___spec__4(lean_object*, lean_object*); lean_object* lean_llvm_set_tail_call(size_t, size_t, uint8_t, lean_object*); @@ -140,7 +141,6 @@ LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_IR_EmitLLVM_emitDeclAux___sp static lean_object* l_Lean_IR_EmitLLVM_emitSProj___closed__3; lean_object* l_LLVM_i8Type(size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitFnDeclAux___lambda__2(lean_object*, uint8_t, size_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_IR_EmitLLVM_emitTailCall___closed__3; LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_callLeanIOResultIsError(size_t, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); @@ -37484,7 +37484,7 @@ LEAN_EXPORT lean_object* l_Lean_IR_EmitLLVM_emitMainFn___lambda__4(lean_object* lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = l_Lean_Expr_constName_x3f(x_1); x_11 = l_Lean_IR_EmitLLVM_emitMainFn___lambda__4___closed__3; -x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_IR_IRType_beq___spec__1(x_10, x_11); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_IR_IRType_beq___spec__1(x_10, x_11); lean_dec(x_10); if (x_12 == 0) { diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Basic.c b/stage0/stdlib/Lean/Compiler/LCNF/Basic.c index ce1b7261f9ad..0943c2d9681c 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Basic.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Basic.c @@ -44,7 +44,6 @@ LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_e uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_beqInlineAttributeKind____x40_Lean_Compiler_InlineAttrs___hyg_23_(uint8_t, uint8_t); lean_object* l_Lean_Level_instantiateParams(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedLetValue; -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_forM_go___spec__1(lean_object*); uint64_t lean_uint64_of_nat(lean_object*); uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); @@ -94,7 +93,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___rarg(lean_object*, LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqAlt___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedAltCore(lean_object*); static lean_object* l_Lean_Compiler_LCNF_instInhabitedLetDecl___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateJmpImp___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_forCodeM(lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); @@ -163,6 +161,7 @@ LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Decl_inlineable(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateCasesImp___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_alwaysInlineAttr___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_instantiateRangeArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instCode(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_Arg_updateFVarImp___closed__1; @@ -324,6 +323,7 @@ uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1933_(l lean_object* l_Lean_Expr_instantiateLevelParamsNoCache(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_inlineable___boxed(lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Code_isReturnOf(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instLetDecl(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqParam____x40_Lean_Compiler_LCNF_Basic___hyg_55____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instBEqCode___closed__1; @@ -6675,7 +6675,7 @@ x_1 = l_Lean_Compiler_LCNF_instInhabitedDecl___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -6957,7 +6957,7 @@ if (x_9 == 0) if (x_17 == 0) { uint8_t x_20; -x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(x_10, x_18); +x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(x_10, x_18); return x_20; } else @@ -6982,18 +6982,18 @@ return x_22; else { uint8_t x_23; -x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(x_10, x_18); +x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(x_10, x_18); return x_23; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_5796____spec__1(x_1, x_2); x_4 = lean_box(x_3); return x_4; } diff --git a/stage0/stdlib/Lean/Compiler/LCNF/SpecInfo.c b/stage0/stdlib/Lean/Compiler/LCNF/SpecInfo.c index 65b657a27c88..08194493ff67 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/SpecInfo.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/SpecInfo.c @@ -29,6 +29,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__17___lambda__2___closed__4; static lean_object* l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_reprSpecParamInfo____x40_Lean_Compiler_LCNF_SpecInfo___hyg_23____closed__8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_SpecState_specInfo___default; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1___boxed(lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); static lean_object* l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_reprSpecParamInfo____x40_Lean_Compiler_LCNF_SpecInfo___hyg_23____closed__25; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_SpecParamInfo_noConfusion___rarg(uint8_t, uint8_t, lean_object*); @@ -105,7 +106,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_S static lean_object* l_Lean_Compiler_LCNF_SpecState_specInfo___default___closed__3; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_482____lambda__2(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_LCNF_instInhabitedDecl; size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_2668____closed__15; @@ -136,7 +136,6 @@ lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_ob lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instToMessageDataSpecParamInfo___closed__15; LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_getSpecParamInfoCore_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_SpecParamInfo_noConfusion___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Array_zipWithAux___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -226,6 +225,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instToMessageDataSpecParamInfo(uin lean_object* l_Repr_addAppParen(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_SpecState_specInfo___default___closed__2; lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__17___closed__5; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__17___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -2563,7 +2563,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2984,7 +2984,7 @@ lean_object* x_48; uint8_t x_49; lean_dec(x_47); x_48 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___closed__2; lean_inc(x_1); -x_49 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1(x_1, x_48); +x_49 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1(x_1, x_48); if (x_49 == 0) { uint8_t x_50; lean_object* x_51; lean_object* x_52; @@ -5250,11 +5250,11 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c b/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c index 27d1cef1bb61..3bf401e123df 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c @@ -87,7 +87,7 @@ static lean_object* l_Lean_Compiler_LCNF_macroInline___lambda__2___closed__1; lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_macroInline___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Compiler_LCNF_ToDecl_0__Lean_Compiler_LCNF_normalizeAlt___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_ToDecl_0__Lean_Compiler_LCNF_replaceUnsafeRecNames___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_inlineMatchers___closed__20; @@ -2557,7 +2557,7 @@ x_10 = l_Lean_Compiler_LCNF_inlineMatchers___closed__31; x_11 = 0; x_12 = l_Lean_Compiler_LCNF_inlineMatchers___closed__9; lean_inc(x_7); -x_13 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_9, x_10, x_11, x_12, x_7, x_2, x_3, x_8); +x_13 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_9, x_10, x_11, x_11, x_12, x_7, x_2, x_3, x_8); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c b/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c index ed538fa4fd43..e93d3dc11402 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c @@ -221,6 +221,7 @@ static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__20; lean_object* l_Lean_RBNode_findCore___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__17; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___closed__12; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___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_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_Lean_RBNode_del___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__3(lean_object*, lean_object*); @@ -323,7 +324,7 @@ static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__3; lean_object* l_Lean_LocalContext_mkLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t); lean_object* l_Array_append___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_LCNF_instMonadCompilerM; -LEAN_EXPORT lean_object* l_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_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(lean_object*, lean_object*); @@ -391,7 +392,6 @@ static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_g lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_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_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_letFunAnnotation_x3f(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -477,6 +477,8 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_ToLCNF_bindC uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__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_Compiler_LCNF_ToLCNF_toLCNF_visitMData___boxed(lean_object*); +lean_object* l_Lean_Expr_letFun_x3f(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1___closed__1; @@ -12123,174 +12125,172 @@ return x_60; } case 10: { -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_1, 0); +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_1, 1); lean_inc(x_61); -x_62 = lean_ctor_get(x_1, 1); -lean_inc(x_62); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_63 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(x_61, x_62, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_63) == 0) +x_62 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_61, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_63, 0); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_64, x_3, x_4, x_5, x_6, x_7, x_65); +lean_dec(x_62); +x_65 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_63, x_3, x_4, x_5, x_6, x_7, x_64); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_66; +return x_65; } else { -uint8_t x_67; +uint8_t x_66; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_67 = !lean_is_exclusive(x_63); -if (x_67 == 0) +x_66 = !lean_is_exclusive(x_62); +if (x_66 == 0) { -return x_63; +return x_62; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_63, 0); -x_69 = lean_ctor_get(x_63, 1); -lean_inc(x_69); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_62, 0); +x_68 = lean_ctor_get(x_62, 1); lean_inc(x_68); -lean_dec(x_63); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_inc(x_67); +lean_dec(x_62); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } case 11: { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_71 = lean_ctor_get(x_1, 0); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_70 = lean_ctor_get(x_1, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_1, 1); lean_inc(x_71); -x_72 = lean_ctor_get(x_1, 1); +x_72 = lean_ctor_get(x_1, 2); lean_inc(x_72); -x_73 = lean_ctor_get(x_1, 2); -lean_inc(x_73); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_74 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(x_71, x_72, x_73, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_74) == 0) +x_73 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(x_70, x_71, x_72, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_74, 0); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_75, x_3, x_4, x_5, x_6, x_7, x_76); +lean_dec(x_73); +x_76 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_74, x_3, x_4, x_5, x_6, x_7, x_75); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_77; +return x_76; } else { -uint8_t x_78; +uint8_t x_77; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_78 = !lean_is_exclusive(x_74); -if (x_78 == 0) +x_77 = !lean_is_exclusive(x_73); +if (x_77 == 0) { -return x_74; +return x_73; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_74, 0); -x_80 = lean_ctor_get(x_74, 1); -lean_inc(x_80); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_73, 0); +x_79 = lean_ctor_get(x_73, 1); lean_inc(x_79); -lean_dec(x_74); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; +lean_inc(x_78); +lean_dec(x_73); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; } } } default: { -lean_object* x_82; lean_object* x_83; -x_82 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__4; +lean_object* x_81; lean_object* x_82; +x_81 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__4; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_83 = l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5(x_82, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_83) == 0) +x_82 = l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5(x_81, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_83, 0); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_84, x_3, x_4, x_5, x_6, x_7, x_85); +lean_dec(x_82); +x_85 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_83, x_3, x_4, x_5, x_6, x_7, x_84); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_86; +return x_85; } else { -uint8_t x_87; +uint8_t x_86; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_87 = !lean_is_exclusive(x_83); -if (x_87 == 0) +x_86 = !lean_is_exclusive(x_82); +if (x_86 == 0) { -return x_83; +return x_82; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_83, 0); -x_89 = lean_ctor_get(x_83, 1); -lean_inc(x_89); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_82, 0); +x_88 = lean_ctor_get(x_82, 1); lean_inc(x_88); -lean_dec(x_83); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +lean_inc(x_87); +lean_dec(x_82); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } @@ -13610,68 +13610,20 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; lean_object* x_10; -lean_inc(x_2); -x_9 = l_Lean_Expr_mdata___override(x_1, x_2); -x_10 = l_Lean_letFunAnnotation_x3f(x_9); -lean_dec(x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_11; -} -else -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -lean_dec(x_10); -if (lean_obj_tag(x_12) == 5) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -if (lean_obj_tag(x_13) == 6) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_2); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_13, 2); -lean_inc(x_17); -lean_dec(x_13); -x_18 = 1; -x_19 = l_Lean_Expr_letE___override(x_15, x_16, x_14, x_17, x_18); -x_20 = l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__1; -x_21 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(x_19, x_20, x_3, x_4, x_5, x_6, x_7, x_8); -return x_21; -} -else -{ -lean_object* x_22; -lean_dec(x_13); -lean_dec(x_12); -x_22 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_22; +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_8; } } -else +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(lean_object* x_1) { +_start: { -lean_object* x_23; -lean_dec(x_12); -x_23 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_23; -} -} +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg), 7, 0); +return x_2; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -14288,262 +14240,259 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(lean_object _start: { lean_object* x_8; -x_8 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_8) == 4) +lean_inc(x_1); +x_8 = l_Lean_Expr_letFun_x3f(x_1); +if (lean_obj_tag(x_8) == 0) { -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -lean_dec(x_8); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__4; -x_11 = lean_name_eq(x_9, x_10); -if (x_11 == 0) +lean_object* x_9; +x_9 = l_Lean_Expr_getAppFn(x_1); +if (lean_obj_tag(x_9) == 4) { -lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__6; -x_13 = lean_name_eq(x_9, x_12); -if (x_13 == 0) +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__4; +x_12 = lean_name_eq(x_10, x_11); +if (x_12 == 0) { -lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__8; -x_15 = lean_name_eq(x_9, x_14); -if (x_15 == 0) +lean_object* x_13; uint8_t x_14; +x_13 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__6; +x_14 = lean_name_eq(x_10, x_13); +if (x_14 == 0) { -lean_object* x_16; uint8_t x_17; -x_16 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__10; -x_17 = lean_name_eq(x_9, x_16); -if (x_17 == 0) +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__8; +x_16 = lean_name_eq(x_10, x_15); +if (x_16 == 0) { -lean_object* x_18; uint8_t x_19; -x_18 = l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__5; -x_19 = lean_name_eq(x_9, x_18); -if (x_19 == 0) +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__10; +x_18 = lean_name_eq(x_10, x_17); +if (x_18 == 0) { -lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__12; -x_21 = lean_name_eq(x_9, x_20); -if (x_21 == 0) +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__5; +x_20 = lean_name_eq(x_10, x_19); +if (x_20 == 0) { -lean_object* x_22; uint8_t x_23; -x_22 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__14; -x_23 = lean_name_eq(x_9, x_22); -if (x_23 == 0) +lean_object* x_21; uint8_t x_22; +x_21 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__12; +x_22 = lean_name_eq(x_10, x_21); +if (x_22 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__15; -x_25 = lean_name_eq(x_9, x_24); -if (x_25 == 0) +lean_object* x_23; uint8_t x_24; +x_23 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__14; +x_24 = lean_name_eq(x_10, x_23); +if (x_24 == 0) { -lean_object* x_26; uint8_t x_27; -x_26 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__16; -x_27 = lean_name_eq(x_9, x_26); -if (x_27 == 0) +lean_object* x_25; uint8_t x_26; +x_25 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__15; +x_26 = lean_name_eq(x_10, x_25); +if (x_26 == 0) { -lean_object* x_28; uint8_t x_29; -x_28 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__18; -x_29 = lean_name_eq(x_9, x_28); -if (x_29 == 0) +lean_object* x_27; uint8_t x_28; +x_27 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__16; +x_28 = lean_name_eq(x_10, x_27); +if (x_28 == 0) { -lean_object* x_30; uint8_t x_31; -x_30 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__20; -x_31 = lean_name_eq(x_9, x_30); -if (x_31 == 0) +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__18; +x_30 = lean_name_eq(x_10, x_29); +if (x_30 == 0) { -lean_object* x_32; uint8_t x_33; -x_32 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__21; -x_33 = lean_name_eq(x_9, x_32); -if (x_33 == 0) +lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__20; +x_32 = lean_name_eq(x_10, x_31); +if (x_32 == 0) { -lean_object* x_34; uint8_t x_35; -x_34 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__22; -x_35 = lean_name_eq(x_9, x_34); -if (x_35 == 0) +lean_object* x_33; uint8_t x_34; +x_33 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__21; +x_34 = lean_name_eq(x_10, x_33); +if (x_34 == 0) { -lean_object* x_36; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_9); -x_36 = l_Lean_Compiler_LCNF_getCasesInfo_x3f(x_9, x_5, x_6, x_7); -if (lean_obj_tag(x_36) == 0) +lean_object* x_35; uint8_t x_36; +x_35 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__22; +x_36 = lean_name_eq(x_10, x_35); +if (x_36 == 0) { lean_object* x_37; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_10); +x_37 = l_Lean_Compiler_LCNF_getCasesInfo_x3f(x_10, x_5, x_6, x_7); if (lean_obj_tag(x_37) == 0) { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_36, 1); +lean_object* x_38; +x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); -lean_dec(x_36); -lean_inc(x_9); -x_39 = l_Lean_Compiler_LCNF_getCtorArity_x3f(x_9, x_5, x_6, x_38); -if (lean_obj_tag(x_39) == 0) +if (lean_obj_tag(x_38) == 0) { -lean_object* x_40; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +lean_inc(x_10); +x_40 = l_Lean_Compiler_LCNF_getCtorArity_x3f(x_10, x_5, x_6, x_39); if (lean_obj_tag(x_40) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_41 = lean_ctor_get(x_39, 1); +lean_object* x_41; +x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_st_ref_get(x_6, x_41); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_st_ref_get(x_6, x_42); +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_43, 0); +x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); lean_dec(x_43); -x_46 = l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__1; -lean_inc(x_9); -x_47 = l_Lean_TagDeclarationExtension_isTagged(x_46, x_45, x_9); -if (x_47 == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__3(x_9, x_2, x_3, x_4, x_5, x_6, x_44); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -if (lean_obj_tag(x_49) == 0) +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__1; +lean_inc(x_10); +x_48 = l_Lean_TagDeclarationExtension_isTagged(x_47, x_46, x_10); +if (x_48 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_50 = lean_ctor_get(x_48, 1); +lean_object* x_49; lean_object* x_50; +x_49 = l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__3(x_10, x_2, x_3, x_4, x_5, x_6, x_45); +x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_unsigned_to_nat(0u); -x_52 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_51); -x_53 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__1; -lean_inc(x_52); -x_54 = lean_mk_array(x_52, x_53); -x_55 = lean_unsigned_to_nat(1u); -x_56 = lean_nat_sub(x_52, x_55); -lean_dec(x_52); -x_57 = l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__4(x_1, x_54, x_56, x_2, x_3, x_4, x_5, x_6, x_50); -return x_57; +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_unsigned_to_nat(0u); +x_53 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_52); +x_54 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__1; +lean_inc(x_53); +x_55 = lean_mk_array(x_53, x_54); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_sub(x_53, x_56); +lean_dec(x_53); +x_58 = l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__4(x_1, x_55, x_57, x_2, x_3, x_4, x_5, x_6, x_51); +return x_58; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_48, 1); -lean_inc(x_58); -lean_dec(x_48); -x_59 = lean_ctor_get(x_49, 0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_49, 1); lean_inc(x_59); lean_dec(x_49); -x_60 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(x_59, x_1, x_2, x_3, x_4, x_5, x_6, x_58); -return x_60; +x_60 = lean_ctor_get(x_50, 0); +lean_inc(x_60); +lean_dec(x_50); +x_61 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(x_60, x_1, x_2, x_3, x_4, x_5, x_6, x_59); +return x_61; } } else { -lean_object* x_61; -lean_dec(x_9); -x_61 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(x_1, x_2, x_3, x_4, x_5, x_6, x_44); -return x_61; +lean_object* x_62; +lean_dec(x_10); +x_62 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(x_1, x_2, x_3, x_4, x_5, x_6, x_45); +return x_62; } } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -lean_dec(x_9); -x_62 = lean_ctor_get(x_39, 1); -lean_inc(x_62); -lean_dec(x_39); -x_63 = lean_ctor_get(x_40, 0); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_10); +x_63 = lean_ctor_get(x_40, 1); lean_inc(x_63); lean_dec(x_40); -x_64 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(x_63, x_1, x_2, x_3, x_4, x_5, x_6, x_62); -return x_64; +x_64 = lean_ctor_get(x_41, 0); +lean_inc(x_64); +lean_dec(x_41); +x_65 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(x_64, x_1, x_2, x_3, x_4, x_5, x_6, x_63); +return x_65; } } else { -uint8_t x_65; -lean_dec(x_9); +uint8_t x_66; +lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_65 = !lean_is_exclusive(x_39); -if (x_65 == 0) +x_66 = !lean_is_exclusive(x_40); +if (x_66 == 0) { -return x_39; +return x_40; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_39, 0); -x_67 = lean_ctor_get(x_39, 1); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_40, 0); +x_68 = lean_ctor_get(x_40, 1); +lean_inc(x_68); lean_inc(x_67); -lean_inc(x_66); -lean_dec(x_39); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +lean_dec(x_40); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -lean_dec(x_9); -x_69 = lean_ctor_get(x_36, 1); -lean_inc(x_69); -lean_dec(x_36); -x_70 = lean_ctor_get(x_37, 0); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_10); +x_70 = lean_ctor_get(x_37, 1); lean_inc(x_70); lean_dec(x_37); -x_71 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(x_70, x_1, x_2, x_3, x_4, x_5, x_6, x_69); -return x_71; +x_71 = lean_ctor_get(x_38, 0); +lean_inc(x_71); +lean_dec(x_38); +x_72 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(x_71, x_1, x_2, x_3, x_4, x_5, x_6, x_70); +return x_72; } } else { -uint8_t x_72; -lean_dec(x_9); +uint8_t x_73; +lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_36); -if (x_72 == 0) +x_73 = !lean_is_exclusive(x_37); +if (x_73 == 0) { -return x_36; +return x_37; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_36, 0); -x_74 = lean_ctor_get(x_36, 1); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_37, 0); +x_75 = lean_ctor_get(x_37, 1); +lean_inc(x_75); lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_36); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -} -else -{ -lean_object* x_76; -lean_dec(x_9); -x_76 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_37); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); return x_76; } } +} else { lean_object* x_77; -lean_dec(x_9); +lean_dec(x_10); x_77 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_77; } @@ -14551,7 +14500,7 @@ return x_77; else { lean_object* x_78; -lean_dec(x_9); +lean_dec(x_10); x_78 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_78; } @@ -14559,59 +14508,59 @@ return x_78; else { lean_object* x_79; -lean_dec(x_9); +lean_dec(x_10); x_79 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_79; } } else { -lean_object* x_80; lean_object* x_81; -lean_dec(x_9); -x_80 = lean_unsigned_to_nat(4u); -x_81 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(x_1, x_80, x_2, x_3, x_4, x_5, x_6, x_7); -return x_81; +lean_object* x_80; +lean_dec(x_10); +x_80 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_80; } } else { -lean_object* x_82; lean_object* x_83; -lean_dec(x_9); -x_82 = lean_unsigned_to_nat(4u); -x_83 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(x_1, x_82, x_2, x_3, x_4, x_5, x_6, x_7); -return x_83; +lean_object* x_81; lean_object* x_82; +lean_dec(x_10); +x_81 = lean_unsigned_to_nat(4u); +x_82 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(x_1, x_81, x_2, x_3, x_4, x_5, x_6, x_7); +return x_82; } } else { -lean_object* x_84; lean_object* x_85; -lean_dec(x_9); -x_84 = lean_unsigned_to_nat(3u); -x_85 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(x_1, x_84, x_2, x_3, x_4, x_5, x_6, x_7); -return x_85; +lean_object* x_83; lean_object* x_84; +lean_dec(x_10); +x_83 = lean_unsigned_to_nat(4u); +x_84 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(x_1, x_83, x_2, x_3, x_4, x_5, x_6, x_7); +return x_84; } } else { -lean_object* x_86; lean_object* x_87; -lean_dec(x_9); -x_86 = lean_unsigned_to_nat(3u); -x_87 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(x_1, x_86, x_2, x_3, x_4, x_5, x_6, x_7); -return x_87; +lean_object* x_85; lean_object* x_86; +lean_dec(x_10); +x_85 = lean_unsigned_to_nat(3u); +x_86 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(x_1, x_85, x_2, x_3, x_4, x_5, x_6, x_7); +return x_86; } } else { -lean_object* x_88; -lean_dec(x_9); -x_88 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_87; lean_object* x_88; +lean_dec(x_10); +x_87 = lean_unsigned_to_nat(3u); +x_88 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(x_1, x_87, x_2, x_3, x_4, x_5, x_6, x_7); return x_88; } } else { lean_object* x_89; -lean_dec(x_9); +lean_dec(x_10); x_89 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_89; } @@ -14619,42 +14568,79 @@ return x_89; else { lean_object* x_90; -lean_dec(x_9); +lean_dec(x_10); x_90 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_90; } } else { -lean_object* x_91; lean_object* x_92; -lean_dec(x_9); -x_91 = lean_unsigned_to_nat(3u); -x_92 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(x_91, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_92; +lean_object* x_91; +lean_dec(x_10); +x_91 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_91; } } else { -lean_object* x_93; -lean_dec(x_9); -x_93 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_92; lean_object* x_93; +lean_dec(x_10); +x_92 = lean_unsigned_to_nat(3u); +x_93 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(x_92, x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_93; } } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_object* x_94; +lean_dec(x_10); +x_94 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_94; +} +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_9); +x_95 = lean_unsigned_to_nat(0u); +x_96 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_95); +x_97 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__1; +lean_inc(x_96); +x_98 = lean_mk_array(x_96, x_97); +x_99 = lean_unsigned_to_nat(1u); +x_100 = lean_nat_sub(x_96, x_99); +lean_dec(x_96); +x_101 = l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2(x_1, x_98, x_100, x_2, x_3, x_4, x_5, x_6, x_7); +return x_101; +} +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_1); +x_102 = lean_ctor_get(x_8, 0); +lean_inc(x_102); lean_dec(x_8); -x_94 = lean_unsigned_to_nat(0u); -x_95 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_94); -x_96 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__1; -lean_inc(x_95); -x_97 = lean_mk_array(x_95, x_96); -x_98 = lean_unsigned_to_nat(1u); -x_99 = lean_nat_sub(x_95, x_98); -lean_dec(x_95); -x_100 = l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2(x_1, x_97, x_99, x_2, x_3, x_4, x_5, x_6, x_7); -return x_100; +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +x_105 = lean_ctor_get(x_102, 0); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_ctor_get(x_103, 0); +lean_inc(x_106); +lean_dec(x_103); +x_107 = lean_ctor_get(x_104, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_104, 1); +lean_inc(x_108); +lean_dec(x_104); +x_109 = 1; +x_110 = l_Lean_Expr_letE___override(x_105, x_106, x_107, x_108, x_109); +x_111 = l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__1; +x_112 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(x_110, x_111, x_2, x_3, x_4, x_5, x_6, x_7); +return x_112; } } } @@ -22153,6 +22139,15 @@ lean_dec(x_3); return x_9; } } +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(x_1); +lean_dec(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { diff --git a/stage0/stdlib/Lean/Data/JsonRpc.c b/stage0/stdlib/Lean/Data/JsonRpc.c index 5b7f20d3eec2..50cfbcad9298 100644 --- a/stage0/stdlib/Lean/Data/JsonRpc.c +++ b/stage0/stdlib/Lean/Data/JsonRpc.c @@ -99,7 +99,6 @@ static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__9; static lean_object* l_Lean_JsonRpc_instFromJsonRequestID___closed__2; static lean_object* l_Lean_JsonRpc_instBEqErrorCode___closed__1; static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__3; -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_JsonRpc_instFromJsonErrorCode___closed__6; LEAN_EXPORT lean_object* l_Lean_JsonRpc_instInhabitedNotification___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2___boxed(lean_object*, lean_object*); @@ -112,6 +111,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___s static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__10; static lean_object* l_IO_FS_Stream_readNotificationAs___closed__1; static lean_object* l_Lean_JsonRpc_instToStringRequestID___closed__2; +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_JsonRpc_instToJsonMessage___closed__9; static lean_object* l_Lean_JsonRpc_instToJsonErrorCode___closed__28; @@ -2313,7 +2313,7 @@ return x_20; else { lean_object* x_21; -x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____rarg(x_1, x_7, x_11); +x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____rarg(x_1, x_7, x_11); return x_21; } } diff --git a/stage0/stdlib/Lean/Data/KVMap.c b/stage0/stdlib/Lean/Data/KVMap.c index 2cd8eea336d5..d0444722ed26 100644 --- a/stage0/stdlib/Lean/Data/KVMap.c +++ b/stage0/stdlib/Lean/Data/KVMap.c @@ -30,6 +30,7 @@ LEAN_EXPORT lean_object* l_Lean_DataValue_getBoolEx___boxed(lean_object*); static lean_object* l___private_Lean_Data_KVMap_0__Lean_reprDataValue____x40_Lean_Data_KVMap___hyg_307____closed__14; LEAN_EXPORT lean_object* l_Lean_KVMap_subset___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_KVMap_0__Lean_reprDataValue____x40_Lean_Data_KVMap___hyg_307____closed__10; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_KVMap_mergeBy___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Data_KVMap_0__Lean_reprDataValue____x40_Lean_Data_KVMap___hyg_307____closed__34; LEAN_EXPORT uint8_t l_Lean_KVMap_subsetAux(lean_object*, lean_object*); static lean_object* l_Lean_KVMap_instValueNat___closed__1; @@ -231,6 +232,7 @@ uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); static lean_object* l_List_repr___at___private_Lean_Data_KVMap_0__Lean_reprKVMap____x40_Lean_Data_KVMap___hyg_1034____spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_KVMap_instValueString___lambda__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_KVMap_mergeBy(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instCoeBoolDataValue(uint8_t); LEAN_EXPORT lean_object* l_Lean_KVMap_instBEqKVMap; uint8_t lean_int_dec_eq(lean_object*, lean_object*); @@ -3106,6 +3108,61 @@ x_4 = lean_box(x_3); return x_4; } } +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_KVMap_mergeBy___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_dec(x_1); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +lean_dec(x_4); +x_8 = l_Lean_KVMap_findCore(x_3, x_6); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +x_9 = l_Lean_KVMap_insertCore(x_3, x_6, x_7); +x_2 = x_5; +x_3 = x_9; +goto _start; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +lean_inc(x_1); +lean_inc(x_6); +x_12 = lean_apply_3(x_1, x_6, x_11, x_7); +x_13 = l_Lean_KVMap_insertCore(x_3, x_6, x_12); +x_2 = x_5; +x_3 = x_13; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_KVMap_mergeBy(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_forIn_loop___at_Lean_KVMap_mergeBy___spec__1(x_1, x_3, x_2); +return x_4; +} +} LEAN_EXPORT uint8_t l_Lean_KVMap_eqv(lean_object* x_1, lean_object* x_2) { _start: { diff --git a/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c b/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c index c22319ce8b74..5e332f259aff 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c +++ b/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c @@ -16,10 +16,10 @@ extern "C" { LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__2(lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_fromNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_PublishDiagnosticsParams_version_x3f___default; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__19; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__4; lean_object* l_List_join___rarg(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticTag____x40_Lean_Data_Lsp_Diagnostics___hyg_506_(uint8_t, uint8_t); static lean_object* l_Lean_Lsp_instInhabitedDiagnosticCode___closed__1; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__15; @@ -28,35 +28,33 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJ lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081____closed__12; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1279____rarg___closed__6; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081____closed__4; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1986____closed__1; LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticWith(lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___closed__4; lean_object* l_Lean_Json_mkObj(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion___rarg___closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_2082____spec__1(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(lean_object*, lean_object*); static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__1___closed__7; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081____spec__4(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_relatedInformation_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__38; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__3; static lean_object* l_Lean_Lsp_instBEqDiagnosticRelatedInformation___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081____closed__15; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__17; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_817____closed__7; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__1; @@ -65,7 +63,9 @@ LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0_ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticCode(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__14; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedPublishDiagnosticsParams; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__5(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -98,6 +98,7 @@ static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiag static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_817____closed__14; LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticTag_noConfusion___rarg(uint8_t, uint8_t, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__13; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1279____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Data_Json_Basic_0__Lean_Json_beq_x27(lean_object*, lean_object*); @@ -105,7 +106,6 @@ static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Dia LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___rarg___boxed(lean_object*); static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081_(lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___closed__1; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__18; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__4___boxed(lean_object*, lean_object*, lean_object*); @@ -139,9 +139,9 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonPublishDiagnosticsParams; LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedDiagnosticWith(lean_object*); lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instBEqDiagnosticCode___closed__1; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion___rarg(uint8_t, uint8_t, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__34; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__1(lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; @@ -184,10 +184,8 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Ls static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_817____closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqDiagnosticWith(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_817____closed__15; -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instBEqDiagnosticSeverity___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__9; @@ -210,6 +208,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Ls static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081____closed__13; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__44; static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__1___closed__1; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081____closed__11; static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__4; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1279____rarg___closed__1; @@ -224,6 +223,7 @@ static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiag LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticTag___boxed(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_251_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticTag_toCtorIdx(uint8_t); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1314____spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081____closed__17; @@ -245,12 +245,10 @@ static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDi static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__33; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticWith___rarg(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1986____spec__3(size_t, size_t, lean_object*); static lean_object* l_Lean_Lsp_instBEqDiagnosticTag___closed__1; static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__2; uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqLocation____x40_Lean_Data_Lsp_Basic___hyg_1168_(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_866_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticTag(uint8_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticCode(lean_object*); @@ -262,7 +260,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Dia LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____spec__3___closed__1; LEAN_EXPORT uint8_t l_Lean_Lsp_instInhabitedDiagnosticSeverity; -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__28; lean_object* l_Lean_Json_getNat_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_251____boxed(lean_object*, lean_object*); @@ -300,9 +298,11 @@ static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDi LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_source_x3f___default; lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__4; +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1279____rarg(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticTag_noConfusion(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_2081____closed__7; @@ -318,10 +318,10 @@ lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_817____closed__9; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__2___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__27; -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__6; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__30; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticRelatedInformation___closed__1; static lean_object* l_Lean_Lsp_instToJsonDiagnosticRelatedInformation___closed__1; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1386____rarg___closed__23; @@ -1848,7 +1848,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_instInhabitedDiagnosticWith___rarg), return x_2; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1885,7 +1885,7 @@ return x_8; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1932,7 +1932,7 @@ return x_10; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2013,7 +2013,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2113,7 +2113,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2171,7 +2171,7 @@ return x_13; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2279,7 +2279,7 @@ return x_23; else { uint8_t x_24; -x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(x_5, x_14); +x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(x_5, x_14); lean_dec(x_14); lean_dec(x_5); if (x_24 == 0) @@ -2306,7 +2306,7 @@ return x_25; else { uint8_t x_26; -x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(x_6, x_15); +x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(x_6, x_15); if (x_26 == 0) { uint8_t x_27; @@ -2329,7 +2329,7 @@ return x_27; else { uint8_t x_28; -x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(x_7, x_16); +x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(x_7, x_16); lean_dec(x_16); lean_dec(x_7); if (x_28 == 0) @@ -2352,7 +2352,7 @@ return x_29; else { uint8_t x_30; -x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1(x_8, x_17); +x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(x_8, x_17); lean_dec(x_17); lean_dec(x_8); if (x_30 == 0) @@ -2391,7 +2391,7 @@ return x_34; else { uint8_t x_35; -x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(x_10, x_19); +x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(x_10, x_19); lean_dec(x_19); if (x_35 == 0) { @@ -2406,7 +2406,7 @@ return x_36; else { uint8_t x_37; -x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(x_11, x_20); +x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(x_11, x_20); lean_dec(x_20); if (x_37 == 0) { @@ -2419,7 +2419,7 @@ return x_38; else { uint8_t x_39; -x_39 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(x_12, x_21); +x_39 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(x_12, x_21); lean_dec(x_21); lean_dec(x_12); return x_39; @@ -2441,31 +2441,31 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_L return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(x_1, x_2); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2485,11 +2485,11 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; @@ -2508,21 +2508,21 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -4746,7 +4746,7 @@ x_1 = l_Lean_Lsp_instInhabitedPublishDiagnosticsParams___closed__2; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -4853,7 +4853,7 @@ return x_22; else { uint8_t x_23; -x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(x_4, x_13); +x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__1(x_4, x_13); lean_dec(x_13); lean_dec(x_4); if (x_23 == 0) @@ -4879,7 +4879,7 @@ return x_24; else { uint8_t x_25; -x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(x_5, x_14); +x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__2(x_5, x_14); if (x_25 == 0) { uint8_t x_26; @@ -4901,7 +4901,7 @@ return x_26; else { uint8_t x_27; -x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(x_6, x_15); +x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__3(x_6, x_15); lean_dec(x_15); lean_dec(x_6); if (x_27 == 0) @@ -4923,7 +4923,7 @@ return x_28; else { uint8_t x_29; -x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1(x_7, x_16); +x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(x_7, x_16); lean_dec(x_16); lean_dec(x_7); if (x_29 == 0) @@ -4961,7 +4961,7 @@ return x_32; else { uint8_t x_33; -x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(x_9, x_18); +x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__4(x_9, x_18); lean_dec(x_18); if (x_33 == 0) { @@ -4976,7 +4976,7 @@ return x_34; else { uint8_t x_35; -x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(x_10, x_19); +x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__6(x_10, x_19); lean_dec(x_19); if (x_35 == 0) { @@ -4989,7 +4989,7 @@ return x_36; else { uint8_t x_37; -x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(x_11, x_20); +x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1055____spec__8(x_11, x_20); lean_dec(x_20); lean_dec(x_11); return x_37; @@ -5077,7 +5077,7 @@ return x_10; else { uint8_t x_11; -x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1(x_4, x_7); +x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1(x_4, x_7); lean_dec(x_7); lean_dec(x_4); if (x_11 == 0) @@ -5117,11 +5117,11 @@ return x_18; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1835____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); diff --git a/stage0/stdlib/Lean/Data/NameTrie.c b/stage0/stdlib/Lean/Data/NameTrie.c index 677d3dee98ac..6fcc1f261b2c 100644 --- a/stage0/stdlib/Lean/Data/NameTrie.c +++ b/stage0/stdlib/Lean/Data/NameTrie.c @@ -14,17 +14,29 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_foldMatchingM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_NameTrie_toArray___spec__3___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_NameTrie_matchingToArray___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_NameTrie_matchingToArray___rarg___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_NameTrie_toArray___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_NameTrie_toArray(lean_object*); lean_object* l_Lean_PrefixTreeNode_empty(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instEmptyCollectionNameTrie(lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedNameTrie(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_toArray___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instToStringNamePart(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_NameTrie_0__Lean_toKey_loop___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_NameTrie_matchingToArray___spec__3___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_NameTrie_matchingToArray___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Data_NameTrie_0__Lean_toKey(lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_forM(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_forM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_NameTrie_matchingToArray(lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_forMatchingM(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_matchingToArray___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_find_x3f___rarg(lean_object*, lean_object*); lean_object* l_Lean_PrefixTreeNode_insert_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_foldMatchingM___spec__1(lean_object*, lean_object*, lean_object*); @@ -34,30 +46,41 @@ LEAN_EXPORT lean_object* l_Lean_NameTrie_forMatchingM___rarg___lambda__1(lean_ob LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_forM___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_foldM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_NamePart_cmp___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_matchingToArray___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_NameTrie_insert___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_NameTrie_foldM(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_NameTrie_matchingToArray___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_empty(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_matchingToArray___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_NameTrie_empty___closed__1; LEAN_EXPORT lean_object* l_Lean_NameTrie_foldMatchingM(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_insert___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_matchingToArray___spec__2___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_toArray___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_forMatchingM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_find_x3f___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_RBNode_find___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_toArray___spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_NameTrie_toArray___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_NamePart_lt___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_NamePart_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_toArray___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_NameTrie_foldM___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_NameTrie_find_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_insert(lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_foldMatchingM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_NameTrie_0__Lean_toKey___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_NameTrie_matchingToArray___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_forMatchingM___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_foldM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_toArray___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrefixTreeNode_find_x3f_loop___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_NamePart_cmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_forM___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_matchingToArray___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_forMatchingM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_NameTrie_0__Lean_toKey_loop(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_NameTrie_insert___rarg(lean_object*, lean_object*, lean_object*); @@ -742,6 +765,344 @@ x_3 = lean_alloc_closure((void*)(l_Lean_NameTrie_forM___rarg), 3, 0); return x_3; } } +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_NameTrie_matchingToArray___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 3); +lean_inc(x_6); +lean_dec(x_3); +lean_inc(x_1); +x_7 = l_Lean_RBNode_foldM___at_Lean_NameTrie_matchingToArray___spec__3___rarg(x_1, x_2, x_4); +lean_inc(x_1); +x_8 = l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_matchingToArray___spec__2___rarg(x_1, x_5, x_7); +x_2 = x_8; +x_3 = x_6; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_NameTrie_matchingToArray___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_foldM___at_Lean_NameTrie_matchingToArray___spec__3___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_matchingToArray___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_RBNode_foldM___at_Lean_NameTrie_matchingToArray___spec__3___rarg(x_1, x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_matchingToArray___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l_Lean_RBNode_foldM___at_Lean_NameTrie_matchingToArray___spec__3___rarg(x_1, x_3, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +lean_dec(x_4); +lean_inc(x_1); +x_9 = lean_apply_2(x_1, x_8, x_3); +x_10 = l_Lean_RBNode_foldM___at_Lean_NameTrie_matchingToArray___spec__3___rarg(x_1, x_9, x_7); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_matchingToArray___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_matchingToArray___spec__2___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_matchingToArray___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_matchingToArray___spec__2___rarg(x_3, x_5, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +lean_inc(x_1); +x_11 = l_Lean_RBNode_find___rarg(x_1, lean_box(0), x_10, x_8); +if (lean_obj_tag(x_11) == 0) +{ +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_4 = x_9; +x_5 = x_12; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_matchingToArray___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_matchingToArray___spec__1___rarg), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_NameTrie_matchingToArray___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_NameTrie_matchingToArray___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_NameTrie_matchingToArray___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_NameTrie_matchingToArray___rarg___lambda__1), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_NameTrie_matchingToArray___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_3 = l___private_Lean_Data_NameTrie_0__Lean_toKey(x_2); +lean_dec(x_2); +x_4 = l_Lean_NameTrie_insert___rarg___closed__1; +x_5 = l_Lean_NameTrie_matchingToArray___rarg___closed__1; +x_6 = l_Lean_NameTrie_matchingToArray___rarg___closed__2; +x_7 = l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_matchingToArray___spec__1___rarg(x_4, x_5, x_6, x_3, x_1, x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_NameTrie_matchingToArray(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_NameTrie_matchingToArray___rarg), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_NameTrie_toArray___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 3); +lean_inc(x_6); +lean_dec(x_3); +lean_inc(x_1); +x_7 = l_Lean_RBNode_foldM___at_Lean_NameTrie_toArray___spec__3___rarg(x_1, x_2, x_4); +lean_inc(x_1); +x_8 = l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_toArray___spec__2___rarg(x_1, x_5, x_7); +x_2 = x_8; +x_3 = x_6; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_NameTrie_toArray___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_foldM___at_Lean_NameTrie_toArray___spec__3___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_toArray___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_RBNode_foldM___at_Lean_NameTrie_toArray___spec__3___rarg(x_1, x_3, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_toArray___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l_Lean_RBNode_foldM___at_Lean_NameTrie_toArray___spec__3___rarg(x_1, x_3, x_5); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +lean_dec(x_2); +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +lean_dec(x_4); +lean_inc(x_1); +x_9 = lean_apply_2(x_1, x_8, x_3); +x_10 = l_Lean_RBNode_foldM___at_Lean_NameTrie_toArray___spec__3___rarg(x_1, x_9, x_7); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_toArray___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_toArray___spec__2___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_toArray___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_PrefixTreeNode_foldMatchingM_fold___at_Lean_NameTrie_toArray___spec__2___rarg(x_3, x_5, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +lean_inc(x_1); +x_11 = l_Lean_RBNode_find___rarg(x_1, lean_box(0), x_10, x_8); +if (lean_obj_tag(x_11) == 0) +{ +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_4 = x_9; +x_5 = x_12; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_toArray___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_toArray___spec__1___rarg), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_NameTrie_toArray___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_NameTrie_insert___rarg___closed__1; +x_3 = l_Lean_NameTrie_matchingToArray___rarg___closed__1; +x_4 = l_Lean_NameTrie_matchingToArray___rarg___closed__2; +x_5 = l_Lean_NameTrie_foldM___rarg___closed__1; +x_6 = l_Lean_PrefixTreeNode_foldMatchingM_find___at_Lean_NameTrie_toArray___spec__1___rarg(x_2, x_3, x_4, x_5, x_1, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_NameTrie_toArray(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_NameTrie_toArray___rarg), 1, 0); +return x_2; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_PrefixTree(uint8_t builtin, lean_object*); static bool _G_initialized = false; @@ -761,6 +1122,10 @@ l_Lean_NameTrie_empty___closed__1 = _init_l_Lean_NameTrie_empty___closed__1(); lean_mark_persistent(l_Lean_NameTrie_empty___closed__1); l_Lean_NameTrie_foldM___rarg___closed__1 = _init_l_Lean_NameTrie_foldM___rarg___closed__1(); lean_mark_persistent(l_Lean_NameTrie_foldM___rarg___closed__1); +l_Lean_NameTrie_matchingToArray___rarg___closed__1 = _init_l_Lean_NameTrie_matchingToArray___rarg___closed__1(); +lean_mark_persistent(l_Lean_NameTrie_matchingToArray___rarg___closed__1); +l_Lean_NameTrie_matchingToArray___rarg___closed__2 = _init_l_Lean_NameTrie_matchingToArray___rarg___closed__2(); +lean_mark_persistent(l_Lean_NameTrie_matchingToArray___rarg___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Data/Position.c b/stage0/stdlib/Lean/Data/Position.c index 10ff03210efc..abf914e83960 100644 --- a/stage0/stdlib/Lean/Data/Position.c +++ b/stage0/stdlib/Lean/Data/Position.c @@ -21,28 +21,22 @@ uint32_t lean_string_utf8_get(lean_object*, lean_object*); static lean_object* l_Lean_FileMap_ofString___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__1; -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__16; static lean_object* l_Lean_Position_instToFormatPosition___closed__2; LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__14; static lean_object* l_Lean_Position_lt___closed__2; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__15; lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__8; static lean_object* l_Lean_Position_instToExprPosition___closed__2; lean_object* l_Prod_lexLtDec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_FileMap_ofString___closed__2; lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Position_instToFormatPosition___closed__3; LEAN_EXPORT uint8_t l_Lean_instDecidableEqPosition(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__9; static lean_object* l_Lean_instInhabitedFileMap___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__7; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__17; LEAN_EXPORT lean_object* l_Lean_instDecidableEqPosition___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__13; -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__5; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__7; extern lean_object* l_instInhabitedNat; LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_toColumn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedFileMap___closed__1; @@ -52,56 +46,59 @@ lean_object* lean_string_utf8_next(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Position_instToExprPosition___lambda__1(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Position_instToStringPosition(lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__15; static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__4; lean_object* lean_nat_to_int(lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_toColumn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Position_lt___closed__1; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__5; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__8; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__16; static lean_object* l_Lean_Position_instToExprPosition___closed__4; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__2; static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__1; static lean_object* l_Lean_Position_instToFormatPosition___closed__4; LEAN_EXPORT lean_object* l_Lean_FileMap_ofString(lean_object*); static lean_object* l_Lean_instInhabitedFileMap___closed__2; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedFileMap; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__11; LEAN_EXPORT lean_object* l_Lean_instReprPosition; LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__4; LEAN_EXPORT lean_object* l_Lean_Position_lt___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__5; -LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__10; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__10; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__4; static lean_object* l_Lean_instInhabitedPosition___closed__1; static lean_object* l_Lean_Position_instToExprPosition___closed__3; static lean_object* l_Lean_instReprPosition___closed__1; -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__18; extern lean_object* l_instInhabitedPos; LEAN_EXPORT lean_object* l_Lean_Position_instToExprPosition; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__3; LEAN_EXPORT lean_object* l_String_toFileMap(lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__3; LEAN_EXPORT uint8_t l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_34_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__1; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__14; lean_object* lean_string_length(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__12; LEAN_EXPORT lean_object* l_Lean_Position_instToFormatPosition(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Lean_Position_instToFormatPosition___closed__5; LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedPosition; static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__2; -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__6; -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__12; lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__18; static lean_object* l_Lean_FileMap_ofString___closed__3; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__9; lean_object* l_Nat_decEq___boxed(lean_object*, lean_object*); lean_object* l_Array_back___rarg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__11; static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__6; -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__17; +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__6; static lean_object* l_Lean_Position_instToFormatPosition___closed__1; -static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__2; LEAN_EXPORT lean_object* l_Lean_Position_lt(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -109,8 +106,11 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_34____boxed(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__13; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185_(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Position_instToExprPosition___closed__1; LEAN_EXPORT lean_object* l_Lean_FileMap_ofString_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -186,7 +186,7 @@ x_4 = lean_box(x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__1() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__1() { _start: { lean_object* x_1; @@ -194,29 +194,29 @@ x_1 = lean_mk_string_from_bytes("line", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__2() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__1; +x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__3() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__2; +x_2 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__2; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__4() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__4() { _start: { lean_object* x_1; @@ -224,29 +224,29 @@ x_1 = lean_mk_string_from_bytes(" := ", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__5() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__4; +x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__4; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__6() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__3; -x_2 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__5; +x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__3; +x_2 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__5; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__7() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -255,7 +255,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__8() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__8() { _start: { lean_object* x_1; @@ -263,17 +263,17 @@ x_1 = lean_mk_string_from_bytes(",", 1); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__9() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__8; +x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__8; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__10() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__10() { _start: { lean_object* x_1; @@ -281,17 +281,17 @@ x_1 = lean_mk_string_from_bytes("column", 6); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__11() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__10; +x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__10; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__12() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -300,7 +300,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__13() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__13() { _start: { lean_object* x_1; @@ -308,35 +308,35 @@ x_1 = lean_mk_string_from_bytes("{ ", 2); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__14() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__13; +x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__13; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__15() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__14; +x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__14; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__16() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__13; +x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__13; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__17() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__17() { _start: { lean_object* x_1; @@ -344,17 +344,17 @@ x_1 = lean_mk_string_from_bytes(" }", 2); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__18() { +static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__17; +x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__17; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; @@ -363,7 +363,7 @@ lean_inc(x_3); x_4 = l_Nat_repr(x_3); x_5 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__7; +x_6 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__7; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -371,11 +371,11 @@ x_8 = 0; x_9 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_9, 0, x_7); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8); -x_10 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__6; +x_10 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__6; x_11 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__9; +x_12 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__9; x_13 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -383,11 +383,11 @@ x_14 = lean_box(1); x_15 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__11; +x_16 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__11; x_17 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__5; +x_18 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__5; x_19 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -397,7 +397,7 @@ lean_dec(x_1); x_21 = l_Nat_repr(x_20); x_22 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_22, 0, x_21); -x_23 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__12; +x_23 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__12; x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -407,15 +407,15 @@ lean_ctor_set_uint8(x_25, sizeof(void*)*1, x_8); x_26 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_26, 0, x_19); lean_ctor_set(x_26, 1, x_25); -x_27 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__16; +x_27 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__16; x_28 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); -x_29 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__18; +x_29 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__18; x_30 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); -x_31 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__15; +x_31 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__15; x_32 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -425,11 +425,11 @@ lean_ctor_set_uint8(x_33, sizeof(void*)*1, x_8); return x_33; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177_(x_1, x_2); +x_3 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -438,7 +438,7 @@ static lean_object* _init_l_Lean_instReprPosition___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____boxed), 2, 0); return x_1; } } @@ -1172,42 +1172,42 @@ l_Lean_instInhabitedPosition___closed__1 = _init_l_Lean_instInhabitedPosition___ lean_mark_persistent(l_Lean_instInhabitedPosition___closed__1); l_Lean_instInhabitedPosition = _init_l_Lean_instInhabitedPosition(); lean_mark_persistent(l_Lean_instInhabitedPosition); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__1 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__1); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__2 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__2); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__3 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__3(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__3); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__4 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__4(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__4); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__5 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__5(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__5); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__6 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__6(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__6); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__7 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__7(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__7); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__8 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__8(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__8); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__9 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__9(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__9); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__10 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__10(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__10); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__11 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__11(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__11); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__12 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__12(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__12); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__13 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__13(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__13); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__14 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__14(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__14); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__15 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__15(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__15); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__16 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__16(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__16); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__17 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__17(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__17); -l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__18 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__18(); -lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177____closed__18); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__1 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__1); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__2 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__2); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__3 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__3); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__4 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__4(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__4); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__5 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__5(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__5); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__6 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__6(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__6); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__7 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__7(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__7); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__8 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__8(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__8); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__9 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__9(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__9); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__10 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__10(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__10); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__11 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__11(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__11); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__12 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__12(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__12); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__13 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__13(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__13); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__14 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__14(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__14); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__15 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__15(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__15); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__16 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__16(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__16); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__17 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__17(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__17); +l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__18 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__18(); +lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185____closed__18); l_Lean_instReprPosition___closed__1 = _init_l_Lean_instReprPosition___closed__1(); lean_mark_persistent(l_Lean_instReprPosition___closed__1); l_Lean_instReprPosition = _init_l_Lean_instReprPosition(); diff --git a/stage0/stdlib/Lean/DeclarationRange.c b/stage0/stdlib/Lean/DeclarationRange.c index 94071b15c443..9bd2daba1bdc 100644 --- a/stage0/stdlib/Lean/DeclarationRange.c +++ b/stage0/stdlib/Lean/DeclarationRange.c @@ -13,19 +13,23 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__11; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__23; static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__8; static lean_object* l_Lean_instToExprDeclarationRanges___lambda__1___closed__4; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__9; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__2; lean_object* l_Lean_mkNatLit(lean_object*); static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__3; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__20; lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instDecidableEqDeclarationRange___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__3; +static lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__24; static lean_object* l_Lean_instToExprDeclarationRange___closed__1; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__10; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__12; LEAN_EXPORT lean_object* l_Lean_declRangeExt; static lean_object* l_Lean_addDeclarationRanges___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___rarg(lean_object*, lean_object*, lean_object*); @@ -33,79 +37,72 @@ LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__4(lea static lean_object* l_Lean_instInhabitedDeclarationRange___closed__2; LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__9; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__6; static lean_object* l_Lean_instToExprDeclarationRanges___closed__2; LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instReprDeclarationRanges___closed__1; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__14; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__4; static lean_object* l_Lean_instToExprDeclarationRanges___lambda__1___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__6; LEAN_EXPORT lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__19; -lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177_(lean_object*, lean_object*); +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__7; LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToExprDeclarationRange___closed__2; -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645_(lean_object*); +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__4; static lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__4___closed__1; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__17; -LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges(lean_object*); +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__3; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__5; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__10; static lean_object* l_Lean_instToExprDeclarationRanges___lambda__1___closed__2; uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__7; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__18; static lean_object* l_Lean_addBuiltinDeclarationRanges___closed__1; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__20; static lean_object* l_Lean_instToExprDeclarationRanges___lambda__1___closed__3; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__17; LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f(lean_object*); +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__8; static lean_object* l_Lean_instToExprDeclarationRanges___closed__3; lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__21; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__8; +LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____boxed(lean_object*, lean_object*); uint8_t lean_is_aux_recursor(lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__6; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__12; LEAN_EXPORT lean_object* l_Lean_builtinDeclRanges; lean_object* l_Lean_Name_getPrefix(lean_object*); -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_593_(lean_object*); +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__1; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__15; lean_object* lean_st_ref_get(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__2; static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__7; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__3; static lean_object* l_Lean_instInhabitedDeclarationRange___closed__1; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__16; LEAN_EXPORT lean_object* l_Lean_instReprDeclarationRange; -static lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__1; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__21; lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__1; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__7; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__8; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__13; lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661_(lean_object*); static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__1; static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__9; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__22; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__24; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__5; LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__1(lean_object*); +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__19; LEAN_EXPORT lean_object* l_Lean_instToExprDeclarationRanges; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__15; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__5; LEAN_EXPORT uint8_t l___private_Lean_DeclarationRange_0__Lean_decEqDeclarationRange____x40_Lean_DeclarationRange___hyg_56_(lean_object*, lean_object*); uint8_t l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_34_(lean_object*, lean_object*); static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__5; static lean_object* l_Lean_instToExprDeclarationRanges___closed__4; lean_object* lean_string_length(lean_object*); +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__6; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprDeclarationRange___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__23; static lean_object* l_Lean_instToExprDeclarationRanges___closed__1; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__2; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__22; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__14; +static lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__2; LEAN_EXPORT lean_object* l_Lean_instReprDeclarationRanges; +LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____boxed(lean_object*, lean_object*); static lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__3___closed__1; static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__10; static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__4; @@ -114,35 +111,38 @@ lean_object* l_Lean_mkMapDeclarationExtension___rarg(lean_object*, lean_object*) LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_findDeclarationRanges_x3f___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_instToExprDeclarationRange___closed__3; LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f(lean_object*); +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__1; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__16; LEAN_EXPORT lean_object* l_Lean_instInhabitedDeclarationRanges; static lean_object* l_Lean_instInhabitedDeclarationRanges___closed__1; LEAN_EXPORT lean_object* l_Lean_instInhabitedDeclarationRange; +LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__2; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__3; LEAN_EXPORT uint8_t l_Lean_instDecidableEqDeclarationRange(lean_object*, lean_object*); extern lean_object* l_Lean_noConfusionExt; uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprDeclarationRange; static lean_object* l_Lean_instToExprDeclarationRange___lambda__1___closed__6; +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_609_(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__2; LEAN_EXPORT lean_object* l_Lean_findDeclarationRangesCore_x3f___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToExprDeclarationRange___closed__4; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__8; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__4; LEAN_EXPORT lean_object* l_Lean_findDeclarationRanges_x3f___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instToExprDeclarationRanges___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_findDeclarationRanges_x3f___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_instReprDeclarationRange___closed__1; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__13; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__7; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__5; lean_object* l_Lean_isRec___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__1; +lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185_(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__4; -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__11; LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_decEqDeclarationRange____x40_Lean_DeclarationRange___hyg_56____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__18; +static lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__2; static lean_object* _init_l_Lean_instInhabitedDeclarationRange___closed__1() { _start: { @@ -255,7 +255,7 @@ x_4 = lean_box(x_3); return x_4; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__1() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__1() { _start: { lean_object* x_1; @@ -263,29 +263,29 @@ x_1 = lean_mk_string_from_bytes("pos", 3); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__2() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__1; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__3() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__2; +x_2 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__2; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__4() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__4() { _start: { lean_object* x_1; @@ -293,29 +293,29 @@ x_1 = lean_mk_string_from_bytes(" := ", 4); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__5() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__4; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__4; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__6() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__3; -x_2 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__5; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__3; +x_2 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__5; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__7() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -324,7 +324,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__8() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__8() { _start: { lean_object* x_1; @@ -332,17 +332,17 @@ x_1 = lean_mk_string_from_bytes(",", 1); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__9() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__8; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__8; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__10() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__10() { _start: { lean_object* x_1; @@ -350,17 +350,17 @@ x_1 = lean_mk_string_from_bytes("charUtf16", 9); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__11() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__10; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__10; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__12() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -369,7 +369,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__13() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__13() { _start: { lean_object* x_1; @@ -377,17 +377,17 @@ x_1 = lean_mk_string_from_bytes("endPos", 6); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__14() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__13; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__13; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__15() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -396,7 +396,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__16() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__16() { _start: { lean_object* x_1; @@ -404,17 +404,17 @@ x_1 = lean_mk_string_from_bytes("endCharUtf16", 12); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__17() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__16; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__16; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__18() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -423,7 +423,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__19() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__19() { _start: { lean_object* x_1; @@ -431,35 +431,35 @@ x_1 = lean_mk_string_from_bytes("{ ", 2); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__20() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__19; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__19; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__21() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__20; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__20; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__22() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__19; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__19; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__23() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__23() { _start: { lean_object* x_1; @@ -467,25 +467,25 @@ x_1 = lean_mk_string_from_bytes(" }", 2); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__24() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__24() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__23; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__23; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_unsigned_to_nat(0u); -x_5 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177_(x_3, x_4); -x_6 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__7; +x_5 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185_(x_3, x_4); +x_6 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__7; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -493,11 +493,11 @@ x_8 = 0; x_9 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_9, 0, x_7); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8); -x_10 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__6; +x_10 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__6; x_11 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__9; +x_12 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__9; x_13 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -505,11 +505,11 @@ x_14 = lean_box(1); x_15 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__11; +x_16 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__11; x_17 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__5; +x_18 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__5; x_19 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); @@ -518,7 +518,7 @@ lean_inc(x_20); x_21 = l_Nat_repr(x_20); x_22 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_22, 0, x_21); -x_23 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__12; +x_23 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__12; x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -534,7 +534,7 @@ lean_ctor_set(x_27, 1, x_12); x_28 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_14); -x_29 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__14; +x_29 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__14; x_30 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); @@ -543,8 +543,8 @@ lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_18); x_32 = lean_ctor_get(x_1, 2); lean_inc(x_32); -x_33 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_177_(x_32, x_4); -x_34 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__15; +x_33 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_185_(x_32, x_4); +x_34 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__15; x_35 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); @@ -560,7 +560,7 @@ lean_ctor_set(x_38, 1, x_12); x_39 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_14); -x_40 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__17; +x_40 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__17; x_41 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_41, 0, x_39); lean_ctor_set(x_41, 1, x_40); @@ -573,7 +573,7 @@ lean_dec(x_1); x_44 = l_Nat_repr(x_43); x_45 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_45, 0, x_44); -x_46 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__18; +x_46 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__18; x_47 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); @@ -583,15 +583,15 @@ lean_ctor_set_uint8(x_48, sizeof(void*)*1, x_8); x_49 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_49, 0, x_42); lean_ctor_set(x_49, 1, x_48); -x_50 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__22; +x_50 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__22; x_51 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_49); -x_52 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__24; +x_52 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__24; x_53 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_53, 0, x_51); lean_ctor_set(x_53, 1, x_52); -x_54 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__21; +x_54 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__21; x_55 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); @@ -601,11 +601,11 @@ lean_ctor_set_uint8(x_56, sizeof(void*)*1, x_8); return x_56; } } -LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307_(x_1, x_2); +x_3 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -614,7 +614,7 @@ static lean_object* _init_l_Lean_instReprDeclarationRange___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____boxed), 2, 0); return x_1; } } @@ -832,7 +832,7 @@ x_1 = l_Lean_instInhabitedDeclarationRanges___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__1() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__1() { _start: { lean_object* x_1; @@ -840,41 +840,41 @@ x_1 = lean_mk_string_from_bytes("range", 5); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__2() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__1; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__3() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__2; +x_2 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__2; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__4() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__3; -x_2 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__5; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__3; +x_2 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__5; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__5() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -883,7 +883,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__6() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__6() { _start: { lean_object* x_1; @@ -891,17 +891,17 @@ x_1 = lean_mk_string_from_bytes("selectionRange", 14); return x_1; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__7() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__6; +x_1 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__6; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__8() { +static lean_object* _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -910,15 +910,15 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_unsigned_to_nat(0u); -x_5 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307_(x_3, x_4); -x_6 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__5; +x_5 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323_(x_3, x_4); +x_6 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__5; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -926,11 +926,11 @@ x_8 = 0; x_9 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_9, 0, x_7); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8); -x_10 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__4; +x_10 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__4; x_11 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__9; +x_12 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__9; x_13 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -938,19 +938,19 @@ x_14 = lean_box(1); x_15 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__7; +x_16 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__7; x_17 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__5; +x_18 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__5; x_19 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); x_20 = lean_ctor_get(x_1, 1); lean_inc(x_20); lean_dec(x_1); -x_21 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307_(x_20, x_4); -x_22 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__8; +x_21 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323_(x_20, x_4); +x_22 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__8; x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); @@ -960,15 +960,15 @@ lean_ctor_set_uint8(x_24, sizeof(void*)*1, x_8); x_25 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_25, 0, x_19); lean_ctor_set(x_25, 1, x_24); -x_26 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__22; +x_26 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__22; x_27 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); -x_28 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__24; +x_28 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__24; x_29 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); -x_30 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__21; +x_30 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__21; x_31 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -978,11 +978,11 @@ lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_8); return x_32; } } -LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497_(x_1, x_2); +x_3 = l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -991,7 +991,7 @@ static lean_object* _init_l_Lean_instReprDeclarationRanges___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____boxed), 2, 0); return x_1; } } @@ -1182,7 +1182,7 @@ x_1 = l_Lean_instToExprDeclarationRanges___closed__4; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_593_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_609_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -1208,7 +1208,7 @@ return x_7; } } } -static lean_object* _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__1() { _start: { lean_object* x_1; @@ -1216,21 +1216,21 @@ x_1 = lean_mk_string_from_bytes("declRangeExt", 12); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instToExprDeclarationRange___lambda__1___closed__1; -x_2 = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__1; +x_2 = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__2; +x_2 = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__2; x_3 = l_Lean_mkMapDeclarationExtension___rarg(x_2, x_1); return x_3; } @@ -1650,54 +1650,54 @@ l_Lean_instInhabitedDeclarationRange___closed__2 = _init_l_Lean_instInhabitedDec lean_mark_persistent(l_Lean_instInhabitedDeclarationRange___closed__2); l_Lean_instInhabitedDeclarationRange = _init_l_Lean_instInhabitedDeclarationRange(); lean_mark_persistent(l_Lean_instInhabitedDeclarationRange); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__1 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__1(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__1); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__2 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__2(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__2); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__3 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__3(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__3); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__4 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__4(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__4); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__5 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__5(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__5); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__6 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__6(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__6); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__7 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__7(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__7); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__8 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__8(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__8); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__9 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__9(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__9); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__10 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__10(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__10); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__11 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__11(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__11); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__12 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__12(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__12); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__13 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__13(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__13); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__14 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__14(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__14); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__15 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__15(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__15); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__16 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__16(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__16); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__17 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__17(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__17); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__18 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__18(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__18); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__19 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__19(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__19); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__20 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__20(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__20); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__21 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__21(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__21); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__22 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__22(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__22); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__23 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__23(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__23); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__24 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__24(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_307____closed__24); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__1 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__1(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__1); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__2 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__2(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__2); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__3 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__3(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__3); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__4 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__4(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__4); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__5 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__5(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__5); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__6 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__6(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__6); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__7 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__7(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__7); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__8 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__8(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__8); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__9 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__9(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__9); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__10 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__10(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__10); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__11 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__11(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__11); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__12 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__12(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__12); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__13 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__13(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__13); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__14 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__14(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__14); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__15 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__15(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__15); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__16 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__16(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__16); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__17 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__17(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__17); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__18 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__18(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__18); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__19 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__19(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__19); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__20 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__20(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__20); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__21 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__21(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__21); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__22 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__22(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__22); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__23 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__23(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__23); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__24 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__24(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRange____x40_Lean_DeclarationRange___hyg_323____closed__24); l_Lean_instReprDeclarationRange___closed__1 = _init_l_Lean_instReprDeclarationRange___closed__1(); lean_mark_persistent(l_Lean_instReprDeclarationRange___closed__1); l_Lean_instReprDeclarationRange = _init_l_Lean_instReprDeclarationRange(); @@ -1736,22 +1736,22 @@ l_Lean_instInhabitedDeclarationRanges___closed__1 = _init_l_Lean_instInhabitedDe lean_mark_persistent(l_Lean_instInhabitedDeclarationRanges___closed__1); l_Lean_instInhabitedDeclarationRanges = _init_l_Lean_instInhabitedDeclarationRanges(); lean_mark_persistent(l_Lean_instInhabitedDeclarationRanges); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__1 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__1(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__1); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__2 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__2(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__2); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__3 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__3(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__3); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__4 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__4(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__4); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__5 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__5(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__5); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__6 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__6(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__6); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__7 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__7(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__7); -l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__8 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__8(); -lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_497____closed__8); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__1 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__1(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__1); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__2 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__2(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__2); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__3 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__3(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__3); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__4 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__4(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__4); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__5 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__5(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__5); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__6 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__6(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__6); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__7 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__7(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__7); +l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__8 = _init_l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__8(); +lean_mark_persistent(l___private_Lean_DeclarationRange_0__Lean_reprDeclarationRanges____x40_Lean_DeclarationRange___hyg_513____closed__8); l_Lean_instReprDeclarationRanges___closed__1 = _init_l_Lean_instReprDeclarationRanges___closed__1(); lean_mark_persistent(l_Lean_instReprDeclarationRanges___closed__1); l_Lean_instReprDeclarationRanges = _init_l_Lean_instReprDeclarationRanges(); @@ -1774,16 +1774,16 @@ l_Lean_instToExprDeclarationRanges___closed__4 = _init_l_Lean_instToExprDeclarat lean_mark_persistent(l_Lean_instToExprDeclarationRanges___closed__4); l_Lean_instToExprDeclarationRanges = _init_l_Lean_instToExprDeclarationRanges(); lean_mark_persistent(l_Lean_instToExprDeclarationRanges); -if (builtin) {res = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_593_(lean_io_mk_world()); +if (builtin) {res = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_609_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_builtinDeclRanges = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_builtinDeclRanges); lean_dec_ref(res); -}l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__1 = _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__1); -l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__2 = _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645____closed__2); -if (builtin) {res = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_645_(lean_io_mk_world()); +}l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__1 = _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__1); +l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__2 = _init_l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661____closed__2); +if (builtin) {res = l_Lean_initFn____x40_Lean_DeclarationRange___hyg_661_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_declRangeExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_declRangeExt); diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 8e3e2dcc9379..d3db109a167a 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -23,6 +23,7 @@ lean_object* l_Lean_Meta_getElimInfo(lean_object*, lean_object*, lean_object*, l static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabProj_declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_finalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__9; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabApp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabChoice(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -30,7 +31,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, 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*); static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__5___closed__14; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__3; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__5; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); @@ -51,18 +51,17 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_ static lean_object* l_panic___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___spec__1___closed__1; lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Term_elabAppArgs___spec__1___at_Lean_Elab_Term_elabAppArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__3; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1___closed__6; static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__5; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__10; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__2; lean_object* l_Lean_Elab_Term_addNamedArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__5; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__7___rarg___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_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__4(lean_object*, lean_object*, lean_object*); @@ -83,7 +82,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_main(lean_object*, lean_objec lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMCtxImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_setMotive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__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_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findBinderName_x3f(lean_object*, lean_object*); lean_object* lean_private_to_user_name(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__1; @@ -101,6 +100,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0 LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabDotIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__5; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__7; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__7; lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instToStringNamedArg___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; @@ -110,6 +110,7 @@ lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, l lean_object* l_Lean_Elab_Term_registerSyntheticMVarWithCurrRef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange___closed__1; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__9; +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13___boxed(lean_object**); static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__3___boxed(lean_object**); extern lean_object* l_Lean_maxRecDepthErrorMessage; @@ -135,15 +136,17 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_reve lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_setMotive___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_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__10; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__5(lean_object*, lean_object*, uint8_t, 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_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13(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*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasArgsToProcess___boxed(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__14; @@ -158,10 +161,10 @@ uint8_t l_Lean_Expr_isOptParam(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__8; LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Term_ElabElim_finalize___spec__7(lean_object*, lean_object*); lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Term_addDotCompletionInfo___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__15; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabElim_elabArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default___closed__1; uint8_t l_Lean_Expr_isApp(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent___closed__1; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__18; @@ -205,7 +208,7 @@ uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__2___rarg___closed__1; static lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___closed__1; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__30; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1___boxed(lean_object**); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__2; extern lean_object* l_Lean_Elab_Term_instMonadTermElabM; lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -303,10 +306,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_finalize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__20; LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__15___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__4; uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp_declRange___closed__5; lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toName(lean_object*); @@ -316,6 +319,7 @@ extern lean_object* l_Lean_Expr_instBEqExpr; lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult___spec__2___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabAppArgs_State_resultTypeOutParam_x3f___default; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -337,8 +341,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__5___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Elab_Term_ElabElim_finalize___spec__6(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__3; static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux___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*); @@ -346,15 +350,14 @@ static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____l static lean_object* l_Lean_Elab_Term_ElabElim_finalize___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(lean_object*, lean_object*, lean_object*, 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_object*, lean_object*); uint8_t l_Lean_BinderInfo_isStrictImplicit(uint8_t); -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRange___closed__4; lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___closed__4; +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___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_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeAppInstMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__14; lean_object* l_Lean_Elab_Term_elabTermEnsuringType___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_Elab_Term_elabAppArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___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_object*, lean_object*); @@ -370,17 +373,17 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_State_motive_x3f___default; lean_object* l_instHashableArray___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1___boxed(lean_object**); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabWithoutExpectedTypeAttr; LEAN_EXPORT uint8_t l_Lean_Elab_Term_elabAppArgs_isFirstOrder___lambda__1(lean_object*); lean_object* l_Lean_getStructureLikeNumFields(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__3; size_t lean_ptr_addr(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__9; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instToStringNamedArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__13; lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_elabLetDeclCore___spec__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__31; LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -389,6 +392,7 @@ lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern___closed__2; lean_object* l_Lean_getPathToBaseStructure_x3f(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___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_PersistentArray_forInAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRange(lean_object*); @@ -399,13 +403,10 @@ LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Elab_App_0 static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_elabExplicitUnivs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1(lean_object*, uint8_t, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__6; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__23; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_hasLocalInstaceWithOutParams___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -419,18 +420,19 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange___close LEAN_EXPORT uint8_t l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAppArgs_getElabAsElimExtraArgsPos___spec__1___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___lambda__2___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(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_Elab_App_0__Lean_Elab_Term_elabAppLVals___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_toName_go___boxed(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withMCtx___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_finalize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__7(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____closed__2; @@ -448,7 +450,7 @@ lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object LEAN_EXPORT lean_object* l_Lean_Elab_Term_synthesizeAppInstMVars(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_elabAppArgs_elabAsElim_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__1(lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__5; @@ -481,8 +483,8 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___closed_ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs_elabAsElim_x3f(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__11; static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__2___closed__1; lean_object* l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(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_elabAppArgs_getElabAsElimExtraArgsPos___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -498,7 +500,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwInvalidNamedArg___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_shouldElabAsElim___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__20; @@ -506,6 +508,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(le LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern_declRange___closed__5; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__1___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__4; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___closed__2; static lean_object* l_Lean_Elab_Term_ElabElim_finalize___lambda__4___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_normalizeFunType(lean_object*); @@ -513,17 +516,17 @@ lean_object* l_Lean_Elab_Term_elabTerm___boxed(lean_object*, lean_object*, lean_ static lean_object* l___regBuiltin_Lean_Elab_Term_elabProj___closed__3; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__5___closed__1; uint8_t lean_has_out_params(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1; static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__5___closed__6; LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabProj_declRange___closed__6; lean_object* l_Lean_Syntax_getKind(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange___closed__7; lean_object* l_Lean_Elab_Term_LVal_getRef(lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(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*); uint8_t l_Lean_Expr_isMVar(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -535,10 +538,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at_Lean_Elab_Term_ElabElim_finalize___spec__6___rarg(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_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__4(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___regBuiltin_Lean_Elab_Term_elabExplicitUniv(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___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_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___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_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__5___closed__9; +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__7___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_ElabElim_finalize___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -552,6 +556,7 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___clos static lean_object* l_Lean_Elab_Term_hasElabWithoutExpectedType___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__8(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_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -586,11 +591,12 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1(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* l_Lean_Elab_Term_addDotCompletionInfo(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_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_hasLocalInstaceWithOutParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__12; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); uint8_t lean_is_out_param(lean_object*); @@ -600,9 +606,10 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange(le static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__2; lean_object* l_instInhabited___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__11; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(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_elabAppArgs_getElabAsElimExtraArgsPos___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(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_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__4___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -613,7 +620,6 @@ static lean_object* l_Lean_Elab_Term_elabPipeProj___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__1; lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_mkMotive___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__12___boxed(lean_object*, lean_object*, lean_object*); @@ -624,7 +630,8 @@ extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_getParentStructures(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__21; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____closed__8; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__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_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__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_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__19___boxed(lean_object**); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_finalize___lambda__2(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*); @@ -640,7 +647,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__4___closed__4; lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp_declRange___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13___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_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_isOutParamOfLocalInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Elab_Term_ElabElim_finalize___spec__5___closed__1; @@ -681,6 +687,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange___close lean_object* l_Lean_Elab_Term_applyResult___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__3; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit_declRange___closed__1; lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -688,12 +695,15 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabAppArgs_eraseNamedArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__2; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findMethodAlias_x3f(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit_declRange___closed__5; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__15; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__1___closed__3; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwLValError___rarg___closed__1; @@ -717,12 +727,11 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwInvalidFiel uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getBindingName(lean_object*); lean_object* l_Lean_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent___closed__3; -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3(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_mkFreshId___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTagAttribute(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange___closed__7; lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -751,7 +760,7 @@ static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_saveArgInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__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_EXPORT lean_object* l_Lean_Elab_Term_elabPipeProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__1; @@ -793,7 +802,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLVal LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs_isFirstOrder___lambda__1___boxed(lean_object*); static lean_object* l_Lean_Elab_Term_elabAppArgs___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__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*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__4; @@ -802,6 +811,7 @@ static lean_object* l_Lean_Elab_Term_instToStringNamedArg___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern(lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__2(size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs_elabAsElim_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_typeMatchesBaseName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -816,9 +826,9 @@ static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____l static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___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_instantiateMVars___at_Lean_Elab_Term_ElabElim_finalize___spec__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_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg(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_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType(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_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__12; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___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_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__12___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_Lean_Elab_App_0__Lean_Elab_Term_throwInvalidFieldNotation___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -834,7 +844,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwInvali static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_ElabAppArgs_trySynthesizeAppInstMVars___spec__2___closed__1; lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabPipeProj_declRange___closed__6; -static lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__22; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabProj(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___closed__7; @@ -846,9 +855,8 @@ lean_object* l_Lean_getFieldInfo_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent_declRange___closed__7; lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__8; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10___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_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_ElabElim_mkMotive___spec__1___rarg___closed__1; static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__5___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabAppArgs_State_instMVars___default; @@ -874,7 +882,6 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux__ static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_fTypeHasOptAutoParams___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange___closed__2; @@ -903,7 +910,7 @@ uint8_t l_Lean_isPrivateNameFromImportedModule(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRange___closed__3; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__27; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_propagateExpectedTypeFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(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_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_addDiscr(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___regBuiltin_Lean_Elab_Term_elabNamedPattern_declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_getNextArg_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -924,7 +931,7 @@ lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs_elabAsElim_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__7; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__1; +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__11___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isBRecOnRecursor(lean_object*, lean_object*); @@ -933,6 +940,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__10___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*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__3___closed__3; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__2___closed__2; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -940,11 +948,13 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice_declRange___closed_ lean_object* l_Lean_LocalDecl_type(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___closed__2; +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__1___closed__2; lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAppArgs_elabAsElim_x3f___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Term_elabAppArgs___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__7; lean_object* l_Lean_Name_eraseSuffix_x3f(lean_object*, lean_object*); uint8_t l_Lean_isRecOnRecursor(lean_object*, lean_object*); @@ -964,7 +974,6 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_shouldElabAsElim___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__8(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__2; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__4; @@ -972,7 +981,7 @@ lean_object* l_Array_insertAt_x21___rarg(lean_object*, lean_object*, lean_object static lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern_declRange___closed__3; lean_object* l_Lean_Expr_getAppFn(lean_object*); uint8_t l_Lean_isStructure(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(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_EXPORT lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__2; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____closed__3; @@ -1017,26 +1026,23 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__ static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isRecCore(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__8; lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__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_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__1; lean_object* l_List_reverse___rarg(lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabAppArgs_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ElabElim_finalize___lambda__4___closed__4; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____closed__5; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_Term_eraseNamedArg___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___closed__1; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_throwInvalidFieldNotation___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs_elabAsElim_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__13; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_ElabAppArgs_trySynthesizeAppInstMVars___spec__2___lambda__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___private_Lean_Elab_App_0__Lean_Elab_Term_hasOptAutoParams___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__1; lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__2; static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__1; @@ -1064,7 +1070,6 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lam extern lean_object* l_Lean_instInhabitedName; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__5___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__2; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Term_elabAppArgs___spec__1___at_Lean_Elab_Term_elabAppArgs___spec__2___at_Lean_Elab_Term_elabAppArgs___spec__3(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___spec__1___closed__2; @@ -1073,6 +1078,7 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck__ lean_object* l_Lean_Elab_Term_addTermInfo(lean_object*, 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_object*); static lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__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_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__5(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_Elab_App_0__Lean_Elab_Term_elabAppFnId_toLVals___boxed(lean_object*, lean_object*, lean_object*); @@ -1080,14 +1086,12 @@ LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_App_ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccesses___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getSyntheticMVarDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___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_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabElim_finalize___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_isOutParamOf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1116,6 +1120,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp_declRange___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_normalizeFunType___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_hasOptAutoParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__14; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__2(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_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAppArgs_getElabAsElimExtraArgsPos___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -1131,6 +1136,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__8___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Term_elabAppArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(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_mkFreshBinderName___at_Lean_Elab_Term_ElabElim_mkMotive___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1139,7 +1145,6 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs_elabAsElim_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent___closed__2; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_fTypeHasOptAutoParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__7; uint8_t lean_usize_dec_lt(size_t, size_t); @@ -1157,6 +1162,7 @@ lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext LEAN_EXPORT uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077_(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_ElabAppArgs_trySynthesizeAppInstMVars___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Term_ElabElim_finalize___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ElabAppArgs_synthesizeAppInstMVars___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1165,7 +1171,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRange___c static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__1___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_fTypeHasOptAutoParams(lean_object*); -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConst(lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); @@ -1174,10 +1179,10 @@ static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux__ LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_isOutParamOfLocalInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__2; lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068_(lean_object*); static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__5___closed__2; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__13(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingInfo_x21(lean_object*); uint8_t l_Lean_Expr_isForall(lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__10; @@ -1193,7 +1198,7 @@ static lean_object* l_Lean_Elab_Term_elabAppArgs___lambda__5___closed__10; static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkProjAndCheck___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabExplicit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveDotName_go___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); @@ -1214,14 +1219,13 @@ LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Term_ElabElim_finalize LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAppArgs_getElabAsElimExtraArgsPos___spec__1___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7901____lambda__1___closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_hasLocalInstaceWithOutParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isStructureLike(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabApp_declRange___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__1___boxed(lean_object**); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__3___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicitUniv_declRange___closed__2; @@ -16020,7 +16024,7 @@ lean_inc(x_5); x_21 = lean_infer_type(x_15, x_5, x_6, x_7, x_8, x_20); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); @@ -16035,161 +16039,162 @@ lean_dec(x_24); x_27 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___closed__1; x_28 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___closed__2; x_29 = 1; +x_30 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_30 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_25, x_27, x_28, x_29, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_30) == 0) +x_31 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_25, x_27, x_28, x_29, x_30, x_5, x_6, x_7, x_8, x_26); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); lean_inc(x_8); lean_inc(x_7); -x_33 = l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_ElabElim_mkMotive___spec__1___rarg(x_7, x_8, x_32); -if (lean_obj_tag(x_33) == 0) +x_34 = l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_ElabElim_mkMotive___spec__1___rarg(x_7, x_8, x_33); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_dec(x_33); -x_36 = 0; -x_37 = l_Lean_Expr_lam___override(x_34, x_31, x_19, x_36); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = 0; +x_38 = l_Lean_Expr_lam___override(x_35, x_32, x_19, x_37); x_2 = x_12; -x_4 = x_37; -x_9 = x_35; +x_4 = x_38; +x_9 = x_36; goto _start; } else { -uint8_t x_39; -lean_dec(x_31); +uint8_t x_40; +lean_dec(x_32); lean_dec(x_19); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_39 = !lean_is_exclusive(x_33); -if (x_39 == 0) +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) { -return x_33; +return x_34; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_33, 0); -x_41 = lean_ctor_get(x_33, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_33); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } else { -uint8_t x_43; +uint8_t x_44; lean_dec(x_19); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_43 = !lean_is_exclusive(x_30); -if (x_43 == 0) +x_44 = !lean_is_exclusive(x_31); +if (x_44 == 0) { -return x_30; +return x_31; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_30, 0); -x_45 = lean_ctor_get(x_30, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_31, 0); +x_46 = lean_ctor_get(x_31, 1); +lean_inc(x_46); lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_30); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_dec(x_31); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_47; +uint8_t x_48; lean_dec(x_19); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_47 = !lean_is_exclusive(x_21); -if (x_47 == 0) +x_48 = !lean_is_exclusive(x_21); +if (x_48 == 0) { return x_21; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_21, 0); -x_49 = lean_ctor_get(x_21, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_21, 0); +x_50 = lean_ctor_get(x_21, 1); +lean_inc(x_50); lean_inc(x_49); -lean_inc(x_48); lean_dec(x_21); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } else { -uint8_t x_51; +uint8_t x_52; lean_dec(x_15); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_51 = !lean_is_exclusive(x_18); -if (x_51 == 0) +x_52 = !lean_is_exclusive(x_18); +if (x_52 == 0) { return x_18; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_18, 0); -x_53 = lean_ctor_get(x_18, 1); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_18, 0); +x_54 = lean_ctor_get(x_18, 1); +lean_inc(x_54); lean_inc(x_53); -lean_inc(x_52); lean_dec(x_18); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -lean_object* x_55; +lean_object* x_56; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_4); -lean_ctor_set(x_55, 1, x_9); -return x_55; +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_4); +lean_ctor_set(x_56, 1, x_9); +return x_56; } } } @@ -16290,28 +16295,29 @@ lean_dec(x_1); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; +lean_object* x_16; lean_inc(x_2); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_15 = lean_apply_8(x_2, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_15) == 0) +lean_inc(x_7); +x_16 = lean_apply_8(x_2, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -switch (lean_obj_tag(x_16)) { +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +switch (lean_obj_tag(x_17)) { case 0: { -uint8_t x_17; +uint8_t x_18; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -16321,119 +16327,118 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_15, 0); -lean_dec(x_18); +lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_16, 0); -lean_inc(x_19); -lean_dec(x_16); -lean_ctor_set(x_15, 0, x_19); -return x_15; +lean_dec(x_19); +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +lean_dec(x_17); +lean_ctor_set(x_16, 0, x_20); +return x_16; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_ctor_get(x_16, 0); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 1); lean_inc(x_21); lean_dec(x_16); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; } } case 1: { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_6); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); -lean_dec(x_15); -x_24 = lean_ctor_get(x_16, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_7); +x_24 = lean_ctor_get(x_16, 1); lean_inc(x_24); lean_dec(x_16); -x_25 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); -return x_25; +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +lean_dec(x_17); +x_26 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +return x_26; } default: { -lean_object* x_26; +lean_object* x_27; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_26 = lean_ctor_get(x_16, 0); -lean_inc(x_26); -lean_dec(x_16); -if (lean_obj_tag(x_26) == 0) +x_27 = lean_ctor_get(x_17, 0); +lean_inc(x_27); +lean_dec(x_17); +if (lean_obj_tag(x_27) == 0) { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_15); -if (x_27 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) { -lean_object* x_28; -x_28 = lean_ctor_get(x_15, 0); -lean_dec(x_28); -lean_ctor_set(x_15, 0, x_6); -return x_15; +lean_object* x_29; +x_29 = lean_ctor_get(x_16, 0); +lean_dec(x_29); +lean_ctor_set(x_16, 0, x_7); +return x_16; } else { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_15, 1); -lean_inc(x_29); -lean_dec(x_15); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_6); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_16, 1); +lean_inc(x_30); +lean_dec(x_16); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_7); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { -uint8_t x_31; -lean_dec(x_6); -x_31 = !lean_is_exclusive(x_15); -if (x_31 == 0) +uint8_t x_32; +lean_dec(x_7); +x_32 = !lean_is_exclusive(x_16); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_15, 0); -lean_dec(x_32); -x_33 = lean_ctor_get(x_26, 0); -lean_inc(x_33); -lean_dec(x_26); -lean_ctor_set(x_15, 0, x_33); -return x_15; +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_16, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +lean_dec(x_27); +lean_ctor_set(x_16, 0, x_34); +return x_16; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_15, 1); -lean_inc(x_34); -lean_dec(x_15); -x_35 = lean_ctor_get(x_26, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_16, 1); lean_inc(x_35); -lean_dec(x_26); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; +lean_dec(x_16); +x_36 = lean_ctor_get(x_27, 0); +lean_inc(x_36); +lean_dec(x_27); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; } } } @@ -16441,7 +16446,8 @@ return x_36; } else { -uint8_t x_37; +uint8_t x_38; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -16451,26 +16457,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_15); -if (x_37 == 0) +x_38 = !lean_is_exclusive(x_16); +if (x_38 == 0) { -return x_15; +return x_16; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_15, 0); -x_39 = lean_ctor_get(x_15, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_16, 0); +x_40 = lean_ctor_get(x_16, 1); +lean_inc(x_40); lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_15); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_dec(x_16); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } @@ -16547,206 +16552,208 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_E return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_push(x_1, x_8); -x_18 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_push(x_1, x_9); +x_19 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -if (lean_obj_tag(x_7) == 6) +if (lean_obj_tag(x_8) == 6) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_8, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 2); +x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_20 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_19 = lean_ctor_get(x_8, 2); +lean_inc(x_19); +x_20 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_21 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_box(x_3); -x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1___boxed), 16, 7); -lean_closure_set(x_25, 0, x_6); -lean_closure_set(x_25, 1, x_1); -lean_closure_set(x_25, 2, x_2); -lean_closure_set(x_25, 3, x_24); -lean_closure_set(x_25, 4, x_4); -lean_closure_set(x_25, 5, x_5); -lean_closure_set(x_25, 6, x_18); -x_26 = 0; -x_27 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__7___rarg(x_16, x_19, x_22, x_25, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -return x_27; +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_box(x_3); +x_26 = lean_box(x_4); +x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1___boxed), 17, 8); +lean_closure_set(x_27, 0, x_7); +lean_closure_set(x_27, 1, x_1); +lean_closure_set(x_27, 2, x_2); +lean_closure_set(x_27, 3, x_25); +lean_closure_set(x_27, 4, x_26); +lean_closure_set(x_27, 5, x_5); +lean_closure_set(x_27, 6, x_6); +lean_closure_set(x_27, 7, x_19); +x_28 = 0; +x_29 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__7___rarg(x_17, x_20, x_23, x_27, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); +return x_29; } else { -uint8_t x_28; -lean_dec(x_18); -lean_dec(x_16); +uint8_t x_30; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) +x_30 = !lean_is_exclusive(x_22); +if (x_30 == 0) { -return x_21; +return x_22; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 0); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_34; lean_object* x_35; +x_34 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_33) == 0) +x_35 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = 0; -x_37 = 1; -x_38 = l_Lean_Meta_mkLambdaFVars(x_6, x_34, x_36, x_3, x_37, x_11, x_12, x_13, x_14, x_35); -if (lean_obj_tag(x_38) == 0) +lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 0; +x_39 = 1; +x_40 = l_Lean_Meta_mkLambdaFVars(x_7, x_36, x_38, x_3, x_39, x_12, x_13, x_14, x_15, x_37); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_40); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_42); +return x_43; } else { -uint8_t x_42; +uint8_t x_44; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) { -return x_38; +return x_40; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_38); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 0); +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_40); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_46; +uint8_t x_48; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_33); -if (x_46 == 0) +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) { -return x_33; +return x_35; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_33, 0); -x_48 = lean_ctor_get(x_33, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_33); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_35); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } @@ -16816,206 +16823,208 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_E return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_push(x_1, x_8); -x_18 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_push(x_1, x_9); +x_19 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -if (lean_obj_tag(x_7) == 7) +if (lean_obj_tag(x_8) == 7) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_8, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 2); +x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_20 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_19 = lean_ctor_get(x_8, 2); +lean_inc(x_19); +x_20 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_21 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_box(x_3); -x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1___boxed), 16, 7); -lean_closure_set(x_25, 0, x_6); -lean_closure_set(x_25, 1, x_1); -lean_closure_set(x_25, 2, x_2); -lean_closure_set(x_25, 3, x_24); -lean_closure_set(x_25, 4, x_4); -lean_closure_set(x_25, 5, x_5); -lean_closure_set(x_25, 6, x_18); -x_26 = 0; -x_27 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__8___rarg(x_16, x_19, x_22, x_25, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -return x_27; +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_box(x_3); +x_26 = lean_box(x_4); +x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1___boxed), 17, 8); +lean_closure_set(x_27, 0, x_7); +lean_closure_set(x_27, 1, x_1); +lean_closure_set(x_27, 2, x_2); +lean_closure_set(x_27, 3, x_25); +lean_closure_set(x_27, 4, x_26); +lean_closure_set(x_27, 5, x_5); +lean_closure_set(x_27, 6, x_6); +lean_closure_set(x_27, 7, x_19); +x_28 = 0; +x_29 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__8___rarg(x_17, x_20, x_23, x_27, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); +return x_29; } else { -uint8_t x_28; -lean_dec(x_18); -lean_dec(x_16); +uint8_t x_30; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) +x_30 = !lean_is_exclusive(x_22); +if (x_30 == 0) { -return x_21; +return x_22; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 0); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_34; lean_object* x_35; +x_34 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_33) == 0) +x_35 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = 0; -x_37 = 1; -x_38 = l_Lean_Meta_mkForallFVars(x_6, x_34, x_36, x_3, x_37, x_11, x_12, x_13, x_14, x_35); -if (lean_obj_tag(x_38) == 0) +lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 0; +x_39 = 1; +x_40 = l_Lean_Meta_mkForallFVars(x_7, x_36, x_38, x_3, x_39, x_12, x_13, x_14, x_15, x_37); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_40); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_42); +return x_43; } else { -uint8_t x_42; +uint8_t x_44; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) { -return x_38; +return x_40; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_38); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 0); +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_40); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_46; +uint8_t x_48; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_33); -if (x_46 == 0) +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) { -return x_33; +return x_35; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_33, 0); -x_48 = lean_ctor_get(x_33, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_33); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_35); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } @@ -17085,513 +17094,900 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_Ela return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_push(x_1, x_8); -x_18 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_push(x_1, x_9); +x_19 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -if (lean_obj_tag(x_7) == 8) +if (lean_obj_tag(x_8) == 8) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_8, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 2); +x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_7, 3); +x_19 = lean_ctor_get(x_8, 2); lean_inc(x_19); -lean_dec(x_7); -x_20 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_20 = lean_ctor_get(x_8, 3); +lean_inc(x_20); +lean_dec(x_8); +x_21 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_expr_instantiate_rev(x_18, x_6); -lean_dec(x_18); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_expr_instantiate_rev(x_19, x_7); +lean_dec(x_19); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_25 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -if (lean_obj_tag(x_25) == 0) +x_26 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_box(x_3); -x_29 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1___boxed), 16, 7); -lean_closure_set(x_29, 0, x_6); -lean_closure_set(x_29, 1, x_1); -lean_closure_set(x_29, 2, x_2); -lean_closure_set(x_29, 3, x_28); -lean_closure_set(x_29, 4, x_4); -lean_closure_set(x_29, 5, x_5); -lean_closure_set(x_29, 6, x_19); -x_30 = 0; -x_31 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__9___rarg(x_16, x_22, x_26, x_29, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_27); -return x_31; +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_box(x_3); +x_30 = lean_box(x_4); +x_31 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1___boxed), 17, 8); +lean_closure_set(x_31, 0, x_7); +lean_closure_set(x_31, 1, x_1); +lean_closure_set(x_31, 2, x_2); +lean_closure_set(x_31, 3, x_29); +lean_closure_set(x_31, 4, x_30); +lean_closure_set(x_31, 5, x_5); +lean_closure_set(x_31, 6, x_6); +lean_closure_set(x_31, 7, x_20); +x_32 = 0; +x_33 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__9___rarg(x_17, x_23, x_27, x_31, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_28); +return x_33; } else { -uint8_t x_32; -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_16); +uint8_t x_34; +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_25); -if (x_32 == 0) +x_34 = !lean_is_exclusive(x_26); +if (x_34 == 0) { -return x_25; +return x_26; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_25, 0); -x_34 = lean_ctor_get(x_25, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_25); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_26, 0); +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_26); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } else { -uint8_t x_36; +uint8_t x_38; +lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_21); -if (x_36 == 0) +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) { -return x_21; +return x_22; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_21, 0); -x_38 = lean_ctor_get(x_21, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_21); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_22, 0); +x_40 = lean_ctor_get(x_22, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_22); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_42; lean_object* x_43; +x_42 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_41 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_41) == 0) +x_43 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_42, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = 0; -x_45 = 1; -x_46 = l_Lean_Meta_mkLambdaFVars(x_6, x_42, x_44, x_3, x_45, x_11, x_12, x_13, x_14, x_43); -if (lean_obj_tag(x_46) == 0) +lean_object* x_44; lean_object* x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = 0; +x_47 = 1; +x_48 = l_Lean_Meta_mkLambdaFVars(x_7, x_44, x_46, x_3, x_47, x_12, x_13, x_14, x_15, x_45); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_47, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_49, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_50); +return x_51; } else { -uint8_t x_50; +uint8_t x_52; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) +x_52 = !lean_is_exclusive(x_48); +if (x_52 == 0) { -return x_46; +return x_48; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_46, 0); -x_52 = lean_ctor_get(x_46, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_46); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_48, 0); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_48); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -uint8_t x_54; +uint8_t x_56; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_54 = !lean_is_exclusive(x_41); -if (x_54 == 0) +x_56 = !lean_is_exclusive(x_43); +if (x_56 == 0) { -return x_41; +return x_43; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_41, 0); -x_56 = lean_ctor_get(x_41, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_41); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_43, 0); +x_58 = lean_ctor_get(x_43, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_43); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_7, x_6); -if (x_17 == 0) +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_8, x_7); +if (x_18 == 0) { -lean_object* x_18; +lean_object* x_19; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_8); -lean_ctor_set(x_18, 1, x_16); -return x_18; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_array_uget(x_8, x_7); -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_array_uset(x_8, x_7, x_20); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_array_uget(x_9, x_8); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_9, x_8, x_21); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_22 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = 1; -x_26 = lean_usize_add(x_7, x_25); -x_27 = lean_array_uset(x_21, x_7, x_23); -x_7 = x_26; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_8, x_26); +x_28 = lean_array_uset(x_22, x_8, x_24); x_8 = x_27; -x_16 = x_24; +x_9 = x_28; +x_17 = x_25; goto _start; } else { -uint8_t x_29; -lean_dec(x_21); +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_22); -if (x_29 == 0) +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) { -return x_22; +return x_23; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_22, 0); -x_31 = lean_ctor_get(x_22, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_22); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_dec(x_23); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_6) == 5) +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_8, x_7); +if (x_18 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_6, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_6, 1); -lean_inc(x_18); +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_6); -x_19 = lean_array_set(x_7, x_8, x_18); -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_sub(x_8, x_20); -lean_dec(x_8); -x_6 = x_17; -x_7 = x_19; -x_8 = x_21; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_array_uget(x_9, x_8); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_9, x_8, x_21); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_23 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_8, x_26); +x_28 = lean_array_uset(x_22, x_8, x_24); +x_8 = x_27; +x_9 = x_28; +x_17 = x_25; goto _start; } else { -lean_object* x_23; -lean_dec(x_8); +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_23); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_8, x_7); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_array_uget(x_9, x_8); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_9, x_8, x_21); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_23 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_23 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = lean_array_get_size(x_7); -x_27 = lean_usize_of_nat(x_26); -lean_dec(x_26); -x_28 = 0; +x_26 = 1; +x_27 = lean_usize_add(x_8, x_26); +x_28 = lean_array_uset(x_22, x_8, x_24); +x_8 = x_27; +x_9 = x_28; +x_17 = x_25; +goto _start; +} +else +{ +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_23); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +if (lean_obj_tag(x_7) == 5) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_7, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 1); +lean_inc(x_19); +lean_dec(x_7); +x_20 = lean_array_set(x_8, x_9, x_19); +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_sub(x_9, x_21); +lean_dec(x_9); +x_7 = x_18; +x_8 = x_20; +x_9 = x_22; +goto _start; +} +else +{ +lean_dec(x_9); +if (x_4 == 0) +{ +lean_object* x_24; +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_24 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_array_get_size(x_8); +x_28 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_29 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_28, x_29, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_26); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_mkAppN(x_25, x_31); +x_34 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_33, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_32); +return x_34; +} +else +{ +uint8_t x_35; +lean_dec(x_25); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) +{ +return x_30; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_30, 0); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_30); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_39 = !lean_is_exclusive(x_24); +if (x_39 == 0) +{ +return x_24; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_24, 0); +x_41 = lean_ctor_get(x_24, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_24); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +x_43 = l_Lean_Expr_isConst(x_7); +if (x_43 == 0) +{ +lean_object* x_44; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_44 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; lean_object* x_50; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_array_get_size(x_8); +x_48 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_49 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_29 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10(x_1, x_2, x_3, x_4, x_5, x_27, x_28, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25); -if (lean_obj_tag(x_29) == 0) +x_50 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_48, x_49, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_46); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_mkAppN(x_24, x_30); -x_33 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_31); -return x_33; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l_Lean_mkAppN(x_45, x_51); +x_54 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_53, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_52); +return x_54; } else { -uint8_t x_34; -lean_dec(x_24); +uint8_t x_55; +lean_dec(x_45); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +x_55 = !lean_is_exclusive(x_50); +if (x_55 == 0) { -return x_29; +return x_50; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_50, 0); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_50); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -uint8_t x_38; +uint8_t x_59; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_59 = !lean_is_exclusive(x_44); +if (x_59 == 0) +{ +return x_44; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_44, 0); +x_61 = lean_ctor_get(x_44, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_44); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +lean_object* x_63; size_t x_64; size_t x_65; lean_object* x_66; +x_63 = lean_array_get_size(x_8); +x_64 = lean_usize_of_nat(x_63); +lean_dec(x_63); +x_65 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_66 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_64, x_65, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = l_Lean_mkAppN(x_7, x_67); +x_70 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_69, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_68); +return x_70; +} +else +{ +uint8_t x_71; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_23); -if (x_38 == 0) +x_71 = !lean_is_exclusive(x_66); +if (x_71 == 0) { -return x_23; +return x_66; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_23, 0); -x_40 = lean_ctor_get(x_23, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_23); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_66, 0); +x_73 = lean_ctor_get(x_66, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_66); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} } } } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -17646,15 +18042,15 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12___rarg), 10, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg), 10, 0); return x_3; } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__1() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -17664,21 +18060,21 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__2() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__1; +x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__2; +x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__2; x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_7); @@ -17688,15 +18084,15 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___boxed), 6, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___boxed), 6, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; @@ -17891,7 +18287,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_60 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg(x_17, x_7, x_8, x_9, x_10, x_11); +x_60 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg(x_17, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -17917,286 +18313,286 @@ return x_64; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; -switch (lean_obj_tag(x_7)) { +lean_object* x_17; +switch (lean_obj_tag(x_8)) { case 0: { -lean_object* x_63; lean_object* x_64; +lean_object* x_64; lean_object* x_65; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_63 = lean_ctor_get(x_7, 0); -lean_inc(x_63); -lean_dec(x_7); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_15); -return x_64; +x_64 = lean_ctor_get(x_8, 0); +lean_inc(x_64); +lean_dec(x_8); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_16); +return x_65; } case 1: { -lean_object* x_65; lean_object* x_66; -lean_dec(x_6); -x_65 = lean_ctor_get(x_7, 0); -lean_inc(x_65); +lean_object* x_66; lean_object* x_67; lean_dec(x_7); -x_66 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_66; +x_66 = lean_ctor_get(x_8, 0); +lean_inc(x_66); +lean_dec(x_8); +x_67 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_66, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_67; } default: { -lean_object* x_67; -x_67 = lean_ctor_get(x_7, 0); -lean_inc(x_67); -lean_dec(x_7); -if (lean_obj_tag(x_67) == 0) +lean_object* x_68; +x_68 = lean_ctor_get(x_8, 0); +lean_inc(x_68); +lean_dec(x_8); +if (lean_obj_tag(x_68) == 0) { -x_16 = x_6; -goto block_62; +x_17 = x_7; +goto block_63; } else { -lean_object* x_68; -lean_dec(x_6); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -lean_dec(x_67); -x_16 = x_68; -goto block_62; +lean_object* x_69; +lean_dec(x_7); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +lean_dec(x_68); +x_17 = x_69; +goto block_63; } } } -block_62: +block_63: { -switch (lean_obj_tag(x_16)) { +switch (lean_obj_tag(x_17)) { case 5: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = lean_unsigned_to_nat(0u); -x_18 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_16, x_17); -x_19 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_isOutParamOfLocalInstance___closed__1; -lean_inc(x_18); -x_20 = lean_mk_array(x_18, x_19); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_sub(x_18, x_21); -lean_dec(x_18); -x_23 = l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11(x_1, x_2, x_3, x_4, x_5, x_16, x_20, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_23; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_17, x_18); +x_20 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_isOutParamOfLocalInstance___closed__1; +lean_inc(x_19); +x_21 = lean_mk_array(x_19, x_20); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_19, x_22); +lean_dec(x_19); +x_24 = l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_21, x_23, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_24; } case 6: { -lean_object* x_24; lean_object* x_25; -x_24 = l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default___closed__1; -x_25 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(x_1, x_2, x_3, x_4, x_5, x_24, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_25; +lean_object* x_25; lean_object* x_26; +x_25 = l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default___closed__1; +x_26 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_26; } case 7: { -lean_object* x_26; lean_object* x_27; -x_26 = l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default___closed__1; -x_27 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(x_1, x_2, x_3, x_4, x_5, x_26, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_27; +lean_object* x_27; lean_object* x_28; +x_27 = l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default___closed__1; +x_28 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_27, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_28; } case 8: { -lean_object* x_28; lean_object* x_29; -x_28 = l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default___closed__1; -x_29 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(x_1, x_2, x_3, x_4, x_5, x_28, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_29; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_Elab_Term_ElabAppArgs_State_etaArgs___default___closed__1; +x_30 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_29, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_30; } case 10: { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_16, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); lean_inc(x_31); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_31); +lean_inc(x_32); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_32 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_32) == 0) +x_33 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; uint8_t x_37; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; uint8_t x_38; +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_ptr_addr(x_32); lean_dec(x_32); -x_35 = lean_ptr_addr(x_31); -lean_dec(x_31); -x_36 = lean_ptr_addr(x_33); -x_37 = lean_usize_dec_eq(x_35, x_36); -if (x_37 == 0) +x_37 = lean_ptr_addr(x_34); +x_38 = lean_usize_dec_eq(x_36, x_37); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; -lean_dec(x_16); -x_38 = l_Lean_Expr_mdata___override(x_30, x_33); -x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -return x_39; +lean_object* x_39; lean_object* x_40; +lean_dec(x_17); +x_39 = l_Lean_Expr_mdata___override(x_31, x_34); +x_40 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_35); +return x_40; } else { -lean_object* x_40; -lean_dec(x_33); -lean_dec(x_30); -x_40 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -return x_40; +lean_object* x_41; +lean_dec(x_34); +lean_dec(x_31); +x_41 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_35); +return x_41; } } else { -uint8_t x_41; +uint8_t x_42; +lean_dec(x_32); lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_41 = !lean_is_exclusive(x_32); -if (x_41 == 0) +x_42 = !lean_is_exclusive(x_33); +if (x_42 == 0) { -return x_32; +return x_33; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_32, 0); -x_43 = lean_ctor_get(x_32, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_33, 0); +x_44 = lean_ctor_get(x_33, 1); +lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_32); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_dec(x_33); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } case 11: { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_16, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_16, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_17, 0); lean_inc(x_46); -x_47 = lean_ctor_get(x_16, 2); +x_47 = lean_ctor_get(x_17, 1); lean_inc(x_47); +x_48 = lean_ctor_get(x_17, 2); +lean_inc(x_48); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_47); +lean_inc(x_48); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_48 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_47, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_48) == 0) +x_49 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_48, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; uint8_t x_53; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); +lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_ptr_addr(x_48); lean_dec(x_48); -x_51 = lean_ptr_addr(x_47); -lean_dec(x_47); -x_52 = lean_ptr_addr(x_49); -x_53 = lean_usize_dec_eq(x_51, x_52); -if (x_53 == 0) +x_53 = lean_ptr_addr(x_50); +x_54 = lean_usize_dec_eq(x_52, x_53); +if (x_54 == 0) { -lean_object* x_54; lean_object* x_55; -lean_dec(x_16); -x_54 = l_Lean_Expr_proj___override(x_45, x_46, x_49); -x_55 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_54, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_50); -return x_55; +lean_object* x_55; lean_object* x_56; +lean_dec(x_17); +x_55 = l_Lean_Expr_proj___override(x_46, x_47, x_50); +x_56 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_55, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_51); +return x_56; } else { -lean_object* x_56; -lean_dec(x_49); +lean_object* x_57; +lean_dec(x_50); +lean_dec(x_47); lean_dec(x_46); -lean_dec(x_45); -x_56 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_50); -return x_56; +x_57 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_51); +return x_57; } } else { -uint8_t x_57; +uint8_t x_58; +lean_dec(x_48); lean_dec(x_47); lean_dec(x_46); -lean_dec(x_45); -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_57 = !lean_is_exclusive(x_48); -if (x_57 == 0) +x_58 = !lean_is_exclusive(x_49); +if (x_58 == 0) { -return x_48; +return x_49; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_48, 0); -x_59 = lean_ctor_get(x_48, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_49, 0); +x_60 = lean_ctor_get(x_49, 1); +lean_inc(x_60); lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_48); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +lean_dec(x_49); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } default: { -lean_object* x_61; -x_61 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_61; +lean_object* x_62; +x_62 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_62; } } } @@ -18214,133 +18610,136 @@ lean_ctor_set(x_6, 1, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; -lean_inc(x_7); -x_15 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_15, 0, lean_box(0)); -lean_closure_set(x_15, 1, lean_box(0)); -lean_closure_set(x_15, 2, x_7); -lean_inc(x_5); +lean_object* x_16; lean_object* x_17; +lean_inc(x_8); +x_16 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(x_16, 0, lean_box(0)); +lean_closure_set(x_16, 1, lean_box(0)); +lean_closure_set(x_16, 2, x_8); +lean_inc(x_6); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_16 = lean_apply_9(x_5, lean_box(0), x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_16) == 0) +x_17 = lean_apply_9(x_6, lean_box(0), x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_6); -x_20 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_18, x_6); -if (lean_obj_tag(x_20) == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_7); +x_21 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_19, x_7); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_free_object(x_16); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_free_object(x_17); lean_inc(x_1); -lean_inc(x_6); -x_21 = lean_apply_1(x_1, x_6); -x_22 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_22, 0, x_21); -x_23 = lean_box(x_3); +lean_inc(x_7); +x_22 = lean_apply_1(x_1, x_7); +x_23 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_23, 0, x_22); +x_24 = lean_box(x_3); +x_25 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_24 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1___boxed), 15, 6); -lean_closure_set(x_24, 0, x_1); -lean_closure_set(x_24, 1, x_2); -lean_closure_set(x_24, 2, x_23); -lean_closure_set(x_24, 3, x_4); -lean_closure_set(x_24, 4, x_5); -lean_closure_set(x_24, 5, x_6); -x_25 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12___rarg), 10, 2); -lean_closure_set(x_25, 0, x_22); -lean_closure_set(x_25, 1, x_24); +x_26 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1___boxed), 16, 7); +lean_closure_set(x_26, 0, x_1); +lean_closure_set(x_26, 1, x_2); +lean_closure_set(x_26, 2, x_24); +lean_closure_set(x_26, 3, x_25); +lean_closure_set(x_26, 4, x_5); +lean_closure_set(x_26, 5, x_6); +lean_closure_set(x_26, 6, x_7); +x_27 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg), 10, 2); +lean_closure_set(x_27, 0, x_23); +lean_closure_set(x_27, 1, x_26); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_26 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13(x_4, lean_box(0), x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_19); -lean_dec(x_4); -if (lean_obj_tag(x_26) == 0) +x_28 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15(x_5, lean_box(0), x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_20); +lean_dec(x_5); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -lean_inc(x_27); -x_29 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__2), 3, 2); -lean_closure_set(x_29, 0, x_6); -lean_closure_set(x_29, 1, x_27); -x_30 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_30, 0, x_7); -lean_closure_set(x_30, 1, x_29); -x_31 = lean_apply_9(x_5, lean_box(0), x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_28); -if (lean_obj_tag(x_31) == 0) +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_29); +x_31 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__2), 3, 2); +lean_closure_set(x_31, 0, x_7); +lean_closure_set(x_31, 1, x_29); +x_32 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_32, 0, x_8); +lean_closure_set(x_32, 1, x_31); +x_33 = lean_apply_9(x_6, lean_box(0), x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_30); +if (lean_obj_tag(x_33) == 0) { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -lean_ctor_set(x_31, 0, x_27); -return x_31; +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_29); +return x_33; } else { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_27); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_29); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } else { -uint8_t x_36; -lean_dec(x_27); -x_36 = !lean_is_exclusive(x_31); -if (x_36 == 0) +uint8_t x_38; +lean_dec(x_29); +x_38 = !lean_is_exclusive(x_33); +if (x_38 == 0) { -return x_31; +return x_33; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_31, 0); -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_31); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_33, 0); +x_40 = lean_ctor_get(x_33, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_33); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } else { -uint8_t x_40; +uint8_t x_42; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -18349,30 +18748,30 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_40 = !lean_is_exclusive(x_26); -if (x_40 == 0) +x_42 = !lean_is_exclusive(x_28); +if (x_42 == 0) { -return x_26; +return x_28; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_26, 0); -x_42 = lean_ctor_get(x_26, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_26); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_28, 0); +x_44 = lean_ctor_get(x_28, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_28); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } else { -lean_object* x_44; +lean_object* x_46; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -18382,124 +18781,126 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_44 = lean_ctor_get(x_20, 0); -lean_inc(x_44); -lean_dec(x_20); -lean_ctor_set(x_16, 0, x_44); -return x_16; +x_46 = lean_ctor_get(x_21, 0); +lean_inc(x_46); +lean_dec(x_21); +lean_ctor_set(x_17, 0, x_46); +return x_17; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_16, 0); -x_46 = lean_ctor_get(x_16, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_16); -lean_inc(x_6); -x_47 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_45, x_6); -if (lean_obj_tag(x_47) == 0) +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_17, 0); +x_48 = lean_ctor_get(x_17, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_17); +lean_inc(x_7); +x_49 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_47, x_7); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_inc(x_1); -lean_inc(x_6); -x_48 = lean_apply_1(x_1, x_6); -x_49 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_49, 0, x_48); -x_50 = lean_box(x_3); +lean_inc(x_7); +x_50 = lean_apply_1(x_1, x_7); +x_51 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_51, 0, x_50); +x_52 = lean_box(x_3); +x_53 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_51 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1___boxed), 15, 6); -lean_closure_set(x_51, 0, x_1); -lean_closure_set(x_51, 1, x_2); -lean_closure_set(x_51, 2, x_50); -lean_closure_set(x_51, 3, x_4); -lean_closure_set(x_51, 4, x_5); -lean_closure_set(x_51, 5, x_6); -x_52 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12___rarg), 10, 2); -lean_closure_set(x_52, 0, x_49); -lean_closure_set(x_52, 1, x_51); +x_54 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1___boxed), 16, 7); +lean_closure_set(x_54, 0, x_1); +lean_closure_set(x_54, 1, x_2); +lean_closure_set(x_54, 2, x_52); +lean_closure_set(x_54, 3, x_53); +lean_closure_set(x_54, 4, x_5); +lean_closure_set(x_54, 5, x_6); +lean_closure_set(x_54, 6, x_7); +x_55 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg), 10, 2); +lean_closure_set(x_55, 0, x_51); +lean_closure_set(x_55, 1, x_54); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_53 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13(x_4, lean_box(0), x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_46); -lean_dec(x_4); -if (lean_obj_tag(x_53) == 0) +x_56 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15(x_5, lean_box(0), x_55, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_48); +lean_dec(x_5); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -lean_inc(x_54); -x_56 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__2), 3, 2); -lean_closure_set(x_56, 0, x_6); -lean_closure_set(x_56, 1, x_54); -x_57 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_57, 0, x_7); -lean_closure_set(x_57, 1, x_56); -x_58 = lean_apply_9(x_5, lean_box(0), x_57, x_8, x_9, x_10, x_11, x_12, x_13, x_55); -if (lean_obj_tag(x_58) == 0) +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +lean_inc(x_57); +x_59 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__2), 3, 2); +lean_closure_set(x_59, 0, x_7); +lean_closure_set(x_59, 1, x_57); +x_60 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_60, 0, x_8); +lean_closure_set(x_60, 1, x_59); +x_61 = lean_apply_9(x_6, lean_box(0), x_60, x_9, x_10, x_11, x_12, x_13, x_14, x_58); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_60 = x_58; +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_63 = x_61; } else { - lean_dec_ref(x_58); - x_60 = lean_box(0); + lean_dec_ref(x_61); + x_63 = lean_box(0); } -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(0, 2, 0); } else { - x_61 = x_60; + x_64 = x_63; } -lean_ctor_set(x_61, 0, x_54); -lean_ctor_set(x_61, 1, x_59); -return x_61; +lean_ctor_set(x_64, 0, x_57); +lean_ctor_set(x_64, 1, x_62); +return x_64; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -lean_dec(x_54); -x_62 = lean_ctor_get(x_58, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_58, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_64 = x_58; +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_57); +x_65 = lean_ctor_get(x_61, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_67 = x_61; } else { - lean_dec_ref(x_58); - x_64 = lean_box(0); + lean_dec_ref(x_61); + x_67 = lean_box(0); } -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); } else { - x_65 = x_64; + x_68 = x_67; } -lean_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_63); -return x_65; +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; } } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -18508,32 +18909,32 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_66 = lean_ctor_get(x_53, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_53, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_68 = x_53; +x_69 = lean_ctor_get(x_56, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_56, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_71 = x_56; } else { - lean_dec_ref(x_53); - x_68 = lean_box(0); + lean_dec_ref(x_56); + x_71 = lean_box(0); } -if (lean_is_scalar(x_68)) { - x_69 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); } else { - x_69 = x_68; + x_72 = x_71; } -lean_ctor_set(x_69, 0, x_66); -lean_ctor_set(x_69, 1, x_67); -return x_69; +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +return x_72; } } else { -lean_object* x_70; lean_object* x_71; +lean_object* x_73; lean_object* x_74; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -18543,22 +18944,22 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_70 = lean_ctor_get(x_47, 0); -lean_inc(x_70); -lean_dec(x_47); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_46); -return x_71; +x_73 = lean_ctor_get(x_49, 0); +lean_inc(x_73); +lean_dec(x_49); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_48); +return x_74; } } } else { -uint8_t x_72; +uint8_t x_75; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -18568,26 +18969,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_16); -if (x_72 == 0) +x_75 = !lean_is_exclusive(x_17); +if (x_75 == 0) { -return x_16; +return x_17; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_16, 0); -x_74 = lean_ctor_get(x_16, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_16); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_17, 0); +x_77 = lean_ctor_get(x_17, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_17); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } } @@ -18634,78 +19034,78 @@ x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_12 = lean_box(0); -x_13 = l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__1; -x_14 = l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__2; -x_15 = lean_st_mk_ref(x_14, x_11); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_box(0); +x_14 = l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__1; +x_15 = l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__2; +x_16 = lean_st_mk_ref(x_15, x_12); +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -lean_inc(x_16); -x_18 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_2, x_3, x_4, x_12, x_13, x_1, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_18) == 0) +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_17); +x_19 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_2, x_3, x_4, x_5, x_13, x_14, x_1, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_st_ref_get(x_16, x_20); -lean_dec(x_16); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_st_ref_get(x_17, x_21); +lean_dec(x_17); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -lean_ctor_set(x_21, 0, x_19); -return x_21; +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +lean_ctor_set(x_22, 0, x_20); +return x_22; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_20); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } else { -uint8_t x_26; -lean_dec(x_16); -x_26 = !lean_is_exclusive(x_18); -if (x_26 == 0) +uint8_t x_27; +lean_dec(x_17); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) { -return x_18; +return x_19; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_18, 0); -x_28 = lean_ctor_get(x_18, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_18); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -18716,7 +19116,7 @@ lean_ctor_set(x_10, 1, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -18728,23 +19128,23 @@ lean_ctor_set(x_10, 1, x_8); return x_10; } } -static lean_object* _init_l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__1() { +static lean_object* _init_l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__1___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__1___boxed), 8, 0); return x_1; } } -static lean_object* _init_l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__2() { +static lean_object* _init_l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__2___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__2___boxed), 8, 0); return x_1; } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -18777,7 +19177,7 @@ lean_inc(x_12); x_18 = lean_infer_type(x_12, x_6, x_7, x_8, x_9, x_17); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); @@ -18789,116 +19189,117 @@ lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -x_24 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__1; -x_25 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__2; +x_24 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__1; +x_25 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__2; x_26 = 1; +x_27 = 0; lean_inc(x_9); lean_inc(x_8); -x_27 = l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1(x_22, x_24, x_25, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_23); -if (lean_obj_tag(x_27) == 0) +x_28 = l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1(x_22, x_24, x_25, x_26, x_27, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_elabLetDeclCore___spec__2___rarg(x_8, x_9, x_29); -if (lean_obj_tag(x_30) == 0) +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_elabLetDeclCore___spec__2___rarg(x_8, x_9, x_30); +if (lean_obj_tag(x_31) == 0) { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +uint8_t x_32; +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_30, 0); -x_33 = l_Lean_Expr_app___override(x_2, x_12); -x_34 = 0; -x_35 = l_Lean_Expr_forallE___override(x_32, x_28, x_16, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_33); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_30, 0, x_36); -return x_30; +lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_ctor_get(x_31, 0); +x_34 = l_Lean_Expr_app___override(x_2, x_12); +x_35 = 0; +x_36 = l_Lean_Expr_forallE___override(x_33, x_29, x_16, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_31, 0, x_37); +return x_31; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_37 = lean_ctor_get(x_30, 0); -x_38 = lean_ctor_get(x_30, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_38 = lean_ctor_get(x_31, 0); +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_30); -x_39 = l_Lean_Expr_app___override(x_2, x_12); -x_40 = 0; -x_41 = l_Lean_Expr_forallE___override(x_37, x_28, x_16, x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_39); -lean_ctor_set(x_42, 1, x_41); +lean_dec(x_31); +x_40 = l_Lean_Expr_app___override(x_2, x_12); +x_41 = 0; +x_42 = l_Lean_Expr_forallE___override(x_38, x_29, x_16, x_41); x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_38); -return x_43; +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_39); +return x_44; } } else { -uint8_t x_44; -lean_dec(x_28); +uint8_t x_45; +lean_dec(x_29); lean_dec(x_16); lean_dec(x_12); lean_dec(x_2); -x_44 = !lean_is_exclusive(x_30); -if (x_44 == 0) +x_45 = !lean_is_exclusive(x_31); +if (x_45 == 0) { -return x_30; +return x_31; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_30, 0); -x_46 = lean_ctor_get(x_30, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_31, 0); +x_47 = lean_ctor_get(x_31, 1); +lean_inc(x_47); lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_30); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_dec(x_31); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_48; +uint8_t x_49; lean_dec(x_16); lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -x_48 = !lean_is_exclusive(x_27); -if (x_48 == 0) +x_49 = !lean_is_exclusive(x_28); +if (x_49 == 0) { -return x_27; +return x_28; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_27, 0); -x_50 = lean_ctor_get(x_27, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_28, 0); +x_51 = lean_ctor_get(x_28, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_27); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_dec(x_28); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -uint8_t x_52; +uint8_t x_53; lean_dec(x_16); lean_dec(x_12); lean_dec(x_9); @@ -18908,29 +19309,29 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_52 = !lean_is_exclusive(x_18); -if (x_52 == 0) +x_53 = !lean_is_exclusive(x_18); +if (x_53 == 0) { return x_18; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_18, 0); -x_54 = lean_ctor_get(x_18, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_18, 0); +x_55 = lean_ctor_get(x_18, 1); +lean_inc(x_55); lean_inc(x_54); -lean_inc(x_53); lean_dec(x_18); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } else { -uint8_t x_56; +uint8_t x_57; lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); @@ -18939,28 +19340,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_56 = !lean_is_exclusive(x_15); -if (x_56 == 0) +x_57 = !lean_is_exclusive(x_15); +if (x_57 == 0) { return x_15; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_15, 0); -x_58 = lean_ctor_get(x_15, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_15, 0); +x_59 = lean_ctor_get(x_15, 1); +lean_inc(x_59); lean_inc(x_58); -lean_inc(x_57); lean_dec(x_15); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_2) == 0) @@ -19019,7 +19420,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_21 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3(x_14, x_13, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +x_21 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3(x_14, x_13, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_20); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; @@ -19115,7 +19516,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_37 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3(x_35, x_34, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_37 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3(x_35, x_34, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_37) == 0) { lean_object* x_38; lean_object* x_39; @@ -19170,18 +19571,20 @@ x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_2); lean_ctor_set(x_11, 1, x_3); x_12 = l_List_reverse___rarg(x_1); -x_13 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15(x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17(x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Elab_Term_ElabElim_revertArgs___spec__3(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -19205,24 +19608,45 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___lambda__1(x_1, x_2, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Elab_Term_ElabElim_revertArgs___spec__4(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -19246,24 +19670,45 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___lambda__1(x_1, x_2, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Elab_Term_ElabElim_revertArgs___spec__5(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ElabElim_revertArgs___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -19285,55 +19730,180 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___lambda__1(x_1, x_2, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Elab_Term_ElabElim_revertArgs___spec__6(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10(x_1, x_2, x_17, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_20; +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__10(x_1, x_2, x_18, x_19, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__11(x_1, x_2, x_18, x_19, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); +lean_dec(x_3); +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ElabElim_revertArgs___spec__12(x_1, x_2, x_18, x_19, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_3); +lean_dec(x_3); +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = l_Lean_Expr_withAppAux___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13(x_1, x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -19341,42 +19911,46 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14(x_1, x_2); +x_3 = l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Meta_withIncRecDepth___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___lambda__1(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit___at_Lean_Elab_Term_ElabElim_revertArgs___spec__2(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -19393,21 +19967,23 @@ lean_dec(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_4); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_4); lean_dec(x_4); -x_13 = l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -19418,11 +19994,11 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -20448,7 +21024,7 @@ static lean_object* _init_l_Lean_Elab_Term_ElabElim_finalize___lambda__4___close _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("( __do_lift._@.Lean.Elab.App._hyg.9739.0 ).args.isEmpty\n ", 62); +x_1 = lean_mk_string_from_bytes("( __do_lift._@.Lean.Elab.App._hyg.9748.0 ).args.isEmpty\n ", 62); return x_1; } } @@ -49452,7 +50028,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -49462,7 +50038,7 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -49472,27 +50048,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__2; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__2; x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__3; x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__5() { _start: { lean_object* x_1; @@ -49500,17 +50076,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__5; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__7() { _start: { lean_object* x_1; @@ -49518,37 +50094,37 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__6; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__7; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__6; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__8; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__8; x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__9; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__9; x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_5____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__11() { _start: { lean_object* x_1; @@ -49556,17 +50132,17 @@ x_1 = lean_mk_string_from_bytes("App", 3); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__10; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__11; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__10; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__13() { _start: { lean_object* x_1; @@ -49574,33 +50150,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__12; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__13; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__12; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__15() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__14; -x_2 = lean_unsigned_to_nat(25068u); +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__14; +x_2 = lean_unsigned_to_nat(25077u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__1; x_3 = 0; -x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__15; +x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__15; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -50000,18 +50576,18 @@ l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___clos lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___closed__1); l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___closed__2 = _init_l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___closed__2(); lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_Lean_Elab_Term_ElabElim_mkMotive___spec__2___closed__2); -l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__1(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__1); -l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__2(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__14___rarg___closed__2); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__1(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__1); +l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__2(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_ElabElim_revertArgs___spec__16___rarg___closed__2); l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__1 = _init_l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__1(); lean_mark_persistent(l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__1); l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__2 = _init_l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__2(); lean_mark_persistent(l_Lean_Meta_transform___at_Lean_Elab_Term_ElabElim_revertArgs___spec__1___closed__2); -l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__1 = _init_l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__1(); -lean_mark_persistent(l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__1); -l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__2 = _init_l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__2(); -lean_mark_persistent(l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__15___lambda__3___closed__2); +l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__1 = _init_l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__1(); +lean_mark_persistent(l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__1); +l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__2 = _init_l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__2(); +lean_mark_persistent(l_List_foldlM___at_Lean_Elab_Term_ElabElim_revertArgs___spec__17___lambda__3___closed__2); l_panic___at_Lean_Elab_Term_ElabElim_finalize___spec__5___closed__1 = _init_l_panic___at_Lean_Elab_Term_ElabElim_finalize___spec__5___closed__1(); lean_mark_persistent(l_panic___at_Lean_Elab_Term_ElabElim_finalize___spec__5___closed__1); l_panic___at_Lean_Elab_Term_ElabElim_finalize___spec__5___closed__2 = _init_l_panic___at_Lean_Elab_Term_ElabElim_finalize___spec__5___closed__2(); @@ -50561,37 +51137,37 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabProj_declRange___closed__ if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabProj_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__5); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__6); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__7); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__8); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__9); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__10); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__11); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__12); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__13); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__14); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__15 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068____closed__15); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25068_(lean_io_mk_world()); +}l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__6); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__7); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__8); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__9); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__10); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__11); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__12); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__13); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__14); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__15 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077____closed__15); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_25077_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 2a83a6f6de73..b214516653fa 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -14,7 +14,6 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__6; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandExplicitFun(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__2; @@ -39,7 +38,6 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomic static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__33; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMatchAltsWhereDecls_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__2; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_precheckFun___spec__2(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_declareTacticSyntax___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandExplicitFun___closed__1; @@ -57,7 +55,6 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderVi static lean_object* l___regBuiltin_Lean_Elab_Term_expandForall___closed__3; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__1; static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__5; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__13; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_expandForall___closed__1; @@ -75,6 +72,7 @@ static lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow_declRange___closed__4; lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__8; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__7; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -82,7 +80,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_expandExplicitFun_declRange___ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___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*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declRange___closed__2; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__5(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_elabLetDeclAux___lambda__5(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_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl___closed__1; @@ -112,10 +110,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandM lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabBinder___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkLetFunAnnotation(lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___rarg(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_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__6; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declRange(lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__12; @@ -145,6 +144,7 @@ static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__3 static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabForall___lambda__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_Elab_Term_expandFunBinders(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl(lean_object*); uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -158,7 +158,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun_ LEAN_EXPORT lean_object* l_Lean_Elab_Term_declareTacticSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__4; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabLetDeclAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); @@ -192,11 +191,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabFun___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFun___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__7; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__13; static lean_object* l_Lean_Elab_Term_expandSimpleBinderWithType___closed__4; extern lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute; lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandForall___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__11; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFun___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -212,7 +211,6 @@ LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Le static lean_object* l___regBuiltin_Lean_Elab_Term_expandForall___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabFun_declRange___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__15; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___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_Elab_Term_elabBindersEx___rarg(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_Elab_Binders_0__Lean_Elab_Term_elabBinderViews(lean_object*); @@ -233,6 +231,7 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderView LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___closed__2; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__6; @@ -246,6 +245,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___closed LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_expandFunBinders_loop___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_elabLetDeclCore___spec__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__18; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_2442____closed__2; @@ -260,7 +260,6 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabFun__ LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabFun_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__12; static lean_object* l___regBuiltin_Lean_Elab_Term_expandForall_declRange___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__3; @@ -268,6 +267,7 @@ lean_object* l_Lean_Macro_resolveGlobalName(lean_object*, lean_object*, lean_obj static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall___closed__4; static lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__1___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__15; static lean_object* l_Lean_Elab_Term_expandLetEqnsDecl___closed__1; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun___closed__2; @@ -296,7 +296,6 @@ static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchA lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__54; LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__14; lean_object* l_Array_unzip___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); @@ -311,7 +310,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandFunBinders_loop(lean_object*, le static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__2; lean_object* l_Lean_mkHole(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__3; lean_object* l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__22; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__6; @@ -368,8 +366,6 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow_declRange___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandForall_declRange(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__9; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___closed__3; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___closed__5; @@ -412,12 +408,12 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange( LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandForall___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___lambda__2(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_Elab_Binders_0__Lean_Elab_Term_getBinderIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__7; extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabForall(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398_(lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__30; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___closed__7; lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -430,6 +426,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkLetIdDeclView___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabFunBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabFun_declRange___closed__3; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__3; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__29; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -450,7 +447,6 @@ extern lean_object* l_Lean_Elab_macroAttribute; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_registerFailedToInferBinderTypeInfo___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabBinders___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__4; uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__36; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -476,8 +472,10 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow_declRange___closed__ static lean_object* l___regBuiltin_Lean_Elab_Term_expandForall_declRange___closed__7; static lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__5; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandForall_declRange___closed__2; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__5; lean_object* l_Lean_LocalContext_mkLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___boxed(lean_object**); static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun_declRange___closed__2; @@ -508,7 +506,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__4___boxed(lea static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange___closed__4; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__5; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__8; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__1(lean_object*); static lean_object* l_Lean_Elab_Term_expandForall___closed__3; lean_object* l_Lean_Elab_Term_Quotation_precheck(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -518,7 +515,6 @@ lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_expandWhereDecls___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__9; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabForall___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall_declRange___closed__4; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__50; @@ -529,6 +525,7 @@ static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclCore___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__1; +lean_object* l_Lean_Meta_mkLetFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -554,7 +551,6 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange___clo uint8_t l_Lean_Name_isAtomic(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__35; -lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckFun___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -573,7 +569,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBin lean_object* lean_environment_main_module(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_precheckFun___closed__2; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__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* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -618,6 +613,7 @@ lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, le static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__6; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__10; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_precheckFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_clearInMatch(lean_object*, lean_object*, lean_object*, lean_object*); @@ -634,9 +630,11 @@ lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow_declRange___closed__1; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_precheckArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__14; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__1; static lean_object* l_Lean_Elab_Term_expandForall___closed__5; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -644,6 +642,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow_declRange___closed__ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getAntiquotationIds___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_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__11; static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_precheckArrow___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -21885,63 +21884,56 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; +lean_object* x_13; +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_12 = l_Lean_Elab_Term_addLocalVarInfo(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) +x_13 = l_Lean_Elab_Term_addLocalVarInfo(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_box(0); -x_15 = 1; +lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_box(0); +x_16 = 1; +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -x_16 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_3, x_15, x_15, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_13); -if (lean_obj_tag(x_16) == 0) +x_17 = l_Lean_Elab_Term_elabTermEnsuringType(x_2, x_3, x_16, x_16, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_14); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_19); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Elab_Term_quoteAutoTactic___closed__44; -x_23 = lean_array_push(x_22, x_4); -x_24 = 0; -x_25 = 1; -x_26 = l_Lean_Meta_mkLambdaFVars(x_23, x_20, x_24, x_24, x_25, x_7, x_8, x_9, x_10, x_21); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -return x_26; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Meta_mkLetFun(x_5, x_4, x_21, x_8, x_9, x_10, x_11, x_22); +return x_23; } else { -uint8_t x_27; +uint8_t x_24; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -21949,29 +21941,30 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_27 = !lean_is_exclusive(x_16); -if (x_27 == 0) +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) { -return x_16; +return x_17; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_16, 0); -x_29 = lean_ctor_get(x_16, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_16); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_17, 0); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_17); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } else { -uint8_t x_31; +uint8_t x_28; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -21981,23 +21974,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_31 = !lean_is_exclusive(x_12); -if (x_31 == 0) +x_28 = !lean_is_exclusive(x_13); +if (x_28 == 0) { -return x_12; +return x_13; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_12, 0); -x_33 = lean_ctor_get(x_12, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_12); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_13, 0); +x_30 = lean_ctor_get(x_13, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_13); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } @@ -22126,10 +22119,12 @@ lean_dec(x_13); if (x_6 == 0) { lean_object* x_21; uint8_t x_22; lean_object* x_23; -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__5), 11, 3); +lean_inc(x_4); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__5), 12, 4); lean_closure_set(x_21, 0, x_7); lean_closure_set(x_21, 1, x_8); lean_closure_set(x_21, 2, x_9); +lean_closure_set(x_21, 3, x_4); x_22 = 0; lean_inc(x_19); lean_inc(x_18); @@ -22141,21 +22136,18 @@ lean_inc(x_5); x_23 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(x_10, x_22, x_5, x_21, x_11, x_14, x_15, x_16, x_17, x_18, x_19, x_20); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -lean_inc(x_4); -x_26 = l_Lean_Expr_app___override(x_24, x_4); -x_27 = l_Lean_mkLetFunAnnotation(x_26); -x_28 = l_Lean_Elab_Term_elabLetDeclAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_27, x_14, x_15, x_16, x_17, x_18, x_19, x_25); -return x_28; +x_26 = l_Lean_Elab_Term_elabLetDeclAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_24, x_14, x_15, x_16, x_17, x_18, x_19, x_25); +return x_26; } else { -uint8_t x_29; +uint8_t x_27; lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -22166,35 +22158,35 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_29 = !lean_is_exclusive(x_23); -if (x_29 == 0) +x_27 = !lean_is_exclusive(x_23); +if (x_27 == 0) { return x_23; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_23, 0); -x_31 = lean_ctor_get(x_23, 1); -lean_inc(x_31); -lean_inc(x_30); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_inc(x_28); lean_dec(x_23); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_box(x_12); -x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__6___boxed), 12, 4); -lean_closure_set(x_34, 0, x_7); -lean_closure_set(x_34, 1, x_8); -lean_closure_set(x_34, 2, x_9); -lean_closure_set(x_34, 3, x_33); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_box(x_12); +x_32 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabLetDeclAux___lambda__6___boxed), 12, 4); +lean_closure_set(x_32, 0, x_7); +lean_closure_set(x_32, 1, x_8); +lean_closure_set(x_32, 2, x_9); +lean_closure_set(x_32, 3, x_31); lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -22203,21 +22195,21 @@ lean_inc(x_15); lean_inc(x_14); lean_inc(x_4); lean_inc(x_5); -x_35 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(x_10, x_5, x_4, x_34, x_11, x_14, x_15, x_16, x_17, x_18, x_19, x_20); -if (lean_obj_tag(x_35) == 0) +x_33 = l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__2___rarg(x_10, x_5, x_4, x_32, x_11, x_14, x_15, x_16, x_17, x_18, x_19, x_20); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Elab_Term_elabLetDeclAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_36, x_14, x_15, x_16, x_17, x_18, x_19, x_37); -return x_38; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_Lean_Elab_Term_elabLetDeclAux___lambda__4(x_1, x_2, x_3, x_4, x_5, x_34, x_14, x_15, x_16, x_17, x_18, x_19, x_35); +return x_36; } else { -uint8_t x_39; +uint8_t x_37; lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -22228,23 +22220,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_39 = !lean_is_exclusive(x_35); -if (x_39 == 0) +x_37 = !lean_is_exclusive(x_33); +if (x_37 == 0) { -return x_35; +return x_33; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_35, 0); -x_41 = lean_ctor_get(x_35, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_35); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_33, 0); +x_39 = lean_ctor_get(x_33, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_33); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } @@ -23496,7 +23488,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(744u); +x_1 = lean_unsigned_to_nat(743u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23508,7 +23500,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(745u); +x_1 = lean_unsigned_to_nat(744u); x_2 = lean_unsigned_to_nat(129u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23536,7 +23528,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(744u); +x_1 = lean_unsigned_to_nat(743u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23548,7 +23540,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDecl_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(744u); +x_1 = lean_unsigned_to_nat(743u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23667,7 +23659,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(747u); +x_1 = lean_unsigned_to_nat(746u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23679,7 +23671,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(748u); +x_1 = lean_unsigned_to_nat(747u); x_2 = lean_unsigned_to_nat(130u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23707,7 +23699,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(747u); +x_1 = lean_unsigned_to_nat(746u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23719,7 +23711,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(747u); +x_1 = lean_unsigned_to_nat(746u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23839,7 +23831,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(750u); +x_1 = lean_unsigned_to_nat(749u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23851,7 +23843,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(751u); +x_1 = lean_unsigned_to_nat(750u); x_2 = lean_unsigned_to_nat(128u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23879,7 +23871,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(750u); +x_1 = lean_unsigned_to_nat(749u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23891,7 +23883,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetDelayedDecl_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(750u); +x_1 = lean_unsigned_to_nat(749u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24011,7 +24003,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(753u); +x_1 = lean_unsigned_to_nat(752u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24023,7 +24015,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(754u); +x_1 = lean_unsigned_to_nat(753u); x_2 = lean_unsigned_to_nat(128u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24051,7 +24043,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(753u); +x_1 = lean_unsigned_to_nat(752u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24063,7 +24055,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(753u); +x_1 = lean_unsigned_to_nat(752u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24109,7 +24101,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -24119,7 +24111,7 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -24129,27 +24121,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__2; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__2; x_2 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__3; x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__5() { _start: { lean_object* x_1; @@ -24157,17 +24149,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__5; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__7() { _start: { lean_object* x_1; @@ -24175,37 +24167,37 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__6; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__7; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__6; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__8; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__8; x_2 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__9; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__9; x_2 = l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__11() { _start: { lean_object* x_1; @@ -24213,17 +24205,17 @@ x_1 = lean_mk_string_from_bytes("Binders", 7); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__10; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__11; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__10; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__13() { _start: { lean_object* x_1; @@ -24231,33 +24223,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__12; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__13; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__12; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__15() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__14; -x_2 = lean_unsigned_to_nat(12398u); +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__14; +x_2 = lean_unsigned_to_nat(12369u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__1; x_3 = 0; -x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__15; +x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__15; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -25053,37 +25045,37 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___cl if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__5); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__6); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__7); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__8); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__9); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__10); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__11); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__12); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__13); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__14); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__15 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__15(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398____closed__15); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12398_(lean_io_mk_world()); +}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__6); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__7); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__8); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__9); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__10); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__11); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__12); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__13); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__14); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__15 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__15(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369____closed__15); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_12369_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index 32d586db8f27..dc4f1ab11006 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -432,7 +432,6 @@ lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Command_elabAxiom___spec__3___closed__1; -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualPreamble___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange___closed__1; @@ -487,6 +486,7 @@ static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1 LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAxiom___lambda__4(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_forInUnsafe_loop___at_Lean_Elab_Command_elabAttr___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandInitialize___lambda__1___closed__19; @@ -8138,7 +8138,7 @@ else lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_9 = lean_ctor_get(x_6, 0); x_10 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___lambda__1___closed__3; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_9, x_10, x_3, x_4, x_5); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__14(x_9, x_10, x_3, x_4, x_5); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { @@ -8257,7 +8257,7 @@ x_25 = lean_ctor_get(x_12, 0); lean_inc(x_25); lean_dec(x_12); x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutual___spec__1___closed__2; -x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_25, x_26, x_5, x_6, x_7); +x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__14(x_25, x_26, x_5, x_6, x_7); lean_dec(x_25); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) @@ -8328,7 +8328,7 @@ x_9 = lean_ctor_get(x_2, 0); lean_inc(x_9); lean_dec(x_2); x_10 = l_Lean_Elab_Command_elabMutual___lambda__2___closed__2; -x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_9, x_10, x_4, x_5, x_6); +x_11 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__14(x_9, x_10, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_9); x_12 = !lean_is_exclusive(x_11); @@ -8488,7 +8488,7 @@ x_32 = lean_ctor_get(x_7, 0); lean_inc(x_32); lean_dec(x_7); x_33 = l_Lean_Elab_Command_elabMutual___closed__4; -x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_32, x_33, x_2, x_3, x_4); +x_34 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__14(x_32, x_33, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_32); x_35 = !lean_is_exclusive(x_34); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 9cf4d4df8cca..4412b73ccb72 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -98,6 +98,7 @@ LEAN_EXPORT lean_object* l_List_allM___at___private_Lean_Elab_Inductive_0__Lean_ lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__4(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkParamsAndResultType___lambda__2(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_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Level_addOffsetAux(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses_check___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___lambda__1___closed__1; @@ -130,6 +131,7 @@ static lean_object* l_Lean_Elab_Command_instInhabitedCtorView___closed__3; static lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__4___closed__2; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_computeFixedIndexBitMask_go___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_checkResultingUniverses___spec__2(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_mk_array(lean_object*, lean_object*); @@ -187,7 +189,6 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkInductiveDecl___spec__14___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_Array_erase___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(lean_object*, lean_object*); uint8_t l_Lean_HashSetImp_contains___at_Lean_CollectFVars_visit___spec__1(lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_ibelow(lean_object*, lean_object*); @@ -371,7 +372,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_ch lean_object* l_Lean_Elab_Term_applyAttributesAt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_shouldInferResultUniverse___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams_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_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInductiveViews___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_append___rarg(lean_object*, lean_object*); @@ -385,7 +385,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidInductiveModifier___rarg_ LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_collectUniverses_go___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__4___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_fixedIndicesToParams___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedElabHeaderResult___closed__1; @@ -7745,7 +7745,7 @@ lean_closure_set(x_9, 0, x_1); lean_closure_set(x_9, 1, x_2); x_10 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors_checkParamOccs___closed__1; x_11 = 0; -x_12 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_3, x_9, x_10, x_11, x_4, x_5, x_6, x_7, x_8); +x_12 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_3, x_9, x_10, x_11, x_11, x_4, x_5, x_6, x_7, x_8); return x_12; } } @@ -10542,7 +10542,7 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -10585,7 +10585,7 @@ LEAN_EXPORT uint8_t l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMV lean_object* x_3; uint8_t x_4; x_3 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_3, 0, x_2); -x_4 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(x_1, x_3); +x_4 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(x_1, x_3); lean_dec(x_3); return x_4; } @@ -10600,11 +10600,11 @@ x_11 = l_Lean_Elab_Term_levelMVarToParam(x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_8 return x_11; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); diff --git a/stage0/stdlib/Lean/Elab/MacroArgUtil.c b/stage0/stdlib/Lean/Elab/MacroArgUtil.c index 9d7290098855..b59abab531f8 100644 --- a/stage0/stdlib/Lean/Elab/MacroArgUtil.c +++ b/stage0/stdlib/Lean/Elab/MacroArgUtil.c @@ -67,6 +67,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expand LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArg___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandMacroArg_mkAntiquotNode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArg_mkSyntaxAndPat___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandMacroArg_mkSyntaxAndPat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); @@ -110,7 +111,6 @@ static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_ex static lean_object* l_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArg___closed__7; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArg_mkSyntaxAndPat___closed__11; lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___lambda__2___closed__8; @@ -204,7 +204,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___spec__1___lambda__1___closed__1; -x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_10, x_11); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_10, x_11); lean_dec(x_10); if (x_12 == 0) { @@ -235,7 +235,7 @@ x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); x_20 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___spec__1___lambda__1___closed__1; -x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_19, x_20); +x_21 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_19, x_20); lean_dec(x_19); if (x_21 == 0) { @@ -415,7 +415,7 @@ x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); x_40 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___spec__1___lambda__1___closed__1; -x_41 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_39, x_40); +x_41 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_39, x_40); lean_dec(x_39); if (x_41 == 0) { @@ -638,7 +638,7 @@ x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); x_40 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___spec__1___lambda__1___closed__1; -x_41 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_39, x_40); +x_41 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_39, x_40); lean_dec(x_39); if (x_41 == 0) { @@ -913,7 +913,7 @@ x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); lean_dec(x_37); x_40 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___spec__1___lambda__1___closed__1; -x_41 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_39, x_40); +x_41 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_39, x_40); lean_dec(x_39); if (x_41 == 0) { @@ -1135,7 +1135,7 @@ x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); lean_dec(x_38); x_41 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandMacroArg_mkAntiquotNode___spec__1___lambda__1___closed__1; -x_42 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_40, x_41); +x_42 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_40, x_41); lean_dec(x_40); if (x_42 == 0) { diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 18c23a849e02..6ca914ba628c 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -26,6 +26,7 @@ static lean_object* l_Lean_Elab_Term_isAtomicDiscr___closed__3; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withExistingLocalDeclsImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__8(lean_object*, lean_object*, size_t, size_t); static lean_object* l_panic___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807_(lean_object*); lean_object* l_Lean_Elab_Term_getPatternVarNames(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -57,6 +58,7 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedTypeAndDiscrs___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_withLetDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__9___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__14; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2___closed__1; @@ -72,26 +74,27 @@ lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, l static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__1; lean_object* l_Lean_mkSimpleThunk(lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__4(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__3___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__2; LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__2(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__7___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_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__12___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visited___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__11___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visited___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__11(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__8; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__4; lean_object* l_Lean_RBNode_findCore___at___private_Lean_MetavarContext_0__Lean_MetavarContext_MkBinding_elimApp___spec__4(lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__5___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Meta_resetMVarUserNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -105,6 +108,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_ lean_object* l_Lean_Meta_Match_counterExamplesToMessageData(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__13(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__5; static lean_object* l_panic___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__2___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2___boxed(lean_object**); LEAN_EXPORT uint8_t l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar(lean_object*, lean_object*); @@ -113,13 +117,14 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabMatch_elabM LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_normalize___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalInstances___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__3(lean_object*); lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__8; lean_object* l_Lean_Meta_isExprDefEq(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*); static lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor___spec__1___rarg___closed__1; lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__3; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__11___boxed(lean_object*, lean_object*, lean_object*); @@ -131,14 +136,13 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_precheckMatch___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__4(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12___boxed(lean_object**); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(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_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__1(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_Elab_Match_0__Lean_Elab_Term_generalize___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_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap(lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withEqs___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); @@ -155,10 +159,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatte LEAN_EXPORT lean_object* l_Lean_mkHashMap___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f(lean_object*); lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(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_EXPORT lean_object* l_Lean_Elab_Term_precheckMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__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*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarsToGeneralize(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -177,14 +181,14 @@ lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9___lambda__1(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_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(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_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_pack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___closed__6; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__9; lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___closed__5; @@ -201,8 +205,8 @@ extern lean_object* l_Lean_ForEachExprWhere_initCache; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_addVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__4(lean_object*, lean_object*, size_t, size_t); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__6; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___boxed(lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_isAtomicDiscr___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getDiscrs(lean_object*); @@ -216,7 +220,6 @@ lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___closed__1; static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___closed__1; LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_TopSort_State_result___default; lean_object* lean_environment_find(lean_object*, lean_object*); @@ -231,7 +234,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatch lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_isExplicitPatternVar___spec__1(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__2; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__3; lean_object* l_Lean_Expr_arrayLit_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); @@ -257,7 +260,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElim lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_filterMapM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___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_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___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_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__6; @@ -265,12 +268,12 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0 lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_reportMatcherResultErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_precheckMatch___spec__3(size_t, size_t, lean_object*); uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabNoMatch(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_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__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_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__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_object*, lean_object*); lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__1(size_t, size_t, lean_object*); @@ -285,11 +288,9 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lea static lean_object* l_List_forIn_loop___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__1___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___lambda__4___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg___lambda__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___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___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_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_Quotation_precheckAttribute; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___closed__2; @@ -308,7 +309,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatch static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__12___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_GeneralizeResult_refined___default; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__11; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_unpack___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__3(size_t, size_t, lean_object*); @@ -326,7 +326,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchO extern lean_object* l_instInhabitedPUnit; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabNoMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___rarg___closed__1; static lean_object* l_Lean_Elab_Term_precheckMatch___closed__1; lean_object* l_Lean_Elab_Term_elabTermEnsuringType___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*); @@ -336,6 +335,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElim LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_processVar(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_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__8; static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__1; @@ -350,9 +350,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withInfoContext_x27___at_Lean_Elab_Term_ToD static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__7; LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445_(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_withNewLocals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__10; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_topSort_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_runST___rarg(lean_object*); @@ -377,7 +376,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNon LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f(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_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchOptMotive(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -391,7 +389,7 @@ lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___closed__2; lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(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_EXPORT lean_object* l_Lean_AssocList_foldlM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__7(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___closed__1; lean_object* l_Lean_mkInaccessible(lean_object*); @@ -401,6 +399,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0 LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5___closed__3; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5___closed__2; static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_packMatchTypePatterns___spec__1___closed__1; @@ -411,11 +410,10 @@ lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_runPendingTacticsAt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10___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_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10___boxed(lean_object**); uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch(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_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); @@ -441,13 +439,12 @@ lean_object* l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_ob uint8_t l_Array_contains___at_Lean_Elab_Term_collectUnassignedMVars_go___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_precheckMatch___lambda__1___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1___boxed(lean_object**); lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_isAtomicDiscr___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___closed__2; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__11; @@ -481,7 +478,6 @@ LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__9(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__6; lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Closure_mkBinding___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); @@ -489,6 +485,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElim lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS(lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_topSort_visit___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_Elab_Term_ToDepElimPattern_normalize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -496,15 +493,15 @@ lean_object* l_Lean_Elab_Term_mkTermInfo(lean_object*, lean_object*, lean_object LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__7(size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___lambda__2___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1(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_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6___lambda__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_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withDepElimPatterns___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_forM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_markIsDep(lean_object*); @@ -518,10 +515,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Ma lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_unpack_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__5___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__10; extern lean_object* l_Lean_Elab_Term_termElabAttribute; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_isExplicitPatternVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -530,17 +529,17 @@ uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_match_ignoreUnusedAlts; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__9; lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__3; LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalInstances___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11___boxed(lean_object**); lean_object* l_Lean_throwError___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__50(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_elem___at_Lean_Meta_Occurrences_contains___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__4___closed__2; lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isPatternWithRef___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -549,7 +548,6 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltVi LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isMissing(lean_object*); lean_object* l_Lean_Elab_pushInfoLeaf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_processInaccessible(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Term_ToDepElimPattern_normalize___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -596,7 +594,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withToCle LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateFirst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__2; lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__12; static lean_object* l_Lean_Elab_Term_isAtomicDiscr___closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__4___closed__2; lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); @@ -606,7 +603,6 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPat LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visited___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__11___rarg___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_instantiateAltLHSMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__8; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3f___closed__3; static lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___closed__2; @@ -621,6 +617,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_State_patternVars___d lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__2; lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVarsUsingDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_exprDependsOn___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -638,7 +635,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0 uint8_t l_Lean_Meta_isMatchValue(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_Context_userName___default; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__15(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__14; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElimPattern_savePatternInfo_go___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -651,6 +647,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabMatch_el LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5___closed__5; extern lean_object* l_Lean_Elab_abortTermExceptionId; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_updateMatchType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -664,6 +661,7 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux__ LEAN_EXPORT lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__8___rarg(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_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__7; static lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3___closed__1; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2___closed__1; @@ -672,6 +670,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withEqs(l LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___rarg___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandMacrosInPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__13; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__13; size_t lean_usize_mod(size_t, size_t); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -680,6 +679,7 @@ static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Ela size_t lean_hashmap_mk_idx(lean_object*, uint64_t); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__7___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedTypeAndDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -707,6 +707,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElim static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_precheckMatch___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2(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_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_throwEx___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -720,6 +721,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Matc lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goType___spec__2(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_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Match_0__Lean_Elab_Term_mkUserNameFor___spec__1___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5___closed__4; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__2___closed__1; @@ -731,7 +733,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withToCle LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__5(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_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__4___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -747,7 +749,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___lambda_ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__14; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withDepElimPatterns(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___lambda__1___closed__3; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__3___closed__1; @@ -756,7 +758,7 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isPatternVar__ static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__10___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize(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_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___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_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_precheckMatch___spec__5___closed__2; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__9; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch(lean_object*); @@ -793,8 +795,6 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMa lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_addVar___closed__1; LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__6(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__6; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* lean_environment_main_module(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__23(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -814,10 +814,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabAtomi LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__18(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_MetavarContext_0__Lean_DependsOn_dep_visitApp___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__4___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getIndexToInclude_x3f___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_ForEachExprWhere_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__9(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg___lambda__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_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__6(lean_object*, size_t, size_t); uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_473_(uint8_t, uint8_t); @@ -828,16 +828,14 @@ static lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__1___closed__1; static lean_object* l_Lean_addTrace___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__5___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_RBTree_toList___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__7; +static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__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*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__4; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_patternWithRef_x3f(lean_object*); @@ -862,7 +860,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withPatte LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_ToDepElimPattern_normalize___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___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_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -874,6 +872,7 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMa LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandMacrosInPatterns(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__2; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -896,7 +895,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_ToDepElimPattern_ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(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*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(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_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___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_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); @@ -919,6 +918,7 @@ lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_precheckMatch___lambda__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); @@ -927,11 +927,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMatch_elabMatchDefault(lean_object LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5___closed__1; LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_precheckMatch___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__2; lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main_pack___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__1___closed__1; @@ -956,7 +955,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0 static lean_object* l___regBuiltin_Lean_Elab_Term_elabNoMatch___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible_declRange(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__50___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__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*); uint8_t l_Lean_Expr_hasFVar(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -979,7 +978,6 @@ static lean_object* l_Lean_Elab_Term_elabNoMatch___closed__3; LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_applyRefMap___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__5; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_eraseIndices___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -991,11 +989,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatch LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_topSort___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_collectDeps___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedDiscr___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedDiscr___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchCore___spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_withInPattern___at_Lean_Elab_Term_ToDepElimPattern_main___spec__3___closed__2; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13(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* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__11; @@ -1009,6 +1007,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main(lean_object*); lean_object* l_Lean_Meta_sortFVarIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_setTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__1; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_goIndex___spec__1___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible___closed__5; @@ -1028,12 +1027,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatch static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Term_elabInaccessible_declRange___closed__6; static lean_object* l_Lean_Elab_Term_ToDepElimPattern_normalize_processVar___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_containsFVar___spec__1(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__15(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_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main___spec__6___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_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_generalize___spec__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1064,6 +1064,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__7; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___lambda__1___closed__2; static lean_object* l_Lean_Elab_Term_isAtomicDiscr___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__15___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_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_savePatternInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1075,9 +1076,9 @@ lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object* static lean_object* l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___closed__6; static lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__5(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__4; static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1; uint8_t l_Lean_Expr_isFVar(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_findDiscrRefinementPath_checkCompatibleApps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1093,11 +1094,13 @@ static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isMatchUnit_x3 lean_object* l_Lean_Expr_consumeMData(lean_object*); static lean_object* l_Lean_Elab_Term_precheckMatch___closed__2; lean_object* l_String_toSubstring_x27(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_isAtomicDiscr___spec__1___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_unpack_go(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_precheckIdent___spec__1___rarg(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___lambda__7___closed__1; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__2; lean_object* l_Lean_Expr_ReplaceImpl_Cache_store(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_packMatchTypePatterns___spec__1___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_ToDepElimPattern_main_pack___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1139,6 +1142,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Match_0 LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__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*); uint8_t l_Array_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalInstances___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltView___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__1() { _start: { @@ -2520,28 +2524,29 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; +lean_object* x_16; lean_inc(x_2); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_15 = lean_apply_8(x_2, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_15) == 0) +lean_inc(x_7); +x_16 = lean_apply_8(x_2, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -switch (lean_obj_tag(x_16)) { +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +switch (lean_obj_tag(x_17)) { case 0: { -uint8_t x_17; +uint8_t x_18; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -2551,119 +2556,118 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_15, 0); -lean_dec(x_18); +lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_16, 0); -lean_inc(x_19); -lean_dec(x_16); -lean_ctor_set(x_15, 0, x_19); -return x_15; +lean_dec(x_19); +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +lean_dec(x_17); +lean_ctor_set(x_16, 0, x_20); +return x_16; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_ctor_get(x_16, 0); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 1); lean_inc(x_21); lean_dec(x_16); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; } } case 1: { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_6); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); -lean_dec(x_15); -x_24 = lean_ctor_get(x_16, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_7); +x_24 = lean_ctor_get(x_16, 1); lean_inc(x_24); lean_dec(x_16); -x_25 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); -return x_25; +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +lean_dec(x_17); +x_26 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +return x_26; } default: { -lean_object* x_26; +lean_object* x_27; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_26 = lean_ctor_get(x_16, 0); -lean_inc(x_26); -lean_dec(x_16); -if (lean_obj_tag(x_26) == 0) +x_27 = lean_ctor_get(x_17, 0); +lean_inc(x_27); +lean_dec(x_17); +if (lean_obj_tag(x_27) == 0) { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_15); -if (x_27 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) { -lean_object* x_28; -x_28 = lean_ctor_get(x_15, 0); -lean_dec(x_28); -lean_ctor_set(x_15, 0, x_6); -return x_15; +lean_object* x_29; +x_29 = lean_ctor_get(x_16, 0); +lean_dec(x_29); +lean_ctor_set(x_16, 0, x_7); +return x_16; } else { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_15, 1); -lean_inc(x_29); -lean_dec(x_15); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_6); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_16, 1); +lean_inc(x_30); +lean_dec(x_16); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_7); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { -uint8_t x_31; -lean_dec(x_6); -x_31 = !lean_is_exclusive(x_15); -if (x_31 == 0) +uint8_t x_32; +lean_dec(x_7); +x_32 = !lean_is_exclusive(x_16); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_15, 0); -lean_dec(x_32); -x_33 = lean_ctor_get(x_26, 0); -lean_inc(x_33); -lean_dec(x_26); -lean_ctor_set(x_15, 0, x_33); -return x_15; +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_16, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +lean_dec(x_27); +lean_ctor_set(x_16, 0, x_34); +return x_16; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_15, 1); -lean_inc(x_34); -lean_dec(x_15); -x_35 = lean_ctor_get(x_26, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_16, 1); lean_inc(x_35); -lean_dec(x_26); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; +lean_dec(x_16); +x_36 = lean_ctor_get(x_27, 0); +lean_inc(x_36); +lean_dec(x_27); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; } } } @@ -2671,7 +2675,8 @@ return x_36; } else { -uint8_t x_37; +uint8_t x_38; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -2681,26 +2686,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_15); -if (x_37 == 0) +x_38 = !lean_is_exclusive(x_16); +if (x_38 == 0) { -return x_15; +return x_16; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_15, 0); -x_39 = lean_ctor_get(x_15, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_16, 0); +x_40 = lean_ctor_get(x_16, 1); +lean_inc(x_40); lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_15); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_dec(x_16); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } @@ -2777,206 +2781,208 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_E return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_push(x_1, x_8); -x_18 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_push(x_1, x_9); +x_19 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -if (lean_obj_tag(x_7) == 6) +if (lean_obj_tag(x_8) == 6) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_8, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 2); +x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_20 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_19 = lean_ctor_get(x_8, 2); +lean_inc(x_19); +x_20 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_21 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_box(x_3); -x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1___boxed), 16, 7); -lean_closure_set(x_25, 0, x_6); -lean_closure_set(x_25, 1, x_1); -lean_closure_set(x_25, 2, x_2); -lean_closure_set(x_25, 3, x_24); -lean_closure_set(x_25, 4, x_4); -lean_closure_set(x_25, 5, x_5); -lean_closure_set(x_25, 6, x_18); -x_26 = 0; -x_27 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__7___rarg(x_16, x_19, x_22, x_25, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -return x_27; +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_box(x_3); +x_26 = lean_box(x_4); +x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1___boxed), 17, 8); +lean_closure_set(x_27, 0, x_7); +lean_closure_set(x_27, 1, x_1); +lean_closure_set(x_27, 2, x_2); +lean_closure_set(x_27, 3, x_25); +lean_closure_set(x_27, 4, x_26); +lean_closure_set(x_27, 5, x_5); +lean_closure_set(x_27, 6, x_6); +lean_closure_set(x_27, 7, x_19); +x_28 = 0; +x_29 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__7___rarg(x_17, x_20, x_23, x_27, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); +return x_29; } else { -uint8_t x_28; -lean_dec(x_18); -lean_dec(x_16); +uint8_t x_30; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) +x_30 = !lean_is_exclusive(x_22); +if (x_30 == 0) { -return x_21; +return x_22; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 0); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_34; lean_object* x_35; +x_34 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_33) == 0) +x_35 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = 0; -x_37 = 1; -x_38 = l_Lean_Meta_mkLambdaFVars(x_6, x_34, x_36, x_3, x_37, x_11, x_12, x_13, x_14, x_35); -if (lean_obj_tag(x_38) == 0) +lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 0; +x_39 = 1; +x_40 = l_Lean_Meta_mkLambdaFVars(x_7, x_36, x_38, x_3, x_39, x_12, x_13, x_14, x_15, x_37); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_40); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_42); +return x_43; } else { -uint8_t x_42; +uint8_t x_44; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) { -return x_38; +return x_40; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_38); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 0); +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_40); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_46; +uint8_t x_48; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_33); -if (x_46 == 0) +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) { -return x_33; +return x_35; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_33, 0); -x_48 = lean_ctor_get(x_33, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_33); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_35); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } @@ -3046,206 +3052,208 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_E return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_push(x_1, x_8); -x_18 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_push(x_1, x_9); +x_19 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -if (lean_obj_tag(x_7) == 7) +if (lean_obj_tag(x_8) == 7) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_8, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 2); +x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_20 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_19 = lean_ctor_get(x_8, 2); +lean_inc(x_19); +x_20 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_21 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_box(x_3); -x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1___boxed), 16, 7); -lean_closure_set(x_25, 0, x_6); -lean_closure_set(x_25, 1, x_1); -lean_closure_set(x_25, 2, x_2); -lean_closure_set(x_25, 3, x_24); -lean_closure_set(x_25, 4, x_4); -lean_closure_set(x_25, 5, x_5); -lean_closure_set(x_25, 6, x_18); -x_26 = 0; -x_27 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__8___rarg(x_16, x_19, x_22, x_25, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -return x_27; +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_box(x_3); +x_26 = lean_box(x_4); +x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1___boxed), 17, 8); +lean_closure_set(x_27, 0, x_7); +lean_closure_set(x_27, 1, x_1); +lean_closure_set(x_27, 2, x_2); +lean_closure_set(x_27, 3, x_25); +lean_closure_set(x_27, 4, x_26); +lean_closure_set(x_27, 5, x_5); +lean_closure_set(x_27, 6, x_6); +lean_closure_set(x_27, 7, x_19); +x_28 = 0; +x_29 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__8___rarg(x_17, x_20, x_23, x_27, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); +return x_29; } else { -uint8_t x_28; -lean_dec(x_18); -lean_dec(x_16); +uint8_t x_30; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) +x_30 = !lean_is_exclusive(x_22); +if (x_30 == 0) { -return x_21; +return x_22; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 0); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_34; lean_object* x_35; +x_34 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_33) == 0) +x_35 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = 0; -x_37 = 1; -x_38 = l_Lean_Meta_mkForallFVars(x_6, x_34, x_36, x_3, x_37, x_11, x_12, x_13, x_14, x_35); -if (lean_obj_tag(x_38) == 0) +lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 0; +x_39 = 1; +x_40 = l_Lean_Meta_mkForallFVars(x_7, x_36, x_38, x_3, x_39, x_12, x_13, x_14, x_15, x_37); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_40); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_42); +return x_43; } else { -uint8_t x_42; +uint8_t x_44; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) { -return x_38; +return x_40; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_38); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 0); +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_40); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_46; +uint8_t x_48; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_33); -if (x_46 == 0) +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) { -return x_33; +return x_35; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_33, 0); -x_48 = lean_ctor_get(x_33, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_33); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_35); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } @@ -3315,513 +3323,900 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at___private_Lean_Ela return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_push(x_1, x_8); -x_18 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_push(x_1, x_9); +x_19 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -if (lean_obj_tag(x_7) == 8) +if (lean_obj_tag(x_8) == 8) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_8, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 2); +x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_7, 3); +x_19 = lean_ctor_get(x_8, 2); lean_inc(x_19); -lean_dec(x_7); -x_20 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_20 = lean_ctor_get(x_8, 3); +lean_inc(x_20); +lean_dec(x_8); +x_21 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_expr_instantiate_rev(x_18, x_6); -lean_dec(x_18); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_expr_instantiate_rev(x_19, x_7); +lean_dec(x_19); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_25 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -if (lean_obj_tag(x_25) == 0) +x_26 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_box(x_3); -x_29 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1___boxed), 16, 7); -lean_closure_set(x_29, 0, x_6); -lean_closure_set(x_29, 1, x_1); -lean_closure_set(x_29, 2, x_2); -lean_closure_set(x_29, 3, x_28); -lean_closure_set(x_29, 4, x_4); -lean_closure_set(x_29, 5, x_5); -lean_closure_set(x_29, 6, x_19); -x_30 = 0; -x_31 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__9___rarg(x_16, x_22, x_26, x_29, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_27); -return x_31; +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_box(x_3); +x_30 = lean_box(x_4); +x_31 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1___boxed), 17, 8); +lean_closure_set(x_31, 0, x_7); +lean_closure_set(x_31, 1, x_1); +lean_closure_set(x_31, 2, x_2); +lean_closure_set(x_31, 3, x_29); +lean_closure_set(x_31, 4, x_30); +lean_closure_set(x_31, 5, x_5); +lean_closure_set(x_31, 6, x_6); +lean_closure_set(x_31, 7, x_20); +x_32 = 0; +x_33 = l_Lean_Meta_withLetDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__9___rarg(x_17, x_23, x_27, x_31, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_28); +return x_33; } else { -uint8_t x_32; -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_16); +uint8_t x_34; +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_25); -if (x_32 == 0) +x_34 = !lean_is_exclusive(x_26); +if (x_34 == 0) { -return x_25; +return x_26; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_25, 0); -x_34 = lean_ctor_get(x_25, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_25); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_26, 0); +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_26); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } else { -uint8_t x_36; +uint8_t x_38; +lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_21); -if (x_36 == 0) +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) { -return x_21; +return x_22; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_21, 0); -x_38 = lean_ctor_get(x_21, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_21); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_22, 0); +x_40 = lean_ctor_get(x_22, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_22); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_42; lean_object* x_43; +x_42 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_41 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_41) == 0) +x_43 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_42, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = 0; -x_45 = 1; -x_46 = l_Lean_Meta_mkLambdaFVars(x_6, x_42, x_44, x_3, x_45, x_11, x_12, x_13, x_14, x_43); -if (lean_obj_tag(x_46) == 0) +lean_object* x_44; lean_object* x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = 0; +x_47 = 1; +x_48 = l_Lean_Meta_mkLambdaFVars(x_7, x_44, x_46, x_3, x_47, x_12, x_13, x_14, x_15, x_45); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_47, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_49, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_50); +return x_51; } else { -uint8_t x_50; +uint8_t x_52; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) +x_52 = !lean_is_exclusive(x_48); +if (x_52 == 0) { -return x_46; +return x_48; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_46, 0); -x_52 = lean_ctor_get(x_46, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_46); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_48, 0); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_48); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -uint8_t x_54; +uint8_t x_56; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_54 = !lean_is_exclusive(x_41); -if (x_54 == 0) +x_56 = !lean_is_exclusive(x_43); +if (x_56 == 0) { -return x_41; +return x_43; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_41, 0); -x_56 = lean_ctor_get(x_41, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_41); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_43, 0); +x_58 = lean_ctor_get(x_43, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_43); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_7, x_6); -if (x_17 == 0) +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_8, x_7); +if (x_18 == 0) { -lean_object* x_18; +lean_object* x_19; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_8); -lean_ctor_set(x_18, 1, x_16); -return x_18; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_array_uget(x_8, x_7); -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_array_uset(x_8, x_7, x_20); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_array_uget(x_9, x_8); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_9, x_8, x_21); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = 1; -x_26 = lean_usize_add(x_7, x_25); -x_27 = lean_array_uset(x_21, x_7, x_23); -x_7 = x_26; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_8, x_26); +x_28 = lean_array_uset(x_22, x_8, x_24); x_8 = x_27; -x_16 = x_24; +x_9 = x_28; +x_17 = x_25; goto _start; } else { -uint8_t x_29; -lean_dec(x_21); +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_22); -if (x_29 == 0) +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) { -return x_22; +return x_23; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_22, 0); -x_31 = lean_ctor_get(x_22, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_22); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_dec(x_23); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_6) == 5) +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_8, x_7); +if (x_18 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_6, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_6, 1); -lean_inc(x_18); +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_6); -x_19 = lean_array_set(x_7, x_8, x_18); -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_sub(x_8, x_20); -lean_dec(x_8); -x_6 = x_17; -x_7 = x_19; -x_8 = x_21; -goto _start; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -lean_object* x_23; -lean_dec(x_8); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_array_uget(x_9, x_8); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_9, x_8, x_21); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = lean_array_get_size(x_7); -x_27 = lean_usize_of_nat(x_26); -lean_dec(x_26); -x_28 = 0; +x_26 = 1; +x_27 = lean_usize_add(x_8, x_26); +x_28 = lean_array_uset(x_22, x_8, x_24); +x_8 = x_27; +x_9 = x_28; +x_17 = x_25; +goto _start; +} +else +{ +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_23); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_8, x_7); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_array_uget(x_9, x_8); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_9, x_8, x_21); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10(x_1, x_2, x_3, x_4, x_5, x_27, x_28, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25); -if (lean_obj_tag(x_29) == 0) +x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_8, x_26); +x_28 = lean_array_uset(x_22, x_8, x_24); +x_8 = x_27; +x_9 = x_28; +x_17 = x_25; +goto _start; +} +else +{ +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_mkAppN(x_24, x_30); -x_33 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_31); +lean_dec(x_23); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); return x_33; } +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +if (lean_obj_tag(x_7) == 5) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_7, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 1); +lean_inc(x_19); +lean_dec(x_7); +x_20 = lean_array_set(x_8, x_9, x_19); +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_sub(x_9, x_21); +lean_dec(x_9); +x_7 = x_18; +x_8 = x_20; +x_9 = x_22; +goto _start; +} else { -uint8_t x_34; +lean_dec(x_9); +if (x_4 == 0) +{ +lean_object* x_24; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_24 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); lean_dec(x_24); +x_27 = lean_array_get_size(x_8); +x_28 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_29 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_28, x_29, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_26); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_mkAppN(x_25, x_31); +x_34 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_33, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_32); +return x_34; +} +else +{ +uint8_t x_35; +lean_dec(x_25); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) { -return x_29; +return x_30; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_30, 0); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_dec(x_30); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } else { -uint8_t x_38; +uint8_t x_39; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); +lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_23); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_24); +if (x_39 == 0) { -return x_23; +return x_24; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_23, 0); -x_40 = lean_ctor_get(x_23, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_24, 0); +x_41 = lean_ctor_get(x_24, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_23); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_dec(x_24); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +x_43 = l_Lean_Expr_isConst(x_7); +if (x_43 == 0) +{ +lean_object* x_44; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_44 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; lean_object* x_50; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_array_get_size(x_8); +x_48 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_49 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_50 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_48, x_49, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_46); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l_Lean_mkAppN(x_45, x_51); +x_54 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_53, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_52); +return x_54; +} +else +{ +uint8_t x_55; +lean_dec(x_45); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_50); +if (x_55 == 0) +{ +return x_50; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_50, 0); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_50); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_59 = !lean_is_exclusive(x_44); +if (x_59 == 0) +{ +return x_44; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_44, 0); +x_61 = lean_ctor_get(x_44, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_44); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; +} +} +} +else +{ +lean_object* x_63; size_t x_64; size_t x_65; lean_object* x_66; +x_63 = lean_array_get_size(x_8); +x_64 = lean_usize_of_nat(x_63); +lean_dec(x_63); +x_65 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_66 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_64, x_65, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = l_Lean_mkAppN(x_7, x_67); +x_70 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_69, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_68); +return x_70; } +else +{ +uint8_t x_71; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_71 = !lean_is_exclusive(x_66); +if (x_71 == 0) +{ +return x_66; } +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_66, 0); +x_73 = lean_ctor_get(x_66, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_66); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +} +} +} +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -3876,15 +4271,15 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12___rarg), 10, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg), 10, 0); return x_3; } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__1() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -3894,21 +4289,21 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__2() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__1; +x_1 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__2; +x_7 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__2; x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_7); @@ -3918,15 +4313,15 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___boxed), 6, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___boxed), 6, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; @@ -4121,7 +4516,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_60 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg(x_17, x_7, x_8, x_9, x_10, x_11); +x_60 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg(x_17, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4156,286 +4551,286 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; -switch (lean_obj_tag(x_7)) { +lean_object* x_17; +switch (lean_obj_tag(x_8)) { case 0: { -lean_object* x_63; lean_object* x_64; +lean_object* x_64; lean_object* x_65; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_63 = lean_ctor_get(x_7, 0); -lean_inc(x_63); -lean_dec(x_7); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_15); -return x_64; +x_64 = lean_ctor_get(x_8, 0); +lean_inc(x_64); +lean_dec(x_8); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_16); +return x_65; } case 1: { -lean_object* x_65; lean_object* x_66; -lean_dec(x_6); -x_65 = lean_ctor_get(x_7, 0); -lean_inc(x_65); +lean_object* x_66; lean_object* x_67; lean_dec(x_7); -x_66 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_66; +x_66 = lean_ctor_get(x_8, 0); +lean_inc(x_66); +lean_dec(x_8); +x_67 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_66, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_67; } default: { -lean_object* x_67; -x_67 = lean_ctor_get(x_7, 0); -lean_inc(x_67); -lean_dec(x_7); -if (lean_obj_tag(x_67) == 0) +lean_object* x_68; +x_68 = lean_ctor_get(x_8, 0); +lean_inc(x_68); +lean_dec(x_8); +if (lean_obj_tag(x_68) == 0) { -x_16 = x_6; -goto block_62; +x_17 = x_7; +goto block_63; } else { -lean_object* x_68; -lean_dec(x_6); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -lean_dec(x_67); -x_16 = x_68; -goto block_62; +lean_object* x_69; +lean_dec(x_7); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +lean_dec(x_68); +x_17 = x_69; +goto block_63; } } } -block_62: +block_63: { -switch (lean_obj_tag(x_16)) { +switch (lean_obj_tag(x_17)) { case 5: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = lean_unsigned_to_nat(0u); -x_18 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_16, x_17); -x_19 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___closed__1; -lean_inc(x_18); -x_20 = lean_mk_array(x_18, x_19); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_sub(x_18, x_21); -lean_dec(x_18); -x_23 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11(x_1, x_2, x_3, x_4, x_5, x_16, x_20, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_23; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_17, x_18); +x_20 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___closed__1; +lean_inc(x_19); +x_21 = lean_mk_array(x_19, x_20); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_19, x_22); +lean_dec(x_19); +x_24 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_21, x_23, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_24; } case 6: { -lean_object* x_24; lean_object* x_25; -x_24 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__12; -x_25 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(x_1, x_2, x_3, x_4, x_5, x_24, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_25; +lean_object* x_25; lean_object* x_26; +x_25 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__12; +x_26 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_26; } case 7: { -lean_object* x_26; lean_object* x_27; -x_26 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__12; -x_27 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(x_1, x_2, x_3, x_4, x_5, x_26, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_27; +lean_object* x_27; lean_object* x_28; +x_27 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__12; +x_28 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_27, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_28; } case 8: { -lean_object* x_28; lean_object* x_29; -x_28 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__12; -x_29 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(x_1, x_2, x_3, x_4, x_5, x_28, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_29; +lean_object* x_29; lean_object* x_30; +x_29 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__12; +x_30 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_29, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_30; } case 10: { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_16, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); lean_inc(x_31); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_31); +lean_inc(x_32); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_32 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_32) == 0) +x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; uint8_t x_37; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; uint8_t x_38; +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_ptr_addr(x_32); lean_dec(x_32); -x_35 = lean_ptr_addr(x_31); -lean_dec(x_31); -x_36 = lean_ptr_addr(x_33); -x_37 = lean_usize_dec_eq(x_35, x_36); -if (x_37 == 0) +x_37 = lean_ptr_addr(x_34); +x_38 = lean_usize_dec_eq(x_36, x_37); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; -lean_dec(x_16); -x_38 = l_Lean_Expr_mdata___override(x_30, x_33); -x_39 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -return x_39; +lean_object* x_39; lean_object* x_40; +lean_dec(x_17); +x_39 = l_Lean_Expr_mdata___override(x_31, x_34); +x_40 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_35); +return x_40; } else { -lean_object* x_40; -lean_dec(x_33); -lean_dec(x_30); -x_40 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -return x_40; +lean_object* x_41; +lean_dec(x_34); +lean_dec(x_31); +x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_35); +return x_41; } } else { -uint8_t x_41; +uint8_t x_42; +lean_dec(x_32); lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_41 = !lean_is_exclusive(x_32); -if (x_41 == 0) +x_42 = !lean_is_exclusive(x_33); +if (x_42 == 0) { -return x_32; +return x_33; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_32, 0); -x_43 = lean_ctor_get(x_32, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_33, 0); +x_44 = lean_ctor_get(x_33, 1); +lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_32); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_dec(x_33); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } case 11: { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_16, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_16, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_17, 0); lean_inc(x_46); -x_47 = lean_ctor_get(x_16, 2); +x_47 = lean_ctor_get(x_17, 1); lean_inc(x_47); +x_48 = lean_ctor_get(x_17, 2); +lean_inc(x_48); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_47); +lean_inc(x_48); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_48 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_47, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_48) == 0) +x_49 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_48, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; uint8_t x_53; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); +lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_ptr_addr(x_48); lean_dec(x_48); -x_51 = lean_ptr_addr(x_47); -lean_dec(x_47); -x_52 = lean_ptr_addr(x_49); -x_53 = lean_usize_dec_eq(x_51, x_52); -if (x_53 == 0) +x_53 = lean_ptr_addr(x_50); +x_54 = lean_usize_dec_eq(x_52, x_53); +if (x_54 == 0) { -lean_object* x_54; lean_object* x_55; -lean_dec(x_16); -x_54 = l_Lean_Expr_proj___override(x_45, x_46, x_49); -x_55 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_54, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_50); -return x_55; +lean_object* x_55; lean_object* x_56; +lean_dec(x_17); +x_55 = l_Lean_Expr_proj___override(x_46, x_47, x_50); +x_56 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_55, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_51); +return x_56; } else { -lean_object* x_56; -lean_dec(x_49); +lean_object* x_57; +lean_dec(x_50); +lean_dec(x_47); lean_dec(x_46); -lean_dec(x_45); -x_56 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_50); -return x_56; +x_57 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_51); +return x_57; } } else { -uint8_t x_57; +uint8_t x_58; +lean_dec(x_48); lean_dec(x_47); lean_dec(x_46); -lean_dec(x_45); -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_57 = !lean_is_exclusive(x_48); -if (x_57 == 0) +x_58 = !lean_is_exclusive(x_49); +if (x_58 == 0) { -return x_48; +return x_49; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_48, 0); -x_59 = lean_ctor_get(x_48, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_49, 0); +x_60 = lean_ctor_get(x_49, 1); +lean_inc(x_60); lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_48); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +lean_dec(x_49); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } default: { -lean_object* x_61; -x_61 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_61; +lean_object* x_62; +x_62 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_62; } } } @@ -4453,133 +4848,136 @@ lean_ctor_set(x_6, 1, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; -lean_inc(x_7); -x_15 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_15, 0, lean_box(0)); -lean_closure_set(x_15, 1, lean_box(0)); -lean_closure_set(x_15, 2, x_7); -lean_inc(x_5); +lean_object* x_16; lean_object* x_17; +lean_inc(x_8); +x_16 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(x_16, 0, lean_box(0)); +lean_closure_set(x_16, 1, lean_box(0)); +lean_closure_set(x_16, 2, x_8); +lean_inc(x_6); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_16 = lean_apply_9(x_5, lean_box(0), x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_16) == 0) +x_17 = lean_apply_9(x_6, lean_box(0), x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_6); -x_20 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_18, x_6); -if (lean_obj_tag(x_20) == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_7); +x_21 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_19, x_7); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_free_object(x_16); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_free_object(x_17); lean_inc(x_1); -lean_inc(x_6); -x_21 = lean_apply_1(x_1, x_6); -x_22 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_22, 0, x_21); -x_23 = lean_box(x_3); +lean_inc(x_7); +x_22 = lean_apply_1(x_1, x_7); +x_23 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_23, 0, x_22); +x_24 = lean_box(x_3); +x_25 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_24 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___boxed), 15, 6); -lean_closure_set(x_24, 0, x_1); -lean_closure_set(x_24, 1, x_2); -lean_closure_set(x_24, 2, x_23); -lean_closure_set(x_24, 3, x_4); -lean_closure_set(x_24, 4, x_5); -lean_closure_set(x_24, 5, x_6); -x_25 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12___rarg), 10, 2); -lean_closure_set(x_25, 0, x_22); -lean_closure_set(x_25, 1, x_24); +x_26 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___boxed), 16, 7); +lean_closure_set(x_26, 0, x_1); +lean_closure_set(x_26, 1, x_2); +lean_closure_set(x_26, 2, x_24); +lean_closure_set(x_26, 3, x_25); +lean_closure_set(x_26, 4, x_5); +lean_closure_set(x_26, 5, x_6); +lean_closure_set(x_26, 6, x_7); +x_27 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg), 10, 2); +lean_closure_set(x_27, 0, x_23); +lean_closure_set(x_27, 1, x_26); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_26 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13(x_4, lean_box(0), x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_19); -lean_dec(x_4); -if (lean_obj_tag(x_26) == 0) +x_28 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__15(x_5, lean_box(0), x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_20); +lean_dec(x_5); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -lean_inc(x_27); -x_29 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__2), 3, 2); -lean_closure_set(x_29, 0, x_6); -lean_closure_set(x_29, 1, x_27); -x_30 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_30, 0, x_7); -lean_closure_set(x_30, 1, x_29); -x_31 = lean_apply_9(x_5, lean_box(0), x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_28); -if (lean_obj_tag(x_31) == 0) +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_29); +x_31 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__2), 3, 2); +lean_closure_set(x_31, 0, x_7); +lean_closure_set(x_31, 1, x_29); +x_32 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_32, 0, x_8); +lean_closure_set(x_32, 1, x_31); +x_33 = lean_apply_9(x_6, lean_box(0), x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_30); +if (lean_obj_tag(x_33) == 0) { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -lean_ctor_set(x_31, 0, x_27); -return x_31; +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_29); +return x_33; } else { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_27); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_29); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } else { -uint8_t x_36; -lean_dec(x_27); -x_36 = !lean_is_exclusive(x_31); -if (x_36 == 0) +uint8_t x_38; +lean_dec(x_29); +x_38 = !lean_is_exclusive(x_33); +if (x_38 == 0) { -return x_31; +return x_33; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_31, 0); -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_31); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_33, 0); +x_40 = lean_ctor_get(x_33, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_33); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } else { -uint8_t x_40; +uint8_t x_42; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -4588,30 +4986,30 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_40 = !lean_is_exclusive(x_26); -if (x_40 == 0) +x_42 = !lean_is_exclusive(x_28); +if (x_42 == 0) { -return x_26; +return x_28; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_26, 0); -x_42 = lean_ctor_get(x_26, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_26); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_28, 0); +x_44 = lean_ctor_get(x_28, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_28); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } else { -lean_object* x_44; +lean_object* x_46; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -4621,124 +5019,126 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_44 = lean_ctor_get(x_20, 0); -lean_inc(x_44); -lean_dec(x_20); -lean_ctor_set(x_16, 0, x_44); -return x_16; +x_46 = lean_ctor_get(x_21, 0); +lean_inc(x_46); +lean_dec(x_21); +lean_ctor_set(x_17, 0, x_46); +return x_17; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_16, 0); -x_46 = lean_ctor_get(x_16, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_16); -lean_inc(x_6); -x_47 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_45, x_6); -if (lean_obj_tag(x_47) == 0) +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_17, 0); +x_48 = lean_ctor_get(x_17, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_17); +lean_inc(x_7); +x_49 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_47, x_7); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_inc(x_1); -lean_inc(x_6); -x_48 = lean_apply_1(x_1, x_6); -x_49 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_49, 0, x_48); -x_50 = lean_box(x_3); +lean_inc(x_7); +x_50 = lean_apply_1(x_1, x_7); +x_51 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_51, 0, x_50); +x_52 = lean_box(x_3); +x_53 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_51 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___boxed), 15, 6); -lean_closure_set(x_51, 0, x_1); -lean_closure_set(x_51, 1, x_2); -lean_closure_set(x_51, 2, x_50); -lean_closure_set(x_51, 3, x_4); -lean_closure_set(x_51, 4, x_5); -lean_closure_set(x_51, 5, x_6); -x_52 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12___rarg), 10, 2); -lean_closure_set(x_52, 0, x_49); -lean_closure_set(x_52, 1, x_51); +x_54 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___boxed), 16, 7); +lean_closure_set(x_54, 0, x_1); +lean_closure_set(x_54, 1, x_2); +lean_closure_set(x_54, 2, x_52); +lean_closure_set(x_54, 3, x_53); +lean_closure_set(x_54, 4, x_5); +lean_closure_set(x_54, 5, x_6); +lean_closure_set(x_54, 6, x_7); +x_55 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg), 10, 2); +lean_closure_set(x_55, 0, x_51); +lean_closure_set(x_55, 1, x_54); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_53 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13(x_4, lean_box(0), x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_46); -lean_dec(x_4); -if (lean_obj_tag(x_53) == 0) +x_56 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__15(x_5, lean_box(0), x_55, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_48); +lean_dec(x_5); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -lean_inc(x_54); -x_56 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__2), 3, 2); -lean_closure_set(x_56, 0, x_6); -lean_closure_set(x_56, 1, x_54); -x_57 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_57, 0, x_7); -lean_closure_set(x_57, 1, x_56); -x_58 = lean_apply_9(x_5, lean_box(0), x_57, x_8, x_9, x_10, x_11, x_12, x_13, x_55); -if (lean_obj_tag(x_58) == 0) +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +lean_inc(x_57); +x_59 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__2), 3, 2); +lean_closure_set(x_59, 0, x_7); +lean_closure_set(x_59, 1, x_57); +x_60 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_60, 0, x_8); +lean_closure_set(x_60, 1, x_59); +x_61 = lean_apply_9(x_6, lean_box(0), x_60, x_9, x_10, x_11, x_12, x_13, x_14, x_58); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_60 = x_58; +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_63 = x_61; } else { - lean_dec_ref(x_58); - x_60 = lean_box(0); + lean_dec_ref(x_61); + x_63 = lean_box(0); } -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(0, 2, 0); } else { - x_61 = x_60; + x_64 = x_63; } -lean_ctor_set(x_61, 0, x_54); -lean_ctor_set(x_61, 1, x_59); -return x_61; +lean_ctor_set(x_64, 0, x_57); +lean_ctor_set(x_64, 1, x_62); +return x_64; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -lean_dec(x_54); -x_62 = lean_ctor_get(x_58, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_58, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_64 = x_58; +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_57); +x_65 = lean_ctor_get(x_61, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_67 = x_61; } else { - lean_dec_ref(x_58); - x_64 = lean_box(0); + lean_dec_ref(x_61); + x_67 = lean_box(0); } -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); } else { - x_65 = x_64; + x_68 = x_67; } -lean_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_63); -return x_65; +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; } } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -4747,32 +5147,32 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_66 = lean_ctor_get(x_53, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_53, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_68 = x_53; +x_69 = lean_ctor_get(x_56, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_56, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_71 = x_56; } else { - lean_dec_ref(x_53); - x_68 = lean_box(0); + lean_dec_ref(x_56); + x_71 = lean_box(0); } -if (lean_is_scalar(x_68)) { - x_69 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); } else { - x_69 = x_68; + x_72 = x_71; } -lean_ctor_set(x_69, 0, x_66); -lean_ctor_set(x_69, 1, x_67); -return x_69; +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +return x_72; } } else { -lean_object* x_70; lean_object* x_71; +lean_object* x_73; lean_object* x_74; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -4782,22 +5182,22 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_70 = lean_ctor_get(x_47, 0); -lean_inc(x_70); -lean_dec(x_47); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_46); -return x_71; +x_73 = lean_ctor_get(x_49, 0); +lean_inc(x_73); +lean_dec(x_49); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_48); +return x_74; } } } else { -uint8_t x_72; +uint8_t x_75; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -4807,26 +5207,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_16); -if (x_72 == 0) +x_75 = !lean_is_exclusive(x_17); +if (x_75 == 0) { -return x_16; +return x_17; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_16, 0); -x_74 = lean_ctor_get(x_16, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_16); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_17, 0); +x_77 = lean_ctor_get(x_17, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_17); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } } @@ -4873,73 +5272,73 @@ x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_12 = lean_box(0); -x_13 = l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___closed__1; -x_14 = l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___closed__2; -x_15 = lean_st_mk_ref(x_14, x_11); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_box(0); +x_14 = l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___closed__1; +x_15 = l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___closed__2; +x_16 = lean_st_mk_ref(x_15, x_12); +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -lean_inc(x_16); -x_18 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_2, x_3, x_4, x_12, x_13, x_1, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_18) == 0) +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_17); +x_19 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_2, x_3, x_4, x_5, x_13, x_14, x_1, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_st_ref_get(x_16, x_20); -lean_dec(x_16); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_st_ref_get(x_17, x_21); +lean_dec(x_17); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -lean_ctor_set(x_21, 0, x_19); -return x_21; +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +lean_ctor_set(x_22, 0, x_20); +return x_22; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_20); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } else { -uint8_t x_26; -lean_dec(x_16); -x_26 = !lean_is_exclusive(x_18); -if (x_26 == 0) +uint8_t x_27; +lean_dec(x_17); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) { -return x_18; +return x_19; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_18, 0); -x_28 = lean_ctor_get(x_18, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_18); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -5004,7 +5403,7 @@ lean_inc(x_8); x_13 = lean_infer_type(x_1, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); @@ -5019,113 +5418,114 @@ lean_dec(x_16); x_19 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__3___closed__1; x_20 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__3___closed__2; x_21 = 1; -x_22 = l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1(x_17, x_19, x_20, x_21, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_22) == 0) +x_22 = 0; +x_23 = l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1(x_17, x_19, x_20, x_21, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_23) == 0) { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) { -lean_object* x_24; uint8_t x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_22, 0); -x_25 = 0; -x_26 = l_Lean_Expr_forallE___override(x_2, x_24, x_3, x_25); -x_27 = !lean_is_exclusive(x_4); -if (x_27 == 0) +lean_object* x_25; uint8_t x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_23, 0); +x_26 = 0; +x_27 = l_Lean_Expr_forallE___override(x_2, x_25, x_3, x_26); +x_28 = !lean_is_exclusive(x_4); +if (x_28 == 0) { -lean_object* x_28; -x_28 = lean_ctor_get(x_4, 1); -lean_dec(x_28); -lean_ctor_set(x_4, 1, x_26); -lean_ctor_set(x_22, 0, x_4); -return x_22; +lean_object* x_29; +x_29 = lean_ctor_get(x_4, 1); +lean_dec(x_29); +lean_ctor_set(x_4, 1, x_27); +lean_ctor_set(x_23, 0, x_4); +return x_23; } else { -lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_4, 0); -x_30 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); -x_31 = lean_ctor_get(x_4, 2); -lean_inc(x_31); -lean_inc(x_29); +lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_4, 0); +x_31 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); +x_32 = lean_ctor_get(x_4, 2); +lean_inc(x_32); +lean_inc(x_30); lean_dec(x_4); -x_32 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_26); -lean_ctor_set(x_32, 2, x_31); -lean_ctor_set_uint8(x_32, sizeof(void*)*3, x_30); -lean_ctor_set(x_22, 0, x_32); -return x_22; +x_33 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_27); +lean_ctor_set(x_33, 2, x_32); +lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_31); +lean_ctor_set(x_23, 0, x_33); +return x_23; } } else { -lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_33 = lean_ctor_get(x_22, 0); -x_34 = lean_ctor_get(x_22, 1); +lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_34 = lean_ctor_get(x_23, 0); +x_35 = lean_ctor_get(x_23, 1); +lean_inc(x_35); lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_22); -x_35 = 0; -x_36 = l_Lean_Expr_forallE___override(x_2, x_33, x_3, x_35); -x_37 = lean_ctor_get(x_4, 0); -lean_inc(x_37); -x_38 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); -x_39 = lean_ctor_get(x_4, 2); -lean_inc(x_39); +lean_dec(x_23); +x_36 = 0; +x_37 = l_Lean_Expr_forallE___override(x_2, x_34, x_3, x_36); +x_38 = lean_ctor_get(x_4, 0); +lean_inc(x_38); +x_39 = lean_ctor_get_uint8(x_4, sizeof(void*)*3); +x_40 = lean_ctor_get(x_4, 2); +lean_inc(x_40); if (lean_is_exclusive(x_4)) { lean_ctor_release(x_4, 0); lean_ctor_release(x_4, 1); lean_ctor_release(x_4, 2); - x_40 = x_4; + x_41 = x_4; } else { lean_dec_ref(x_4); - x_40 = lean_box(0); + x_41 = lean_box(0); } -if (lean_is_scalar(x_40)) { - x_41 = lean_alloc_ctor(0, 3, 1); +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(0, 3, 1); } else { - x_41 = x_40; + x_42 = x_41; } -lean_ctor_set(x_41, 0, x_37); -lean_ctor_set(x_41, 1, x_36); -lean_ctor_set(x_41, 2, x_39); -lean_ctor_set_uint8(x_41, sizeof(void*)*3, x_38); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_34); -return x_42; +lean_ctor_set(x_42, 0, x_38); +lean_ctor_set(x_42, 1, x_37); +lean_ctor_set(x_42, 2, x_40); +lean_ctor_set_uint8(x_42, sizeof(void*)*3, x_39); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_35); +return x_43; } } else { -uint8_t x_43; +uint8_t x_44; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_43 = !lean_is_exclusive(x_22); -if (x_43 == 0) +x_44 = !lean_is_exclusive(x_23); +if (x_44 == 0) { -return x_22; +return x_23; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_22, 0); -x_45 = lean_ctor_get(x_22, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_23, 0); +x_46 = lean_ctor_get(x_23, 1); +lean_inc(x_46); lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_22); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_dec(x_23); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_47; +uint8_t x_48; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5135,23 +5535,23 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_47 = !lean_is_exclusive(x_13); -if (x_47 == 0) +x_48 = !lean_is_exclusive(x_13); +if (x_48 == 0) { return x_13; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_13, 0); -x_49 = lean_ctor_get(x_13, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_13, 0); +x_50 = lean_ctor_get(x_13, 1); +lean_inc(x_50); lean_inc(x_49); -lean_inc(x_48); lean_dec(x_13); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } @@ -5444,14 +5844,16 @@ return x_69; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__3(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -5475,24 +5877,45 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___lambda__1(x_1, x_2, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__4(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -5516,24 +5939,45 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___lambda__1(x_1, x_2, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__5(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -5555,55 +5999,180 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___lambda__1(x_1, x_2, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__6(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10(x_1, x_2, x_17, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_20; +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__10(x_1, x_2, x_18, x_19, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__11(x_1, x_2, x_18, x_19, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); +lean_dec(x_3); +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__12(x_1, x_2, x_18, x_19, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_3); +lean_dec(x_3); +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13(x_1, x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5611,42 +6180,46 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14(x_1, x_2); +x_3 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -5663,14 +6236,16 @@ lean_dec(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_4); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_4); lean_dec(x_4); -x_13 = l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -39944,7 +40519,7 @@ lean_dec(x_2); return x_9; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__1() { _start: { lean_object* x_1; @@ -39952,17 +40527,17 @@ x_1 = lean_mk_string_from_bytes("ignoreUnusedAlts", 16); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__6; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__3() { _start: { lean_object* x_1; @@ -39970,13 +40545,13 @@ x_1 = lean_mk_string_from_bytes("if true, do not generate error if an alternativ return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -39985,7 +40560,7 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; @@ -39993,18 +40568,18 @@ x_1 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__ x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__5; x_3 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__3; x_4 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__6; -x_5 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__1; +x_5 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__1; x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__4; -x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__4; +x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__5; x_5 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(x_2, x_3, x_4, x_1); return x_5; } @@ -41160,7 +41735,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Matc _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__2; +x_9 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__2; x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_1); lean_ctor_set(x_10, 1, x_9); @@ -42820,7 +43395,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -43965,7 +44540,7 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_15 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchGeneralizing_x3f___closed__11; -x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13(x_1, x_15); +x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13(x_1, x_15); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; @@ -44158,11 +44733,11 @@ x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_el return x_6; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__13(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -46218,7 +46793,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_elabMatch _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__2; +x_9 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__2; x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_1); lean_ctor_set(x_10, 1, x_9); @@ -47331,7 +47906,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -47341,27 +47916,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__1; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__1; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__2; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__2; x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__4() { _start: { lean_object* x_1; @@ -47369,17 +47944,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__3; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__4; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__3; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__6() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__6() { _start: { lean_object* x_1; @@ -47387,37 +47962,37 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__7() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__5; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__6; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__8() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__7; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__7; x_2 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandSimpleMatch___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__9() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__8; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__8; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__10() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__10() { _start: { lean_object* x_1; @@ -47425,17 +48000,17 @@ x_1 = lean_mk_string_from_bytes("Match", 5); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__11() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__9; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__10; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__9; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__12() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__12() { _start: { lean_object* x_1; @@ -47443,33 +48018,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__13() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__11; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__12; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__11; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__14() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__13; -x_2 = lean_unsigned_to_nat(22798u); +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__13; +x_2 = lean_unsigned_to_nat(22807u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__7; x_3 = 0; -x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__14; +x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__14; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -48034,10 +48609,10 @@ l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMa lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__14); l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15(); lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___closed__15); -l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__1(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__1); -l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__2(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__14___rarg___closed__2); +l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__1(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__1); +l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__2(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__16___rarg___closed__2); l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___closed__1 = _init_l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Meta_transform_visit___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__2___lambda__1___closed__1); l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___closed__1 = _init_l_Lean_Meta_transform___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__1___closed__1(); @@ -48296,17 +48871,17 @@ l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1 lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__1); l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2 = _init_l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2(); lean_mark_persistent(l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445____closed__5); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18445_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454____closed__5); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_18454_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_match_ignoreUnusedAlts = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_match_ignoreUnusedAlts); @@ -48419,35 +48994,35 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabMatch_declRange___closed_ if (builtin) {res = l___regBuiltin_Lean_Elab_Term_elabMatch_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__5); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__6(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__6); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__7(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__7); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__8(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__8); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__9(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__9); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__10(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__10); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__11(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__11); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__12(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__12); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__13(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__13); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__14(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798____closed__14); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22798_(lean_io_mk_world()); +}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__6); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__7 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__7(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__7); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__8 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__8(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__8); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__9 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__9(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__9); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__10 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__10(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__10); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__11 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__11(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__11); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__12 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__12(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__12); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__13 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__13(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__13); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__14 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__14(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807____closed__14); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Match___hyg_22807_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Elab_Term_elabNoMatch___closed__1 = _init_l_Lean_Elab_Term_elabNoMatch___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 673eae59d042..a908ceb2ec07 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -15,7 +15,6 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_HashMapImp_find_x3f___at___private_Lean_Meta_Check_0__Lean_Meta_checkAux_check___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_throwErrorAt___at_Lean_Elab_elabDeriving___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__6___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___lambda__1___closed__1; @@ -24,6 +23,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_checkForH LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -40,7 +40,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___boxed(lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(lean_object*); -lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -200,6 +199,7 @@ lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__3___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__11___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f___boxed(lean_object*, lean_object*); @@ -212,7 +212,6 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0 static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__6(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__4(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -342,6 +341,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_insertReplacementForLetR LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__1(size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -363,7 +363,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getDeclarationSelectionRef(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -439,7 +438,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDe static lean_object* l_List_mapTR_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___spec__2___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___closed__17; -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHiddenUnivLevels___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels___lambda__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -460,6 +459,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__2; static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_pp_universes; @@ -574,7 +574,6 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__4(lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2; lean_object* l_Lean_Meta_Closure_mkForall(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedDefView; @@ -629,7 +628,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_getKindForLetRecs___boxe lean_object* l_Lean_Meta_mkForallFVars_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); -lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_inheritedTraceOptions; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls_loop(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___closed__1; @@ -715,7 +713,6 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0 lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__7___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_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__1; @@ -732,6 +729,7 @@ lean_object* l_Lean_MessageData_ofLevel(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_pushLetRecs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__4___lambda__1(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_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -741,7 +739,6 @@ lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___closed__1; static lean_object* l_Lean_addDeclarationRanges___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_473_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -787,6 +784,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_modifyUsedFVars(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_addPreDefinitions___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_markModified(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(lean_object*, lean_object*); @@ -818,7 +816,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_Mutua static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__2___closed__6; lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafeM_visit___at_Lean_Elab_Term_MutualClosure_Replacement_apply___spec__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__2___closed__3; @@ -834,6 +831,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_erase_macro_scopes(lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabMatch_elabMatchDefault___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__15___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Term_elabMutualDef___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -851,7 +849,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withF lean_object* l_String_intercalate(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___closed__4; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint___boxed(lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__6___closed__1; @@ -958,6 +955,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___boxed(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___closed__9; lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__2; uint8_t l_Lean_Exception_isRuntime(lean_object*); lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -982,6 +980,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__2___closed__8; LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__5___closed__1; lean_object* l_Lean_Elab_fixLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1025,7 +1024,6 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__11(lean_ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withDeclName___rarg(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_elabMutualDef_go___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1() { @@ -3410,7 +3408,7 @@ lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; x_7 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___closed__1; x_8 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___closed__2; x_9 = 0; -x_10 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_7, x_8, x_9, x_2, x_3, x_4, x_5, x_6); +x_10 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_7, x_8, x_9, x_9, x_2, x_3, x_4, x_5, x_6); return x_10; } } @@ -4661,7 +4659,7 @@ lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); -x_27 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_11, x_25, x_26, x_19, x_14, x_15, x_16, x_17, x_21); +x_27 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_11, x_25, x_26, x_19, x_19, x_14, x_15, x_16, x_17, x_21); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; @@ -30011,7 +30009,7 @@ lean_inc(x_19); x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); lean_dec(x_18); -x_21 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +x_21 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_20); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -30047,7 +30045,7 @@ lean_inc(x_26); x_27 = lean_ctor_get(x_18, 1); lean_inc(x_27); lean_dec(x_18); -x_28 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_27); +x_28 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_27); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -30582,7 +30580,9 @@ lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_dec(x_18); lean_dec(x_9); x_26 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__6; -x_27 = l_Lean_throwErrorAt___at_Lean_Elab_elabDeriving___spec__15(x_16, x_26, x_2, x_3, x_17); +x_27 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__10(x_16, x_26, x_2, x_3, x_17); +lean_dec(x_3); +lean_dec(x_16); x_28 = !lean_is_exclusive(x_27); if (x_28 == 0) { @@ -31619,61 +31619,7 @@ return x_41; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -x_8 = lean_ctor_get(x_6, 1); -lean_inc(x_8); -lean_dec(x_6); -x_9 = l_Lean_replaceRef(x_1, x_7); -lean_dec(x_7); -x_10 = !lean_is_exclusive(x_3); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_3, 6); -lean_dec(x_11); -lean_ctor_set(x_3, 6, x_9); -x_12 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(x_2, x_3, x_4, x_8); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_13 = lean_ctor_get(x_3, 0); -x_14 = lean_ctor_get(x_3, 1); -x_15 = lean_ctor_get(x_3, 2); -x_16 = lean_ctor_get(x_3, 3); -x_17 = lean_ctor_get(x_3, 4); -x_18 = lean_ctor_get(x_3, 5); -x_19 = lean_ctor_get(x_3, 7); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_3); -x_20 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_20, 0, x_13); -lean_ctor_set(x_20, 1, x_14); -lean_ctor_set(x_20, 2, x_15); -lean_ctor_set(x_20, 3, x_16); -lean_ctor_set(x_20, 4, x_17); -lean_ctor_set(x_20, 5, x_18); -lean_ctor_set(x_20, 6, x_9); -lean_ctor_set(x_20, 7, x_19); -x_21 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(x_2, x_20, x_4, x_8); -return x_21; -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -31683,7 +31629,7 @@ x_9 = l_Lean_Elab_Command_mkDefView(x_2, x_8, x_4, x_5, x_6); return x_9; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__1() { _start: { lean_object* x_1; @@ -31691,16 +31637,16 @@ x_1 = lean_mk_string_from_bytes("invalid use of 'nonrec' modifier in 'mutual' bl return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_8; @@ -31743,7 +31689,7 @@ lean_object* x_20; lean_object* x_21; x_20 = lean_box(0); lean_inc(x_6); lean_inc(x_5); -x_21 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1(x_10, x_15, x_20, x_5, x_6, x_16); +x_21 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___lambda__1(x_10, x_15, x_20, x_5, x_6, x_16); lean_dec(x_10); if (lean_obj_tag(x_21) == 0) { @@ -31797,7 +31743,7 @@ lean_object* x_33; lean_object* x_34; x_33 = lean_box(0); lean_inc(x_6); lean_inc(x_5); -x_34 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1(x_10, x_15, x_33, x_5, x_6, x_16); +x_34 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___lambda__1(x_10, x_15, x_33, x_5, x_6, x_16); lean_dec(x_10); if (lean_obj_tag(x_34) == 0) { @@ -31846,8 +31792,8 @@ else lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_dec(x_15); lean_dec(x_12); -x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2; -x_46 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_10, x_45, x_5, x_6, x_16); +x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__2; +x_46 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabSyntax___spec__14(x_10, x_45, x_5, x_6, x_16); lean_dec(x_6); lean_dec(x_10); x_47 = !lean_is_exclusive(x_46); @@ -31919,7 +31865,7 @@ x_8 = 0; lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13(x_1, x_7, x_8, x_1, x_3, x_4, x_5); +x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12(x_1, x_7, x_8, x_1, x_3, x_4, x_5); lean_dec(x_1); if (lean_obj_tag(x_9) == 0) { @@ -32076,27 +32022,17 @@ lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__12(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { size_t x_8; size_t x_9; lean_object* x_10; @@ -32104,7 +32040,7 @@ x_8 = lean_unbox_usize(x_2); lean_dec(x_2); x_9 = lean_unbox_usize(x_3); lean_dec(x_3); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12(x_1, x_8, x_9, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_10; } @@ -32635,10 +32571,10 @@ l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___close lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__1); l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__2 = _init_l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__2(); lean_mark_persistent(l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__13___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMutualDef___spec__12___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c index 22fea1ced9ba..08d8cbb08c69 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Eqns.c @@ -32,7 +32,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_Persisten LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__2; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__5; lean_object* l_Lean_MVarId_contradictionCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_replaceTargetDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(size_t, size_t, lean_object*); @@ -49,6 +48,7 @@ size_t lean_usize_shift_right(size_t, size_t); static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__6; static lean_object* l_Lean_Elab_Eqns_mkUnfoldEq___lambda__1___closed__2; lean_object* l_Lean_commitWhen___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_elimEmptyInductive___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6528____closed__1; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__14(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__22___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_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___lambda__2(lean_object*, lean_object*); @@ -56,12 +56,13 @@ static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__11; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__13___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__19; lean_object* l_Lean_Meta_whnfI(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___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*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,12 +75,14 @@ static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__8; lean_object* l_Lean_Meta_Match_isNamedPattern___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6528_(lean_object*); size_t lean_uint64_to_usize(uint64_t); uint8_t l_Lean_Expr_isLet(lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___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*); static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__9; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__6; static lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__2___closed__1; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__3___closed__1; static lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___closed__4; @@ -109,7 +112,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__1(lean_obje LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___at_Lean_Elab_Eqns_simpEqnType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bvar___override(lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__9; lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_ForEachExprWhere_initCache; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__32___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__33(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -118,6 +120,7 @@ LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Eqns_si LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_deltaRHS_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Eqns_simpEqnType_collect___spec__3(lean_object*); +uint8_t l_Lean_Expr_isLetFun(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_mkUnfoldEq___lambda__2___closed__1; lean_object* l_Lean_EnvExtension_modifyState___rarg(lean_object*, lean_object*, lean_object*); @@ -127,12 +130,11 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses___boxed(lean LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_expandRHS_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_tactic_hygienic; lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Meta_splitTarget_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__3; lean_object* l_Lean_MVarId_refl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__1___closed__4; +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__8; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__3; lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); @@ -148,6 +150,7 @@ static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__9; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__17___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_findCore___at_Lean_Meta_removeUnused___spec__1(lean_object*, lean_object*); lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); @@ -158,6 +161,7 @@ extern lean_object* l_Lean_Expr_instBEqExpr; lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___spec__2(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__11; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_commitWhenSome_x3f___at_Lean_Elab_Eqns_funext_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -203,6 +207,7 @@ lean_object* l_Array_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__34(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__15; static lean_object* l_Lean_LocalContext_foldrM___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__2___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__26___closed__1; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__14___boxed(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -212,11 +217,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_E static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___spec__1___closed__1; uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__3___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__19; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___at_Lean_Elab_Eqns_simpEqnType___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__7; -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__18; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_isIrrelevant___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -224,7 +227,6 @@ static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__6; LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___closed__3; -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__16; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__29(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -249,10 +251,10 @@ static lean_object* l_Lean_Elab_Eqns_expandRHS_x3f___closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__2___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__28(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_ForEachExprWhere_visit___at_Lean_Elab_Eqns_simpEqnType_collect___spec__2(lean_object*); lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816_(lean_object*); lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldrM___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___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_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -260,8 +262,9 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Eqns_mkEqnTyp lean_object* l_Lean_Meta_Match_MatcherInfo_getFirstDiscrPos(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_lhsDependsOn___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__2; static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__6; -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_delta_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__11___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -274,7 +277,6 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreD static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Eqns_getUnfoldFor_x3f___spec__5___closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_deltaRHS_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_RBTree_toArray___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__1___closed__1; lean_object* lean_st_mk_ref(lean_object*, lean_object*); @@ -331,7 +333,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_E static lean_object* l_Lean_Elab_Eqns_tryURefl___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit_go___at_Lean_Elab_Eqns_simpEqnType_collect___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__13; lean_object* l_Lean_Meta_simpIfTarget(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -352,6 +353,7 @@ lean_object* l_Lean_LocalDecl_fvarId(lean_object*); lean_object* l_Lean_Expr_FindExtImpl_findUnsafe_x3f(lean_object*, lean_object*); lean_object* l_Lean_Expr_appFn_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_simpIf_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__7; static lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__30(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Eqns_deltaRHS_x3f___lambda__1(lean_object*, lean_object*); @@ -359,7 +361,6 @@ lean_object* l_Lean_CollectFVars_main(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__17; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__17; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__1___boxed(lean_object*); @@ -392,6 +393,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreD LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__21___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__22(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_instInhabitedEqnInfoCore; static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__14; +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__18; LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visited___at_Lean_Elab_Eqns_simpEqnType_collect___spec__4___rarg(lean_object*, lean_object*, lean_object*); @@ -405,8 +407,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_Persisten LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visit___at_Lean_Elab_Eqns_simpEqnType_collect___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_isIrrelevant___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_instInhabitedUnfoldEqnExtState; +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__14; static lean_object* l_Lean_Elab_Eqns_UnfoldEqnExtState_map___default___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758_(lean_object*); LEAN_EXPORT lean_object* l_Lean_ForEachExprWhere_visited___at_Lean_Elab_Eqns_simpEqnType_collect___spec__4(lean_object*); static lean_object* l_Lean_Elab_Eqns_tryContradiction___closed__1; static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__1; @@ -442,6 +444,7 @@ lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*) static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Eqns_mkEqnTypes_go___spec__1___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Option_set___at_Lean_Elab_Eqns_tryURefl___spec__1(lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__1; static lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___closed__2; static lean_object* l_Lean_Elab_Eqns_mkUnfoldProof___closed__2; lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -463,7 +466,6 @@ LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___private_Lean_Elab_PreDef LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_unfoldEqnExt; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_pushDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__15; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__2___closed__4; lean_object* l_Lean_Expr_getAppFn(lean_object*); @@ -471,17 +473,15 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnus static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_simpEqnType___spec__1___closed__2; static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Eqns_getUnfoldFor_x3f___spec__2___closed__1; static lean_object* l_Lean_Elab_Eqns_removeUnusedEqnHypotheses___closed__6; -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__11; lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__17; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__24(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__23___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6470_(lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__12; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Elab_Eqns_getUnfoldFor_x3f___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_FVarIdSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -490,7 +490,6 @@ static lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__21(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Eqns_deltaLHS___lambda__1(lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__14; LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); @@ -504,10 +503,11 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_deltaLHS___lambda__1___boxed(lean_obje size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_findMatchToSplit_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__16; +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__12; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Expr_fvar___override(lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6470____closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_shouldUseSimpMatch___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_splitMatch_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -516,10 +516,9 @@ lean_object* l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Met LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Elab_Eqns_getUnfoldFor_x3f___spec__2(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__1; lean_object* l_Lean_LocalContext_mkLambda(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__1; +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__4; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__7; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Eqns_mkUnfoldProof___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Eqns_mkUnfoldProof_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__7___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -546,13 +545,16 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkUnfoldProof_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_HashSetImp_contains___at_Lean_ForEachExprWhere_checked___spec__1(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__3; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Elab_Eqns_funext_x3f___lambda__2___closed__1; static lean_object* l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__15; lean_object* l_Lean_Meta_Match_unfoldNamedPattern___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_mkEqnTypes_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__9; LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Eqns_simpEqnType_collect___spec__1(lean_object*); +lean_object* l_Lean_Expr_letFun_x3f(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -579,6 +581,7 @@ lean_object* l_Lean_MessageData_ofName(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__17(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__10; static lean_object* l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__1___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Eqns_removeUnusedEqnHypotheses_go___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -588,7 +591,6 @@ lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_objec LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__3___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn_collectDeps___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_matchEq_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); -static lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__8; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Eqns_splitMatch_x3f_go___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___private_Lean_Elab_PreDefinition_Eqns_0__Lean_Elab_Eqns_saveEqn___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -659,8 +661,38 @@ goto _start; } default: { +lean_object* x_8; +lean_inc(x_1); +x_8 = l_Lean_Expr_letFun_x3f(x_1); +if (lean_obj_tag(x_8) == 0) +{ return x_1; } +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_expr_instantiate1(x_13, x_12); +lean_dec(x_12); +lean_dec(x_13); +x_1 = x_14; +goto _start; +} +} } } } @@ -794,7 +826,7 @@ lean_inc(x_1); x_7 = l_Lean_MVarId_getType_x27(x_1, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_7) == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_30; lean_object* x_31; uint8_t x_32; x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); x_9 = lean_ctor_get(x_7, 1); @@ -807,40 +839,40 @@ if (lean_is_exclusive(x_7)) { lean_dec_ref(x_7); x_10 = lean_box(0); } -x_27 = l_Lean_Elab_Eqns_expandRHS_x3f___closed__2; -x_28 = lean_unsigned_to_nat(3u); -x_29 = l_Lean_Expr_isAppOfArity(x_8, x_27, x_28); -if (x_29 == 0) +x_30 = l_Lean_Elab_Eqns_expandRHS_x3f___closed__2; +x_31 = lean_unsigned_to_nat(3u); +x_32 = l_Lean_Expr_isAppOfArity(x_8, x_30, x_31); +if (x_32 == 0) { -lean_object* x_30; +lean_object* x_33; lean_dec(x_8); -x_30 = lean_box(0); -x_11 = x_30; -goto block_26; +x_33 = lean_box(0); +x_11 = x_33; +goto block_29; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_31 = l_Lean_Expr_appFn_x21(x_8); -x_32 = l_Lean_Expr_appFn_x21(x_31); -x_33 = l_Lean_Expr_appArg_x21(x_32); -lean_dec(x_32); -x_34 = l_Lean_Expr_appArg_x21(x_31); -lean_dec(x_31); -x_35 = l_Lean_Expr_appArg_x21(x_8); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_34 = l_Lean_Expr_appFn_x21(x_8); +x_35 = l_Lean_Expr_appFn_x21(x_34); +x_36 = l_Lean_Expr_appArg_x21(x_35); +lean_dec(x_35); +x_37 = l_Lean_Expr_appArg_x21(x_34); +lean_dec(x_34); +x_38 = l_Lean_Expr_appArg_x21(x_8); lean_dec(x_8); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_33); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_11 = x_38; -goto block_26; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_36); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_11 = x_41; +goto block_29; } -block_26: +block_29: { if (lean_obj_tag(x_11) == 0) { @@ -878,10 +910,14 @@ x_18 = l_Lean_Expr_isLet(x_17); if (x_18 == 0) { uint8_t x_19; -x_19 = l_Lean_Expr_isMData(x_17); +x_19 = l_Lean_Expr_isLetFun(x_17); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; +uint8_t x_20; +x_20 = l_Lean_Expr_isMData(x_17); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_dec(x_17); lean_dec(x_16); lean_dec(x_5); @@ -889,61 +925,70 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_20 = lean_box(0); +x_21 = lean_box(0); if (lean_is_scalar(x_10)) { - x_21 = lean_alloc_ctor(0, 2, 0); + x_22 = lean_alloc_ctor(0, 2, 0); } else { - x_21 = x_10; + x_22 = x_10; } -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_9); -return x_21; +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_9); +return x_22; } else { -lean_object* x_22; lean_object* x_23; +lean_object* x_23; lean_object* x_24; lean_dec(x_10); -x_22 = lean_box(0); -x_23 = l_Lean_Elab_Eqns_expandRHS_x3f___lambda__1(x_17, x_16, x_1, x_22, x_2, x_3, x_4, x_5, x_9); -return x_23; +x_23 = lean_box(0); +x_24 = l_Lean_Elab_Eqns_expandRHS_x3f___lambda__1(x_17, x_16, x_1, x_23, x_2, x_3, x_4, x_5, x_9); +return x_24; } } else { -lean_object* x_24; lean_object* x_25; +lean_object* x_25; lean_object* x_26; lean_dec(x_10); -x_24 = lean_box(0); -x_25 = l_Lean_Elab_Eqns_expandRHS_x3f___lambda__1(x_17, x_16, x_1, x_24, x_2, x_3, x_4, x_5, x_9); -return x_25; +x_25 = lean_box(0); +x_26 = l_Lean_Elab_Eqns_expandRHS_x3f___lambda__1(x_17, x_16, x_1, x_25, x_2, x_3, x_4, x_5, x_9); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_10); +x_27 = lean_box(0); +x_28 = l_Lean_Elab_Eqns_expandRHS_x3f___lambda__1(x_17, x_16, x_1, x_27, x_2, x_3, x_4, x_5, x_9); +return x_28; } } } } else { -uint8_t x_39; +uint8_t x_42; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_39 = !lean_is_exclusive(x_7); -if (x_39 == 0) +x_42 = !lean_is_exclusive(x_7); +if (x_42 == 0) { return x_7; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_7, 0); -x_41 = lean_ctor_get(x_7, 1); -lean_inc(x_41); -lean_inc(x_40); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_7, 0); +x_44 = lean_ctor_get(x_7, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_7); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } @@ -4674,7 +4719,7 @@ static lean_object* _init_l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___clo lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___closed__1; x_2 = l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___closed__2; -x_3 = lean_unsigned_to_nat(144u); +x_3 = lean_unsigned_to_nat(148u); x_4 = lean_unsigned_to_nat(48u); x_5 = l_Lean_Elab_Eqns_simpEqnType_collect___lambda__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -6434,7 +6479,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_15 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_12, x_13, x_14, x_7, x_8, x_9, x_10, x_11); +x_15 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_12, x_13, x_14, x_14, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; @@ -21232,7 +21277,7 @@ x_1 = l_Lean_Elab_Eqns_UnfoldEqnExtState_map___default___closed__1; return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6470____closed__1() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6528____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -21242,11 +21287,11 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6470_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6528_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6470____closed__1; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6528____closed__1; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } @@ -24472,7 +24517,7 @@ x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Elab_Eqns_getUnfoldFor_x3f___ return x_8; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__1() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__1() { _start: { lean_object* x_1; @@ -24480,18 +24525,18 @@ x_1 = lean_mk_string_from_bytes("unfoldEqn", 9); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__2() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__1; x_2 = l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__2; -x_3 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__1; +x_3 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__3() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__3() { _start: { lean_object* x_1; @@ -24499,27 +24544,27 @@ x_1 = lean_mk_string_from_bytes("Lean", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__4() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__3; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__5() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__4; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__4; x_2 = l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__6() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__6() { _start: { lean_object* x_1; @@ -24527,17 +24572,17 @@ x_1 = lean_mk_string_from_bytes("Eqns", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__7() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__5; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__6; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__5; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__8() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__8() { _start: { lean_object* x_1; @@ -24545,17 +24590,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__9() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__7; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__8; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__7; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__10() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__10() { _start: { lean_object* x_1; @@ -24563,37 +24608,37 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__11() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__9; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__10; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__9; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__12() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__11; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__3; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__11; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__13() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__12; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__12; x_2 = l_Lean_Elab_Eqns_simpEqnType___lambda__2___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__14() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__14() { _start: { lean_object* x_1; @@ -24601,27 +24646,27 @@ x_1 = lean_mk_string_from_bytes("PreDefinition", 13); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__15() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__13; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__14; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__13; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__16() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__15; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__6; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__15; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__17() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__17() { _start: { lean_object* x_1; @@ -24629,33 +24674,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__18() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__16; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__17; +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__16; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__17; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__19() { +static lean_object* _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__18; -x_2 = lean_unsigned_to_nat(7758u); +x_1 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__18; +x_2 = lean_unsigned_to_nat(7816u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__2; +x_2 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__2; x_3 = 0; -x_4 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__19; +x_4 = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__19; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -24892,9 +24937,9 @@ l_Lean_Elab_Eqns_UnfoldEqnExtState_map___default = _init_l_Lean_Elab_Eqns_Unfold lean_mark_persistent(l_Lean_Elab_Eqns_UnfoldEqnExtState_map___default); l_Lean_Elab_Eqns_instInhabitedUnfoldEqnExtState = _init_l_Lean_Elab_Eqns_instInhabitedUnfoldEqnExtState(); lean_mark_persistent(l_Lean_Elab_Eqns_instInhabitedUnfoldEqnExtState); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6470____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6470____closed__1(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6470____closed__1); -if (builtin) {res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6470_(lean_io_mk_world()); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6528____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6528____closed__1(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6528____closed__1); +if (builtin) {res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_6528_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Eqns_unfoldEqnExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Eqns_unfoldEqnExt); @@ -24959,45 +25004,45 @@ l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__16 = _init_l_Lean_Elab_Eqns_getUnfol lean_mark_persistent(l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__16); l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__17 = _init_l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__17(); lean_mark_persistent(l_Lean_Elab_Eqns_getUnfoldFor_x3f___closed__17); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__1(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__1); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__2 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__2(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__2); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__3 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__3(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__3); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__4 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__4(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__4); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__5 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__5(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__5); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__6 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__6(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__6); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__7 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__7(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__7); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__8 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__8(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__8); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__9 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__9(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__9); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__10 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__10(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__10); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__11 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__11(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__11); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__12 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__12(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__12); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__13 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__13(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__13); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__14 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__14(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__14); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__15 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__15(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__15); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__16 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__16(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__16); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__17 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__17(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__17); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__18 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__18(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__18); -l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__19 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__19(); -lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758____closed__19); -if (builtin) {res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7758_(lean_io_mk_world()); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__1 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__1(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__1); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__2 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__2(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__2); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__3 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__3(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__3); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__4 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__4(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__4); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__5 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__5(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__5); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__6 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__6(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__6); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__7 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__7(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__7); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__8 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__8(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__8); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__9 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__9(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__9); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__10 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__10(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__10); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__11 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__11(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__11); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__12 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__12(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__12); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__13 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__13(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__13); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__14 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__14(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__14); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__15 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__15(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__15); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__16 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__16(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__16); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__17 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__17(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__17); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__18 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__18(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__18); +l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__19 = _init_l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__19(); +lean_mark_persistent(l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816____closed__19); +if (builtin) {res = l_Lean_Elab_Eqns_initFn____x40_Lean_Elab_PreDefinition_Eqns___hyg_7816_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c index 542933959282..53a169c8192f 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Main.c @@ -26,6 +26,7 @@ static lean_object* l_Lean_Elab_addPreDefinitions___closed__12; lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_ensureNoUnassignedMVarsAtPreDef___spec__1(lean_object*, 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*); +lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9___rarg(lean_object*); LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__12(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__9___rarg___closed__1; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__9___rarg___closed__2; @@ -91,6 +92,7 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_PreD lean_object* l_Lean_Elab_logException___at_Lean_Elab_Term_exceptionToSorry___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAsAxioms___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addAndCompilePartialRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_FoldConstsImpl_initCache; LEAN_EXPORT lean_object* l_Lean_SCC_scc___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_resetOnStack___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__22___lambda__1(lean_object*); @@ -106,6 +108,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___sp static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__2___closed__4; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__27___rarg(lean_object*); lean_object* l_Lean_Elab_wfRecursion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -116,7 +119,6 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_addPreDefinitions___spec__6(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_Util_SCC_0__Lean_SCC_addSCC_add___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__2___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__26___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_addPreDefinitions___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__23___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_addPreDefinitions___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -157,6 +159,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_Lean_Elab_WF_TerminationBy_find_x3f(lean_object*, lean_object*); lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addPreDefinitions___closed__11; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_addPreDefinitions___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -186,7 +189,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedTerminationHints; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__25___closed__4; lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__2(lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_3659____closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -221,6 +223,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_updateLowLinkOf__ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__18___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTR_loop___at_Lean_Meta_substCore___spec__6(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__25___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef___closed__3; static lean_object* l_Lean_Elab_addPreDefinitions___closed__3; LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__14(lean_object*, lean_object*, lean_object*); @@ -236,31 +239,27 @@ LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Elab_PreD lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__19(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___lambda__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_3659____closed__15; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__5___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps___spec__9___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__17(size_t, lean_object*, lean_object*, size_t, lean_object*, size_t, size_t); lean_object* l_Lean_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef___closed__2; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_throwStuckAtUniverseCnstr___spec__16(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_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__28___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__23___lambda__5(lean_object*, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__23___closed__1; size_t lean_hashmap_mk_idx(lean_object*, uint64_t); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__2(lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(size_t, size_t, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__9___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__1___rarg(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_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___lambda__2___boxed__const__1; LEAN_EXPORT lean_object* l_Lean_Core_transform___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__11(lean_object*, lean_object*, lean_object*); @@ -276,7 +275,6 @@ lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_addPreDefinitions___spec__18(lean_object*, size_t, size_t); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__2___lambda__3___closed__1; static lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps___spec__9___rarg___closed__2; -lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_getMVarsAtPreDef___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAsAxioms___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -290,6 +288,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_addPreDefinitions(lean_object*, lean_object LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_updateLowLinkOf___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__17(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mapErrorImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_3659____closed__12; static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_Main___hyg_3659____closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -350,7 +349,6 @@ lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__23___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__23___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__28(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addPreDefinitions___spec__4(size_t, size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_isNonRecursive(lean_object*); @@ -386,6 +384,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___ static lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_resetOnStack___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__22___closed__1; lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Meta_collectMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Elab_WF_TerminationHint_find_x3f(lean_object*, lean_object*); @@ -411,7 +410,6 @@ lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_obj static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_addAndCompilePartial___spec__2___closed__3; LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_partitionPreDefs___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_Main_0__Lean_Elab_betaReduceLetRecApps___spec__10___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_addPreDefinitions___spec__23___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2652,7 +2650,7 @@ lean_inc(x_13); x_14 = lean_ctor_get(x_11, 0); lean_inc(x_14); lean_dec(x_11); -x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_13, x_14); +x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_13, x_14); lean_dec(x_14); lean_dec(x_13); if (x_15 == 0) @@ -2685,7 +2683,7 @@ lean_inc(x_20); x_21 = lean_ctor_get(x_18, 0); lean_inc(x_21); lean_dec(x_18); -x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_20, x_21); +x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_20, x_21); lean_dec(x_21); lean_dec(x_20); if (x_22 == 0) @@ -5522,7 +5520,7 @@ lean_closure_set(x_20, 1, x_2); lean_closure_set(x_20, 2, x_3); lean_closure_set(x_20, 3, x_4); lean_closure_set(x_20, 4, x_5); -x_21 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_21 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_21, 0, x_19); lean_closure_set(x_21, 1, x_20); lean_inc(x_10); @@ -5673,7 +5671,7 @@ lean_closure_set(x_46, 1, x_2); lean_closure_set(x_46, 2, x_3); lean_closure_set(x_46, 3, x_4); lean_closure_set(x_46, 4, x_5); -x_47 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_47 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_47, 0, x_45); lean_closure_set(x_47, 1, x_46); lean_inc(x_10); @@ -7124,7 +7122,7 @@ x_8 = lean_array_uset(x_4, x_3, x_7); x_9 = lean_array_get_size(x_6); x_10 = lean_usize_of_nat(x_9); lean_dec(x_9); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_10, x_1, x_6); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(x_10, x_1, x_6); x_12 = 1; x_13 = lean_usize_add(x_3, x_12); x_14 = lean_array_uset(x_8, x_3, x_11); @@ -10892,7 +10890,7 @@ size_t x_18; lean_object* x_19; lean_object* x_20; lean_dec(x_10); x_18 = lean_usize_of_nat(x_4); lean_inc(x_1); -x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_18, x_5, x_1); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(x_18, x_5, x_1); x_20 = l_Lean_Elab_WF_TerminationHint_find_x3f(x_7, x_19); if (lean_obj_tag(x_20) == 0) { @@ -11424,7 +11422,7 @@ lean_dec(x_106); x_107 = lean_box(0); x_108 = lean_usize_of_nat(x_105); lean_inc(x_1); -x_109 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_108, x_2, x_1); +x_109 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(x_108, x_2, x_1); x_110 = l_Lean_Elab_WF_TerminationBy_find_x3f(x_5, x_109); if (lean_obj_tag(x_110) == 0) { @@ -13435,7 +13433,7 @@ x_48 = lean_array_get_size(x_18); x_49 = lean_usize_of_nat(x_48); lean_dec(x_48); lean_inc(x_18); -x_50 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_registerEqnsInfo___spec__2(x_49, x_4, x_18); +x_50 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(x_49, x_4, x_18); x_51 = lean_array_to_list(lean_box(0), x_50); x_52 = lean_box(0); x_53 = l_List_mapTR_loop___at_Lean_Meta_substCore___spec__6(x_51, x_52); @@ -13568,25 +13566,6 @@ lean_ctor_set(x_11, 1, x_8); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__26___rarg(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__9___rarg___closed__2; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__26___rarg), 1, 0); -return x_7; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -13813,13 +13792,13 @@ else lean_object* x_75; lean_dec(x_6); lean_dec(x_2); -x_75 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__26___rarg(x_27); +x_75 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9___rarg(x_27); return x_75; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__28___rarg(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__27___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -13830,15 +13809,15 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__28(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__28___rarg), 1, 0); +x_7 = lean_alloc_closure((void*)(l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__27___rarg), 1, 0); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; @@ -14064,7 +14043,7 @@ else lean_object* x_75; lean_dec(x_6); lean_dec(x_2); -x_75 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__28___rarg(x_27); +x_75 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__27___rarg(x_27); return x_75; } } @@ -14209,7 +14188,7 @@ lean_inc(x_51); lean_dec(x_50); x_52 = lean_alloc_closure((void*)(l_Lean_Elab_WF_TerminationHint_ensureAllUsed), 3, 1); lean_closure_set(x_52, 0, x_47); -x_53 = l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__27(x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_51); +x_53 = l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__26(x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_51); lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); @@ -15001,20 +14980,6 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__26(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -15027,11 +14992,11 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__28___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__28(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_addPreDefinitions___spec__27(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -15041,11 +15006,11 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__27(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_liftMacroM___at_Lean_Elab_addPreDefinitions___spec__26(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c index b57b761d4930..349e04932a02 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/BRecOn.c @@ -179,7 +179,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinitio lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); uint8_t l_Lean_Elab_Structural_recArgHasLooseBVarsAt(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_replaceRecApps_loop___spec__40(lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_throwToBelowFailed___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -737,78 +737,79 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_toBelowAux___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +lean_object* x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; x_11 = l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_toBelowAux___lambda__4___closed__1; x_12 = l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_toBelowAux___lambda__4___closed__2; x_13 = 1; +x_14 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_14 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_11, x_12, x_13, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_14) == 0) +x_15 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_11, x_12, x_13, x_14, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_unsigned_to_nat(0u); -x_18 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_17); -x_19 = l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_toBelowAux___lambda__4___closed__3; -lean_inc(x_18); -x_20 = lean_mk_array(x_18, x_19); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_sub(x_18, x_21); -lean_dec(x_18); -lean_inc(x_15); -x_23 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_15, x_20, x_22); -x_24 = lean_array_get_size(x_4); -x_25 = lean_array_get_size(x_23); -x_26 = lean_nat_dec_le(x_24, x_25); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_16, x_18); +x_20 = l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_toBelowAux___lambda__4___closed__3; +lean_inc(x_19); +x_21 = lean_mk_array(x_19, x_20); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_19, x_22); +lean_dec(x_19); +lean_inc(x_16); +x_24 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_16, x_21, x_23); +x_25 = lean_array_get_size(x_4); +x_26 = lean_array_get_size(x_24); +x_27 = lean_nat_dec_le(x_25, x_26); +lean_dec(x_26); lean_dec(x_25); -lean_dec(x_24); -if (x_26 == 0) +if (x_27 == 0) { -lean_object* x_27; uint8_t x_28; -lean_dec(x_23); -lean_dec(x_15); +lean_object* x_28; uint8_t x_29; +lean_dec(x_24); +lean_dec(x_16); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_27 = l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_throwToBelowFailed___rarg(x_6, x_7, x_8, x_9, x_16); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) +x_28 = l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_throwToBelowFailed___rarg(x_6, x_7, x_8, x_9, x_17); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) { -return x_27; +return x_28; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_27, 0); -x_30 = lean_ctor_get(x_27, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_27); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_dec(x_28); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_box(0); -x_33 = l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_toBelowAux___lambda__3(x_23, x_4, x_5, x_15, x_2, x_3, x_32, x_6, x_7, x_8, x_9, x_16); -return x_33; +lean_object* x_33; lean_object* x_34; +x_33 = lean_box(0); +x_34 = l___private_Lean_Elab_PreDefinition_Structural_BRecOn_0__Lean_Elab_Structural_toBelowAux___lambda__3(x_24, x_4, x_5, x_16, x_2, x_3, x_33, x_6, x_7, x_8, x_9, x_17); +return x_34; } } else { -uint8_t x_34; +uint8_t x_35; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -817,23 +818,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_34 = !lean_is_exclusive(x_14); -if (x_34 == 0) +x_35 = !lean_is_exclusive(x_15); +if (x_35 == 0) { -return x_14; +return x_15; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_14, 0); -x_36 = lean_ctor_get(x_14, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_15, 0); +x_37 = lean_ctor_get(x_15, 1); +lean_inc(x_37); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_14); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_dec(x_15); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Preprocess.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Preprocess.c index def7b9124480..ccef51e4e902 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Preprocess.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Preprocess.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.Structural.Preprocess -// Imports: Init Lean.Meta.Transform +// Imports: Init Lean.Meta.Transform Lean.Elab.RecAppSyntax #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -17,6 +17,7 @@ LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Structural_Preprocess_0_ static lean_object* l_Lean_Elab_Structural_preprocess___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_preprocess___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Preprocess_0__Lean_Elab_Structural_shouldBetaReduce___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_preprocess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Preprocess_0__Lean_Elab_Structural_shouldBetaReduce___boxed(lean_object*, lean_object*); @@ -24,12 +25,15 @@ uint8_t l_Lean_Expr_isHeadBetaTarget(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Structural_preprocess___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); +extern lean_object* l___private_Lean_Elab_RecAppSyntax_0__Lean_recAppKey; LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Structural_Preprocess_0__Lean_Elab_Structural_shouldBetaReduce___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_preprocess___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_preprocess___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); +uint8_t l_Lean_KVMap_contains(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Structural_Preprocess_0__Lean_Elab_Structural_shouldBetaReduce___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -136,13 +140,72 @@ return x_11; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_preprocess___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; -x_5 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_5, 0, x_1); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -return x_6; +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 10) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_dec(x_5); +x_9 = l___private_Lean_Elab_RecAppSyntax_0__Lean_recAppKey; +x_10 = l_Lean_KVMap_contains(x_7, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_4); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_13 = l_Lean_Expr_app___override(x_8, x_6); +x_14 = l_Lean_Expr_mdata___override(x_7, x_13); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_1); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_4); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_4); +return x_20; +} } } static lean_object* _init_l_Lean_Elab_Structural_preprocess___closed__1() { @@ -186,6 +249,7 @@ return x_5; } lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Meta_Transform(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_RecAppSyntax(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_Structural_Preprocess(uint8_t builtin, lean_object* w) { lean_object * res; @@ -197,6 +261,9 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Transform(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_RecAppSyntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Structural_preprocess___lambda__1___closed__1 = _init_l_Lean_Elab_Structural_preprocess___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Structural_preprocess___lambda__1___closed__1); l_Lean_Elab_Structural_preprocess___closed__1 = _init_l_Lean_Elab_Structural_preprocess___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c index 9f1daef4302e..ef5bae9c1331 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Eqns.c @@ -153,7 +153,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_getUnfoldFor_x3f___lambda__1___boxed(lea LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_deltaLHSUntilFix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_getFixedPrefix___lambda__3___closed__6; -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_registerEqnsInfo___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_WF_simpMatchWF_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Eqns___hyg_4142____closed__6; @@ -2811,7 +2811,7 @@ lean_closure_set(x_12, 1, x_2); lean_closure_set(x_12, 2, x_3); x_13 = l___private_Lean_Elab_PreDefinition_WF_Eqns_0__Lean_Elab_WF_tryToFoldWellFoundedFix___closed__1; x_14 = 0; -x_15 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_4, x_12, x_13, x_14, x_5, x_6, x_7, x_8, x_9); +x_15 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_4, x_12, x_13, x_14, x_14, x_5, x_6, x_7, x_8, x_9); return x_15; } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c index ea801a894efa..e95988b4f4cb 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c @@ -85,7 +85,6 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_r lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_mkFix___lambda__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_object*); size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___lambda__2___closed__2; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -125,6 +124,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___lambda__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop(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*); +uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___lambda__2___closed__1; lean_object* l_Lean_Expr_replaceFVar(lean_object*, lean_object*, lean_object*); @@ -208,7 +208,6 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinitio lean_object* l_Lean_Meta_MatcherApp_toExpr(lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Tactic_Cleanup_0__Lean_Meta_cleanupCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -272,135 +271,6 @@ static lean_object* l_Lean_Elab_WF_mkFix___lambda__1___closed__3; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_9 = lean_box(0); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_8); -return x_10; -} -else -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_1); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_1, 1); -x_13 = lean_box(0); -lean_ctor_set(x_1, 1, x_13); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_14 = l_Lean_Elab_Term_reportUnsolvedGoals(x_1, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_1 = x_12; -x_8 = x_15; -goto _start; -} -else -{ -uint8_t x_17; -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_17 = !lean_is_exclusive(x_14); -if (x_17 == 0) -{ -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 0); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_14); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_1, 0); -x_22 = lean_ctor_get(x_1, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_1); -x_23 = lean_box(0); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_23); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_25 = l_Lean_Elab_Term_reportUnsolvedGoals(x_24, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_1 = x_22; -x_8 = x_26; -goto _start; -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_22); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_28 = lean_ctor_get(x_25, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_25, 1); -lean_inc(x_29); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_30 = x_25; -} else { - lean_dec_ref(x_25); - x_30 = lean_box(0); -} -if (lean_is_scalar(x_30)) { - x_31 = lean_alloc_ctor(1, 2, 0); -} else { - x_31 = x_30; -} -lean_ctor_set(x_31, 0, x_28); -lean_ctor_set(x_31, 1, x_29); -return x_31; -} -} -} -} -} static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___lambda__1___closed__1() { _start: { @@ -467,60 +337,94 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); x_10 = l_Lean_Elab_Tactic_run(x_1, x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l_List_forM___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___spec__1(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_12); -lean_dec(x_3); -lean_dec(x_2); -return x_13; +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = l_List_isEmpty___rarg(x_12); +if (x_14 == 0) +{ +lean_object* x_15; +lean_free_object(x_10); +x_15 = l_Lean_Elab_Term_reportUnsolvedGoals(x_12, x_4, x_5, x_6, x_7, x_13); +return x_15; } else { -uint8_t x_14; +lean_object* x_16; +lean_dec(x_12); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_14 = !lean_is_exclusive(x_10); -if (x_14 == 0) -{ +x_16 = lean_box(0); +lean_ctor_set(x_10, 0, x_16); return x_10; } +} else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_10, 0); -x_16 = lean_ctor_get(x_10, 1); -lean_inc(x_16); -lean_inc(x_15); +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_10, 0); +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +lean_inc(x_17); lean_dec(x_10); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; +x_19 = l_List_isEmpty___rarg(x_17); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = l_Lean_Elab_Term_reportUnsolvedGoals(x_17, x_4, x_5, x_6, x_7, x_18); +return x_20; } +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_17); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_18); +return x_22; } } } -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: +else { -lean_object* x_9; -x_9 = l_List_forM___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -lean_dec(x_2); -return x_9; +uint8_t x_23; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) +{ +return x_10; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 0); +x_25 = lean_ctor_get(x_10, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_10); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} } } LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_mkDecreasingProof___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -6993,7 +6897,7 @@ static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Ela lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__2; x_2 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__3; -x_3 = lean_unsigned_to_nat(147u); +x_3 = lean_unsigned_to_nat(148u); x_4 = lean_unsigned_to_nat(49u); x_5 = l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c new file mode 100644 index 000000000000..c26ca33b0734 --- /dev/null +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/GuessLex.c @@ -0,0 +1,17136 @@ +// Lean compiler output +// Module: Lean.Elab.PreDefinition.WF.GuessLex +// Imports: Init Lean.Util.HasConstCache Lean.Meta.CasesOn Lean.Meta.Match.Match Lean.Meta.Tactic.Cleanup Lean.Meta.Tactic.Refl Lean.Elab.Quotation Lean.Elab.RecAppSyntax Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.Structural.Basic Lean.Elab.PreDefinition.WF.TerminationHint +#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_Expr_const___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(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_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823_(uint8_t, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_eval___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1(lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__9; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10(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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__3; +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__2; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_guessLex___closed__1; +lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_ofNat___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__17; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__4; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__5; +static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; +lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__9; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4___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_Elab_WF_GuessLex_buildTermWF___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___boxed(lean_object**); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__23; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__1(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__17; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_sort___override(lean_object*); +lean_object* l_Lean_MessageData_ofList(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1___rarg___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*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2; +static lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___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*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__4(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_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___boxed(lean_object**); +lean_object* l_Lean_getRecAppSyntax_x3f(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__20; +lean_object* lean_mk_array(lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__5; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__1; +uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__29; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__25; +lean_object* l_Lean_Meta_CasesOnApp_refineThrough_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__35; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__21; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1; +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_guessLex___closed__3; +lean_object* l_Lean_Meta_Match_MatcherInfo_arity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_SavedLocalContext_run___spec__1(lean_object*); +lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__7; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__11; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(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_WF_guessLex___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__3; +lean_object* l_Lean_MVarId_refl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___closed__2; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6(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_WF_GuessLex_generateCombinations_x3f_goUniform___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__9; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg___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_Elab_WF_GuessLex_generateMeasures(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_create(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8; +static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__6; +lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_eval(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___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_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__3; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__23; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__21; +lean_object* l_Lean_Elab_Tactic_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__5; +static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__2(lean_object*); +extern lean_object* l_instInhabitedNat; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___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_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__4; +static size_t l_Lean_Elab_WF_GuessLex_generateMeasures___closed__4; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg(lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__19; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_guessLex___closed__2; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__22; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__3; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__20; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn(lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__7; +size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__16; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___boxed(lean_object**); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__6; +static lean_object* l_Lean_Elab_WF_guessLex___lambda__1___closed__2; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__32; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__1(size_t, size_t, lean_object*); +lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(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_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___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*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__2; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__3___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__6; +lean_object* l_Array_zip___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__3; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4; +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3; +lean_object* lean_nat_to_int(lean_object*); +lean_object* l_Lean_MessageData_ofSyntax(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__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_object*); +lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_guessLex___closed__4; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_isForbidden___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__4; +lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_range(lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__25; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1(lean_object*); +lean_object* l_Lean_Elab_goalsToMessageData(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__6; +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_runTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__3(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); +uint8_t l_Lean_Elab_Structural_recArgHasLooseBVarsAt(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_mk(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__30; +uint8_t l_Lean_Expr_isLit(lean_object*); +lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__2; +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__1; +lean_object* lean_st_ref_get(lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4___boxed(lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__15; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5; +lean_object* lean_st_mk_ref(lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__4; +lean_object* lean_array_to_list(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__33; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__2; +lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__3(size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__27; +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__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*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__5; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__34; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_levelZero; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__14; +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___rarg___lambda__1(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_forInUnsafe_loop___at_Lean_Elab_WF_guessLex___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_instInhabitedExpr; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_WF_guessLex___spec__12(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processApp(lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__12; +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__3; +lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__28; +static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__5; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___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* l_List_mapTR_loop___at_Lean_Meta_substCore___spec__6(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__1; +lean_object* l_Lean_HasConstCache_containsUnsafe(lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__1; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__4; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_SavedLocalContext_run___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__10; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__24; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processRec(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__2___rarg(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* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_MatcherApp_refineThrough_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__1; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__26; +LEAN_EXPORT uint8_t l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_isForbidden(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__2; +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__2; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__3; +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__10; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___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_Lean_Elab_WF_GuessLex_RecCallCache_pretty___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_reportUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_guessLex___lambda__1___closed__1; +lean_object* lean_mk_syntax_ident(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_buildTermWF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__4; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__8; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__12; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6(lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(size_t, size_t, lean_object*); +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__2; +LEAN_EXPORT uint8_t l_Lean_Elab_WF_GuessLex_GuessLexRel_ofNat(lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofExpr(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__13; +lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall(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_WF_GuessLex_solve_go___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__7; +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4; +static lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures___closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___rarg___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_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__2(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_WF_GuessLex_mkSizeOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__3; +lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__16; +uint8_t l_Lean_Name_hasMacroScopes(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__2; +static lean_object* l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1; +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__10; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve(lean_object*, lean_object*); +lean_object* l_Lean_throwError___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___boxed(lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__5; +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__12; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_pretty(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__3___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__2; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_guessLex___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_TermElabM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__18; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__26; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_getLocalInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_create___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_indentExpr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2(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*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__24; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); +lean_object* l_Lean_FVarId_getUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_StateRefT_x27_lift(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__18; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__31; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Repr_addAppParen(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +lean_object* l_Lean_Elab_addAsAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__2; +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__2(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_throwError___at_Lean_Elab_WF_guessLex___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6; +lean_object* l___private_Lean_Meta_Tactic_Cleanup_0__Lean_Meta_cleanupCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppFn(lean_object*); +extern lean_object* l_Lean_levelOne; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6; +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__6; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__15; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_create___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__6; +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___rarg___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* l_Array_ofSubarray___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processApp___rarg(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_Elab_WF_GuessLex_instDecidableEqGuessLexRel___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); +lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__5; +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__13; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___lambda__1(lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__1; +size_t lean_usize_add(size_t, size_t); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__14; +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__8; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__2; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_ensureNoRecFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop(lean_object*); +extern lean_object* l_Lean_instInhabitedName; +static lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__4(lean_object*, size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___boxed(lean_object*, lean_object*); +lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7; +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__3; +lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__3; +lean_object* l_List_redLength___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_toCasesOnApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__1; +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1; +lean_object* l_Lean_Elab_Tactic_evalTactic(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_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instReprGuessLexRel; +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4(lean_object*, lean_object*, lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__3; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__7; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(uint8_t); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(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_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__2; +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__1; +LEAN_EXPORT uint8_t l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(uint8_t, uint8_t); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__7; +lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__1; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___lambda__1___boxed(lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +uint8_t l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__19; +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__5; +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; +uint8_t l_Lean_Exception_isRuntime(lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_mvarId_x21(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__11; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(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_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_MessageData_ofName(lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__22; +lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__5; +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4(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_object*); +static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__4; +lean_object* l_Nat_repr(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___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_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__6; +lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx___boxed(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__1; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__2(lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_Meta_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__6; +uint8_t l_Array_isEmpty___rarg(lean_object*); +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("x", 1); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +uint8_t x_18; +x_18 = lean_nat_dec_lt(x_10, x_7); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_eq(x_9, x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_9, x_22); +lean_dec(x_9); +x_24 = lean_array_fget(x_3, x_10); +x_25 = l_Lean_Expr_fvarId_x21(x_24); +lean_inc(x_13); +x_26 = l_Lean_FVarId_getUserName(x_25, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Name_hasMacroScopes(x_27); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_array_push(x_12, x_27); +x_31 = lean_nat_add(x_10, x_8); +lean_dec(x_10); +x_9 = x_23; +x_10 = x_31; +x_11 = lean_box(0); +x_12 = x_30; +x_17 = x_28; +goto _start; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_27); +x_33 = lean_nat_add(x_10, x_22); +x_34 = l_Nat_repr(x_33); +x_35 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__1; +x_36 = lean_string_append(x_35, x_34); +lean_dec(x_34); +x_37 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__2; +x_38 = lean_string_append(x_36, x_37); +x_39 = lean_box(0); +x_40 = l_Lean_Name_str___override(x_39, x_38); +x_41 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_40, x_15, x_16, x_28); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_array_push(x_12, x_42); +x_45 = lean_nat_add(x_10, x_8); +lean_dec(x_10); +x_9 = x_23; +x_10 = x_45; +x_11 = lean_box(0); +x_12 = x_44; +x_17 = x_43; +goto _start; +} +} +else +{ +uint8_t x_47; +lean_dec(x_23); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_10); +x_47 = !lean_is_exclusive(x_26); +if (x_47 == 0) +{ +return x_26; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_26, 0); +x_49 = lean_ctor_get(x_26, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_26); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +else +{ +lean_object* x_51; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_12); +lean_ctor_set(x_51, 1, x_17); +return x_51; +} +} +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_9 = lean_array_get_size(x_2); +lean_inc(x_1); +x_10 = l_Array_extract___rarg(x_2, x_1, x_9); +lean_dec(x_9); +x_11 = lean_array_get_size(x_10); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_unsigned_to_nat(1u); +lean_inc(x_11); +x_14 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_11); +lean_ctor_set(x_14, 2, x_13); +x_15 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +lean_inc(x_11); +x_16 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1(x_1, x_2, x_10, x_11, x_14, x_12, x_11, x_13, x_11, x_12, lean_box(0), x_15, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_1); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +return x_16; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_16); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_16); +if (x_21 == 0) +{ +return x_16; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_16, 0); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_16); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_2, 5); +lean_inc(x_8); +lean_dec(x_2); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___boxed), 8, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_8, x_9, x_3, x_4, x_5, x_6, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_10 = lean_st_ref_take(x_4, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_HasConstCache_containsUnsafe(x_1, x_2, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_st_ref_set(x_4, x_15, x_12); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +lean_ctor_set(x_16, 0, x_14); +return x_16; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___rarg___boxed), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_levelZero; +x_2 = l_Lean_Expr_sort___override(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_5, x_13); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_2, x_15); +x_17 = lean_nat_dec_lt(x_14, x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_18 = l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1; +lean_inc(x_14); +x_19 = lean_mk_array(x_14, x_18); +x_20 = lean_nat_sub(x_14, x_15); +lean_dec(x_14); +x_21 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_5, x_19, x_20); +x_22 = lean_apply_7(x_3, x_4, x_21, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_st_ref_take(x_6, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_array_push(x_26, x_23); +x_29 = lean_st_ref_set(x_6, x_28, x_27); +lean_dec(x_6); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +x_32 = lean_box(0); +lean_ctor_set(x_29, 0, x_32); +return x_29; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_dec(x_29); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_dec(x_6); +x_36 = !lean_is_exclusive(x_22); +if (x_36 == 0) +{ +return x_22; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_22, 0); +x_38 = lean_ctor_get(x_22, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_22); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +lean_object* x_40; +lean_dec(x_14); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_40 = l_Lean_Meta_etaExpand(x_5, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_1, x_2, x_3, x_4, x_41, x_6, x_7, x_8, x_9, x_10, x_11, x_42); +return x_43; +} +else +{ +uint8_t x_44; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) +{ +return x_40; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 0); +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_40); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processRec(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg), 12, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_13 = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(x_12, x_1); +lean_ctor_set(x_9, 0, x_13); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_9); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(x_16, x_1); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___rarg___boxed), 8, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Expr_getAppFn(x_2); +if (lean_obj_tag(x_10) == 4) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_11); +x_13 = l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___rarg(x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_2); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +x_17 = lean_box(0); +lean_ctor_set(x_13, 0, x_17); +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_dec(x_13); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_13, 0); +lean_dec(x_22); +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_unsigned_to_nat(0u); +x_26 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_25); +x_27 = l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1; +lean_inc(x_26); +x_28 = lean_mk_array(x_26, x_27); +x_29 = lean_unsigned_to_nat(1u); +x_30 = lean_nat_sub(x_26, x_29); +lean_dec(x_26); +x_31 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_28, x_30); +x_32 = lean_array_get_size(x_31); +x_33 = l_Lean_Meta_Match_MatcherInfo_arity(x_24); +x_34 = lean_nat_dec_lt(x_32, x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_35 = l_List_redLength___rarg(x_12); +x_36 = lean_mk_empty_array_with_capacity(x_35); +lean_dec(x_35); +x_37 = l_List_toArrayAux___rarg(x_12, x_36); +x_38 = lean_ctor_get(x_24, 3); +lean_inc(x_38); +x_39 = lean_ctor_get(x_24, 0); +lean_inc(x_39); +x_40 = l_Array_extract___rarg(x_31, x_25, x_39); +x_41 = lean_nat_dec_lt(x_39, x_32); +x_42 = lean_nat_add(x_39, x_29); +x_43 = lean_ctor_get(x_24, 1); +lean_inc(x_43); +x_44 = lean_nat_add(x_42, x_43); +lean_dec(x_43); +lean_inc(x_44); +lean_inc(x_31); +x_45 = l_Array_toSubarray___rarg(x_31, x_42, x_44); +x_46 = l_Array_ofSubarray___rarg(x_45); +x_47 = lean_ctor_get(x_24, 2); +lean_inc(x_47); +x_48 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_24); +lean_dec(x_24); +x_49 = lean_nat_add(x_44, x_48); +lean_dec(x_48); +lean_inc(x_49); +lean_inc(x_31); +x_50 = l_Array_toSubarray___rarg(x_31, x_44, x_49); +x_51 = l_Array_ofSubarray___rarg(x_50); +lean_inc(x_31); +x_52 = l_Array_toSubarray___rarg(x_31, x_49, x_32); +x_53 = l_Array_ofSubarray___rarg(x_52); +if (x_41 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_39); +lean_dec(x_31); +x_54 = l_Lean_instInhabitedExpr; +x_55 = l___private_Init_Util_0__outOfBounds___rarg(x_54); +x_56 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_56, 0, x_11); +lean_ctor_set(x_56, 1, x_37); +lean_ctor_set(x_56, 2, x_38); +lean_ctor_set(x_56, 3, x_40); +lean_ctor_set(x_56, 4, x_55); +lean_ctor_set(x_56, 5, x_46); +lean_ctor_set(x_56, 6, x_47); +lean_ctor_set(x_56, 7, x_51); +lean_ctor_set(x_56, 8, x_53); +lean_ctor_set(x_14, 0, x_56); +return x_13; +} +else +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_array_fget(x_31, x_39); +lean_dec(x_39); +lean_dec(x_31); +x_58 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_58, 0, x_11); +lean_ctor_set(x_58, 1, x_37); +lean_ctor_set(x_58, 2, x_38); +lean_ctor_set(x_58, 3, x_40); +lean_ctor_set(x_58, 4, x_57); +lean_ctor_set(x_58, 5, x_46); +lean_ctor_set(x_58, 6, x_47); +lean_ctor_set(x_58, 7, x_51); +lean_ctor_set(x_58, 8, x_53); +lean_ctor_set(x_14, 0, x_58); +return x_13; +} +} +else +{ +lean_object* x_59; +lean_dec(x_32); +lean_dec(x_31); +lean_free_object(x_14); +lean_dec(x_24); +lean_dec(x_12); +lean_dec(x_11); +x_59 = lean_box(0); +lean_ctor_set(x_13, 0, x_59); +return x_13; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_60 = lean_ctor_get(x_14, 0); +lean_inc(x_60); +lean_dec(x_14); +x_61 = lean_unsigned_to_nat(0u); +x_62 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_61); +x_63 = l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1; +lean_inc(x_62); +x_64 = lean_mk_array(x_62, x_63); +x_65 = lean_unsigned_to_nat(1u); +x_66 = lean_nat_sub(x_62, x_65); +lean_dec(x_62); +x_67 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_64, x_66); +x_68 = lean_array_get_size(x_67); +x_69 = l_Lean_Meta_Match_MatcherInfo_arity(x_60); +x_70 = lean_nat_dec_lt(x_68, x_69); +lean_dec(x_69); +if (x_70 == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_71 = l_List_redLength___rarg(x_12); +x_72 = lean_mk_empty_array_with_capacity(x_71); +lean_dec(x_71); +x_73 = l_List_toArrayAux___rarg(x_12, x_72); +x_74 = lean_ctor_get(x_60, 3); +lean_inc(x_74); +x_75 = lean_ctor_get(x_60, 0); +lean_inc(x_75); +x_76 = l_Array_extract___rarg(x_67, x_61, x_75); +x_77 = lean_nat_dec_lt(x_75, x_68); +x_78 = lean_nat_add(x_75, x_65); +x_79 = lean_ctor_get(x_60, 1); +lean_inc(x_79); +x_80 = lean_nat_add(x_78, x_79); +lean_dec(x_79); +lean_inc(x_80); +lean_inc(x_67); +x_81 = l_Array_toSubarray___rarg(x_67, x_78, x_80); +x_82 = l_Array_ofSubarray___rarg(x_81); +x_83 = lean_ctor_get(x_60, 2); +lean_inc(x_83); +x_84 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_60); +lean_dec(x_60); +x_85 = lean_nat_add(x_80, x_84); +lean_dec(x_84); +lean_inc(x_85); +lean_inc(x_67); +x_86 = l_Array_toSubarray___rarg(x_67, x_80, x_85); +x_87 = l_Array_ofSubarray___rarg(x_86); +lean_inc(x_67); +x_88 = l_Array_toSubarray___rarg(x_67, x_85, x_68); +x_89 = l_Array_ofSubarray___rarg(x_88); +if (x_77 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_75); +lean_dec(x_67); +x_90 = l_Lean_instInhabitedExpr; +x_91 = l___private_Init_Util_0__outOfBounds___rarg(x_90); +x_92 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_92, 0, x_11); +lean_ctor_set(x_92, 1, x_73); +lean_ctor_set(x_92, 2, x_74); +lean_ctor_set(x_92, 3, x_76); +lean_ctor_set(x_92, 4, x_91); +lean_ctor_set(x_92, 5, x_82); +lean_ctor_set(x_92, 6, x_83); +lean_ctor_set(x_92, 7, x_87); +lean_ctor_set(x_92, 8, x_89); +x_93 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_13, 0, x_93); +return x_13; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_array_fget(x_67, x_75); +lean_dec(x_75); +lean_dec(x_67); +x_95 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_95, 0, x_11); +lean_ctor_set(x_95, 1, x_73); +lean_ctor_set(x_95, 2, x_74); +lean_ctor_set(x_95, 3, x_76); +lean_ctor_set(x_95, 4, x_94); +lean_ctor_set(x_95, 5, x_82); +lean_ctor_set(x_95, 6, x_83); +lean_ctor_set(x_95, 7, x_87); +lean_ctor_set(x_95, 8, x_89); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_13, 0, x_96); +return x_13; +} +} +else +{ +lean_object* x_97; +lean_dec(x_68); +lean_dec(x_67); +lean_dec(x_60); +lean_dec(x_12); +lean_dec(x_11); +x_97 = lean_box(0); +lean_ctor_set(x_13, 0, x_97); +return x_13; +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; +x_98 = lean_ctor_get(x_13, 1); +lean_inc(x_98); +lean_dec(x_13); +x_99 = lean_ctor_get(x_14, 0); +lean_inc(x_99); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_100 = x_14; +} else { + lean_dec_ref(x_14); + x_100 = lean_box(0); +} +x_101 = lean_unsigned_to_nat(0u); +x_102 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_101); +x_103 = l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1; +lean_inc(x_102); +x_104 = lean_mk_array(x_102, x_103); +x_105 = lean_unsigned_to_nat(1u); +x_106 = lean_nat_sub(x_102, x_105); +lean_dec(x_102); +x_107 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_104, x_106); +x_108 = lean_array_get_size(x_107); +x_109 = l_Lean_Meta_Match_MatcherInfo_arity(x_99); +x_110 = lean_nat_dec_lt(x_108, x_109); +lean_dec(x_109); +if (x_110 == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_111 = l_List_redLength___rarg(x_12); +x_112 = lean_mk_empty_array_with_capacity(x_111); +lean_dec(x_111); +x_113 = l_List_toArrayAux___rarg(x_12, x_112); +x_114 = lean_ctor_get(x_99, 3); +lean_inc(x_114); +x_115 = lean_ctor_get(x_99, 0); +lean_inc(x_115); +x_116 = l_Array_extract___rarg(x_107, x_101, x_115); +x_117 = lean_nat_dec_lt(x_115, x_108); +x_118 = lean_nat_add(x_115, x_105); +x_119 = lean_ctor_get(x_99, 1); +lean_inc(x_119); +x_120 = lean_nat_add(x_118, x_119); +lean_dec(x_119); +lean_inc(x_120); +lean_inc(x_107); +x_121 = l_Array_toSubarray___rarg(x_107, x_118, x_120); +x_122 = l_Array_ofSubarray___rarg(x_121); +x_123 = lean_ctor_get(x_99, 2); +lean_inc(x_123); +x_124 = l_Lean_Meta_Match_MatcherInfo_numAlts(x_99); +lean_dec(x_99); +x_125 = lean_nat_add(x_120, x_124); +lean_dec(x_124); +lean_inc(x_125); +lean_inc(x_107); +x_126 = l_Array_toSubarray___rarg(x_107, x_120, x_125); +x_127 = l_Array_ofSubarray___rarg(x_126); +lean_inc(x_107); +x_128 = l_Array_toSubarray___rarg(x_107, x_125, x_108); +x_129 = l_Array_ofSubarray___rarg(x_128); +if (x_117 == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_115); +lean_dec(x_107); +x_130 = l_Lean_instInhabitedExpr; +x_131 = l___private_Init_Util_0__outOfBounds___rarg(x_130); +x_132 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_132, 0, x_11); +lean_ctor_set(x_132, 1, x_113); +lean_ctor_set(x_132, 2, x_114); +lean_ctor_set(x_132, 3, x_116); +lean_ctor_set(x_132, 4, x_131); +lean_ctor_set(x_132, 5, x_122); +lean_ctor_set(x_132, 6, x_123); +lean_ctor_set(x_132, 7, x_127); +lean_ctor_set(x_132, 8, x_129); +if (lean_is_scalar(x_100)) { + x_133 = lean_alloc_ctor(1, 1, 0); +} else { + x_133 = x_100; +} +lean_ctor_set(x_133, 0, x_132); +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_98); +return x_134; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_135 = lean_array_fget(x_107, x_115); +lean_dec(x_115); +lean_dec(x_107); +x_136 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_136, 0, x_11); +lean_ctor_set(x_136, 1, x_113); +lean_ctor_set(x_136, 2, x_114); +lean_ctor_set(x_136, 3, x_116); +lean_ctor_set(x_136, 4, x_135); +lean_ctor_set(x_136, 5, x_122); +lean_ctor_set(x_136, 6, x_123); +lean_ctor_set(x_136, 7, x_127); +lean_ctor_set(x_136, 8, x_129); +if (lean_is_scalar(x_100)) { + x_137 = lean_alloc_ctor(1, 1, 0); +} else { + x_137 = x_100; +} +lean_ctor_set(x_137, 0, x_136); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_98); +return x_138; +} +} +else +{ +lean_object* x_139; lean_object* x_140; +lean_dec(x_108); +lean_dec(x_107); +lean_dec(x_100); +lean_dec(x_99); +lean_dec(x_12); +lean_dec(x_11); +x_139 = lean_box(0); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_98); +return x_140; +} +} +} +} +else +{ +lean_object* x_141; lean_object* x_142; +lean_dec(x_10); +lean_dec(x_2); +x_141 = lean_box(0); +x_142 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_9); +return x_142; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___boxed), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_6, 5); +x_10 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +lean_inc(x_9); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg___boxed), 8, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = lean_apply_9(x_1, x_4, x_5, x_2, x_3, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___rarg___lambda__1), 10, 3); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, x_3); +lean_closure_set(x_10, 2, x_4); +x_11 = 0; +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(x_1, x_11, x_10, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___rarg), 9, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_8); +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Array_toSubarray___rarg(x_1, x_16, x_2); +x_18 = l_Array_ofSubarray___rarg(x_17); +x_19 = lean_expr_instantiate_rev(x_3, x_18); +lean_dec(x_18); +lean_dec(x_3); +x_20 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_4, x_5, x_6, x_19, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_20; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unexpected `casesOn` application alternative", 44); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\nat application", 15); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_array_get_size(x_8); +x_18 = lean_nat_dec_le(x_1, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = l_Lean_indentExpr(x_6); +x_20 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__2; +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__4; +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_indentExpr(x_7); +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg(x_27, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +return x_28; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_28); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +x_33 = lean_box(0); +x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__1(x_8, x_1, x_2, x_3, x_4, x_5, x_9, x_33, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_34; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_eq(x_6, x_7); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_8); +x_17 = lean_array_uget(x_5, x_6); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +lean_inc(x_4); +lean_inc(x_19); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_22 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2), 16, 7); +lean_closure_set(x_22, 0, x_20); +lean_closure_set(x_22, 1, x_21); +lean_closure_set(x_22, 2, x_1); +lean_closure_set(x_22, 3, x_2); +lean_closure_set(x_22, 4, x_3); +lean_closure_set(x_22, 5, x_19); +lean_closure_set(x_22, 6, x_4); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_23 = l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___rarg(x_19, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_6, x_26); +x_6 = x_27; +x_8 = x_24; +x_15 = x_25; +goto _start; +} +else +{ +uint8_t x_29; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) +{ +return x_23; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_23); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +lean_object* x_33; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_8); +lean_ctor_set(x_33, 1, x_15); +return x_33; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___boxed), 15, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_6, 5); +x_10 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_9); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set_tag(x_10, 1); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +lean_inc(x_9); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___rarg___boxed), 8, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___rarg___lambda__1), 10, 3); +lean_closure_set(x_10, 0, x_2); +lean_closure_set(x_10, 1, x_3); +lean_closure_set(x_10, 2, x_4); +x_11 = 0; +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(x_1, x_11, x_10, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg), 9, 0); +return x_4; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unexpected matcher application alternative", 42); +return x_1; +} +} +static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_array_get_size(x_8); +x_18 = lean_nat_dec_le(x_1, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_19 = l_Lean_indentExpr(x_6); +x_20 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__2; +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__4; +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_indentExpr(x_7); +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___rarg(x_27, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +return x_28; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_28, 0); +x_31 = lean_ctor_get(x_28, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_28); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +x_33 = lean_box(0); +x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__1(x_8, x_1, x_2, x_3, x_4, x_5, x_9, x_33, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_34; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_eq(x_6, x_7); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_8); +x_17 = lean_array_uget(x_5, x_6); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +lean_inc(x_4); +lean_inc(x_19); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_22 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1), 16, 7); +lean_closure_set(x_22, 0, x_20); +lean_closure_set(x_22, 1, x_21); +lean_closure_set(x_22, 2, x_1); +lean_closure_set(x_22, 3, x_2); +lean_closure_set(x_22, 4, x_3); +lean_closure_set(x_22, 5, x_19); +lean_closure_set(x_22, 6, x_4); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_23 = l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___rarg(x_19, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_6, x_26); +x_6 = x_27; +x_8 = x_24; +x_15 = x_25; +goto _start; +} +else +{ +uint8_t x_29; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_23); +if (x_29 == 0) +{ +return x_23; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_23, 0); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_23); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +lean_object* x_33; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_8); +lean_ctor_set(x_33, 1, x_15); +return x_33; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___boxed), 15, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = lean_apply_8(x_1, x_4, x_2, x_3, x_5, x_6, x_7, x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg___lambda__1), 9, 3); +lean_closure_set(x_13, 0, x_4); +lean_closure_set(x_13, 1, x_6); +lean_closure_set(x_13, 2, x_7); +x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_13, x_5, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg___boxed), 12, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg___lambda__1), 9, 3); +lean_closure_set(x_13, 0, x_4); +lean_closure_set(x_13, 1, x_6); +lean_closure_set(x_13, 2, x_7); +x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_13, x_5, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___rarg___boxed), 12, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg___lambda__1), 9, 3); +lean_closure_set(x_13, 0, x_4); +lean_closure_set(x_13, 1, x_6); +lean_closure_set(x_13, 2, x_7); +x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(x_1, x_2, x_3, x_13, x_5, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___rarg___boxed), 12, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_expr_instantiate1(x_1, x_6); +lean_dec(x_6); +lean_dec(x_1); +x_15 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_dec(x_6); +switch (lean_obj_tag(x_1)) { +case 4: +{ +uint8_t x_14; +x_14 = l_Lean_Expr_isConstOf(x_1, x_2); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +else +{ +lean_object* x_17; +x_17 = l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg(x_2, x_3, x_4, x_5, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_17; +} +} +case 5: +{ +lean_object* x_18; lean_object* x_19; +lean_inc(x_1); +x_18 = l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg(x_2, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_1); +x_21 = l_Lean_Meta_toCasesOnApp_x3f(x_1, x_9, x_10, x_11, x_12, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_Elab_WF_GuessLex_withRecApps_processApp___rarg(x_2, x_3, x_4, x_5, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_23); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_ctor_get(x_22, 0); +lean_inc(x_26); +lean_dec(x_22); +lean_inc(x_1); +lean_inc(x_3); +lean_inc(x_2); +x_27 = l_Lean_Elab_Structural_recArgHasLooseBVarsAt(x_2, x_3, x_1); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_26); +x_28 = l_Lean_Elab_WF_GuessLex_withRecApps_processApp___rarg(x_2, x_3, x_4, x_5, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_25); +return x_28; +} +else +{ +lean_object* x_29; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_5); +lean_inc(x_26); +x_29 = l_Lean_Meta_CasesOnApp_refineThrough_x3f(x_26, x_5, x_9, x_10, x_11, x_12, x_25); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_26); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_Elab_WF_GuessLex_withRecApps_processApp___rarg(x_2, x_3, x_4, x_5, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_31); +return x_32; +} +else +{ +uint8_t x_33; +lean_dec(x_5); +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_34 = lean_ctor_get(x_29, 1); +x_35 = lean_ctor_get(x_29, 0); +lean_dec(x_35); +x_36 = lean_ctor_get(x_30, 0); +lean_inc(x_36); +lean_dec(x_30); +x_37 = lean_ctor_get(x_26, 6); +lean_inc(x_37); +x_38 = lean_ctor_get(x_26, 7); +lean_inc(x_38); +lean_dec(x_26); +x_39 = l_Array_zip___rarg(x_38, x_36); +lean_dec(x_36); +lean_dec(x_38); +x_40 = l_Array_zip___rarg(x_37, x_39); +lean_dec(x_39); +lean_dec(x_37); +x_41 = lean_array_get_size(x_40); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_lt(x_42, x_41); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_44 = lean_box(0); +lean_ctor_set(x_29, 0, x_44); +return x_29; +} +else +{ +uint8_t x_45; +x_45 = lean_nat_dec_le(x_41, x_41); +if (x_45 == 0) +{ +lean_object* x_46; +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_46 = lean_box(0); +lean_ctor_set(x_29, 0, x_46); +return x_29; +} +else +{ +size_t x_47; size_t x_48; lean_object* x_49; lean_object* x_50; +lean_free_object(x_29); +x_47 = 0; +x_48 = lean_usize_of_nat(x_41); +lean_dec(x_41); +x_49 = lean_box(0); +x_50 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg(x_2, x_3, x_4, x_1, x_40, x_47, x_48, x_49, x_7, x_8, x_9, x_10, x_11, x_12, x_34); +lean_dec(x_40); +return x_50; +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_51 = lean_ctor_get(x_29, 1); +lean_inc(x_51); +lean_dec(x_29); +x_52 = lean_ctor_get(x_30, 0); +lean_inc(x_52); +lean_dec(x_30); +x_53 = lean_ctor_get(x_26, 6); +lean_inc(x_53); +x_54 = lean_ctor_get(x_26, 7); +lean_inc(x_54); +lean_dec(x_26); +x_55 = l_Array_zip___rarg(x_54, x_52); +lean_dec(x_52); +lean_dec(x_54); +x_56 = l_Array_zip___rarg(x_53, x_55); +lean_dec(x_55); +lean_dec(x_53); +x_57 = lean_array_get_size(x_56); +x_58 = lean_unsigned_to_nat(0u); +x_59 = lean_nat_dec_lt(x_58, x_57); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +lean_dec(x_57); +lean_dec(x_56); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_51); +return x_61; +} +else +{ +uint8_t x_62; +x_62 = lean_nat_dec_le(x_57, x_57); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_57); +lean_dec(x_56); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_63 = lean_box(0); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_51); +return x_64; +} +else +{ +size_t x_65; size_t x_66; lean_object* x_67; lean_object* x_68; +x_65 = 0; +x_66 = lean_usize_of_nat(x_57); +lean_dec(x_57); +x_67 = lean_box(0); +x_68 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg(x_2, x_3, x_4, x_1, x_56, x_65, x_66, x_67, x_7, x_8, x_9, x_10, x_11, x_12, x_51); +lean_dec(x_56); +return x_68; +} +} +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_26); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_29); +if (x_69 == 0) +{ +return x_29; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_29, 0); +x_71 = lean_ctor_get(x_29, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_29); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +} +} +else +{ +uint8_t x_73; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_73 = !lean_is_exclusive(x_21); +if (x_73 == 0) +{ +return x_21; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_21, 0); +x_75 = lean_ctor_get(x_21, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_21); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +lean_object* x_77; lean_object* x_78; uint8_t x_79; +x_77 = lean_ctor_get(x_18, 1); +lean_inc(x_77); +lean_dec(x_18); +x_78 = lean_ctor_get(x_19, 0); +lean_inc(x_78); +lean_dec(x_19); +lean_inc(x_1); +lean_inc(x_3); +lean_inc(x_2); +x_79 = l_Lean_Elab_Structural_recArgHasLooseBVarsAt(x_2, x_3, x_1); +if (x_79 == 0) +{ +lean_object* x_80; +lean_dec(x_78); +x_80 = l_Lean_Elab_WF_GuessLex_withRecApps_processApp___rarg(x_2, x_3, x_4, x_5, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_77); +return x_80; +} +else +{ +lean_object* x_81; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_5); +lean_inc(x_78); +x_81 = l_Lean_Meta_MatcherApp_refineThrough_x3f(x_78, x_5, x_9, x_10, x_11, x_12, x_77); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; +lean_dec(x_78); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_84 = l_Lean_Elab_WF_GuessLex_withRecApps_processApp___rarg(x_2, x_3, x_4, x_5, x_1, x_7, x_8, x_9, x_10, x_11, x_12, x_83); +return x_84; +} +else +{ +uint8_t x_85; +lean_dec(x_5); +x_85 = !lean_is_exclusive(x_81); +if (x_85 == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_86 = lean_ctor_get(x_81, 1); +x_87 = lean_ctor_get(x_81, 0); +lean_dec(x_87); +x_88 = lean_ctor_get(x_82, 0); +lean_inc(x_88); +lean_dec(x_82); +x_89 = lean_ctor_get(x_78, 7); +lean_inc(x_89); +x_90 = lean_ctor_get(x_78, 6); +lean_inc(x_90); +lean_dec(x_78); +x_91 = l_Array_zip___rarg(x_90, x_88); +lean_dec(x_88); +lean_dec(x_90); +x_92 = l_Array_zip___rarg(x_89, x_91); +lean_dec(x_91); +lean_dec(x_89); +x_93 = lean_array_get_size(x_92); +x_94 = lean_unsigned_to_nat(0u); +x_95 = lean_nat_dec_lt(x_94, x_93); +if (x_95 == 0) +{ +lean_object* x_96; +lean_dec(x_93); +lean_dec(x_92); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_96 = lean_box(0); +lean_ctor_set(x_81, 0, x_96); +return x_81; +} +else +{ +uint8_t x_97; +x_97 = lean_nat_dec_le(x_93, x_93); +if (x_97 == 0) +{ +lean_object* x_98; +lean_dec(x_93); +lean_dec(x_92); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_98 = lean_box(0); +lean_ctor_set(x_81, 0, x_98); +return x_81; +} +else +{ +size_t x_99; size_t x_100; lean_object* x_101; lean_object* x_102; +lean_free_object(x_81); +x_99 = 0; +x_100 = lean_usize_of_nat(x_93); +lean_dec(x_93); +x_101 = lean_box(0); +x_102 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg(x_2, x_3, x_4, x_1, x_92, x_99, x_100, x_101, x_7, x_8, x_9, x_10, x_11, x_12, x_86); +lean_dec(x_92); +return x_102; +} +} +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_103 = lean_ctor_get(x_81, 1); +lean_inc(x_103); +lean_dec(x_81); +x_104 = lean_ctor_get(x_82, 0); +lean_inc(x_104); +lean_dec(x_82); +x_105 = lean_ctor_get(x_78, 7); +lean_inc(x_105); +x_106 = lean_ctor_get(x_78, 6); +lean_inc(x_106); +lean_dec(x_78); +x_107 = l_Array_zip___rarg(x_106, x_104); +lean_dec(x_104); +lean_dec(x_106); +x_108 = l_Array_zip___rarg(x_105, x_107); +lean_dec(x_107); +lean_dec(x_105); +x_109 = lean_array_get_size(x_108); +x_110 = lean_unsigned_to_nat(0u); +x_111 = lean_nat_dec_lt(x_110, x_109); +if (x_111 == 0) +{ +lean_object* x_112; lean_object* x_113; +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_112 = lean_box(0); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_103); +return x_113; +} +else +{ +uint8_t x_114; +x_114 = lean_nat_dec_le(x_109, x_109); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_115 = lean_box(0); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_103); +return x_116; +} +else +{ +size_t x_117; size_t x_118; lean_object* x_119; lean_object* x_120; +x_117 = 0; +x_118 = lean_usize_of_nat(x_109); +lean_dec(x_109); +x_119 = lean_box(0); +x_120 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg(x_2, x_3, x_4, x_1, x_108, x_117, x_118, x_119, x_7, x_8, x_9, x_10, x_11, x_12, x_103); +lean_dec(x_108); +return x_120; +} +} +} +} +} +else +{ +uint8_t x_121; +lean_dec(x_78); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_121 = !lean_is_exclusive(x_81); +if (x_121 == 0) +{ +return x_81; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = lean_ctor_get(x_81, 0); +x_123 = lean_ctor_get(x_81, 1); +lean_inc(x_123); +lean_inc(x_122); +lean_dec(x_81); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set(x_124, 1, x_123); +return x_124; +} +} +} +} +} +case 6: +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; +x_125 = lean_ctor_get(x_1, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_1, 1); +lean_inc(x_126); +x_127 = lean_ctor_get(x_1, 2); +lean_inc(x_127); +x_128 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_126); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_129 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_2, x_3, x_4, x_5, x_126, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_129) == 0) +{ +lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; +x_130 = lean_ctor_get(x_129, 1); +lean_inc(x_130); +lean_dec(x_129); +x_131 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__1), 13, 5); +lean_closure_set(x_131, 0, x_127); +lean_closure_set(x_131, 1, x_2); +lean_closure_set(x_131, 2, x_3); +lean_closure_set(x_131, 3, x_4); +lean_closure_set(x_131, 4, x_5); +x_132 = 0; +x_133 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg(x_125, x_128, x_126, x_131, x_132, x_7, x_8, x_9, x_10, x_11, x_12, x_130); +return x_133; +} +else +{ +uint8_t x_134; +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_134 = !lean_is_exclusive(x_129); +if (x_134 == 0) +{ +return x_129; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_129, 0); +x_136 = lean_ctor_get(x_129, 1); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_129); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; +} +} +} +case 7: +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; lean_object* x_142; +x_138 = lean_ctor_get(x_1, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_1, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_1, 2); +lean_inc(x_140); +x_141 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_dec(x_1); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_139); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_142 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_2, x_3, x_4, x_5, x_139, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; lean_object* x_144; uint8_t x_145; lean_object* x_146; +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec(x_142); +x_144 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__1), 13, 5); +lean_closure_set(x_144, 0, x_140); +lean_closure_set(x_144, 1, x_2); +lean_closure_set(x_144, 2, x_3); +lean_closure_set(x_144, 3, x_4); +lean_closure_set(x_144, 4, x_5); +x_145 = 0; +x_146 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___rarg(x_138, x_141, x_139, x_144, x_145, x_7, x_8, x_9, x_10, x_11, x_12, x_143); +return x_146; +} +else +{ +uint8_t x_147; +lean_dec(x_140); +lean_dec(x_139); +lean_dec(x_138); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_147 = !lean_is_exclusive(x_142); +if (x_147 == 0) +{ +return x_142; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_148 = lean_ctor_get(x_142, 0); +x_149 = lean_ctor_get(x_142, 1); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_142); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); +return x_150; +} +} +} +case 8: +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_151 = lean_ctor_get(x_1, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_1, 1); +lean_inc(x_152); +x_153 = lean_ctor_get(x_1, 2); +lean_inc(x_153); +x_154 = lean_ctor_get(x_1, 3); +lean_inc(x_154); +lean_dec(x_1); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_152); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_155 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_2, x_3, x_4, x_5, x_152, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_155) == 0) +{ +lean_object* x_156; lean_object* x_157; +x_156 = lean_ctor_get(x_155, 1); +lean_inc(x_156); +lean_dec(x_155); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_153); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_157 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_2, x_3, x_4, x_5, x_153, x_7, x_8, x_9, x_10, x_11, x_12, x_156); +if (lean_obj_tag(x_157) == 0) +{ +lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; +x_158 = lean_ctor_get(x_157, 1); +lean_inc(x_158); +lean_dec(x_157); +x_159 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__1), 13, 5); +lean_closure_set(x_159, 0, x_154); +lean_closure_set(x_159, 1, x_2); +lean_closure_set(x_159, 2, x_3); +lean_closure_set(x_159, 3, x_4); +lean_closure_set(x_159, 4, x_5); +x_160 = 0; +x_161 = l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___rarg(x_151, x_152, x_153, x_159, x_160, x_7, x_8, x_9, x_10, x_11, x_12, x_158); +return x_161; +} +else +{ +uint8_t x_162; +lean_dec(x_154); +lean_dec(x_153); +lean_dec(x_152); +lean_dec(x_151); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_162 = !lean_is_exclusive(x_157); +if (x_162 == 0) +{ +return x_157; +} +else +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_157, 0); +x_164 = lean_ctor_get(x_157, 1); +lean_inc(x_164); +lean_inc(x_163); +lean_dec(x_157); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +else +{ +uint8_t x_166; +lean_dec(x_154); +lean_dec(x_153); +lean_dec(x_152); +lean_dec(x_151); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_166 = !lean_is_exclusive(x_155); +if (x_166 == 0) +{ +return x_155; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_167 = lean_ctor_get(x_155, 0); +x_168 = lean_ctor_get(x_155, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_155); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_167); +lean_ctor_set(x_169, 1, x_168); +return x_169; +} +} +} +case 10: +{ +lean_object* x_170; lean_object* x_171; +x_170 = lean_ctor_get(x_1, 1); +lean_inc(x_170); +x_171 = l_Lean_getRecAppSyntax_x3f(x_1); +lean_dec(x_1); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; +x_172 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_2, x_3, x_4, x_5, x_170, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_172; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; lean_object* x_187; lean_object* x_188; +x_173 = lean_ctor_get(x_171, 0); +lean_inc(x_173); +lean_dec(x_171); +x_174 = lean_ctor_get(x_11, 5); +lean_inc(x_174); +x_175 = l_Lean_replaceRef(x_173, x_174); +lean_dec(x_174); +lean_dec(x_173); +x_176 = lean_ctor_get(x_11, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_11, 1); +lean_inc(x_177); +x_178 = lean_ctor_get(x_11, 2); +lean_inc(x_178); +x_179 = lean_ctor_get(x_11, 3); +lean_inc(x_179); +x_180 = lean_ctor_get(x_11, 4); +lean_inc(x_180); +x_181 = lean_ctor_get(x_11, 6); +lean_inc(x_181); +x_182 = lean_ctor_get(x_11, 7); +lean_inc(x_182); +x_183 = lean_ctor_get(x_11, 8); +lean_inc(x_183); +x_184 = lean_ctor_get(x_11, 9); +lean_inc(x_184); +x_185 = lean_ctor_get(x_11, 10); +lean_inc(x_185); +x_186 = lean_ctor_get_uint8(x_11, sizeof(void*)*11); +lean_dec(x_11); +x_187 = lean_alloc_ctor(0, 11, 1); +lean_ctor_set(x_187, 0, x_176); +lean_ctor_set(x_187, 1, x_177); +lean_ctor_set(x_187, 2, x_178); +lean_ctor_set(x_187, 3, x_179); +lean_ctor_set(x_187, 4, x_180); +lean_ctor_set(x_187, 5, x_175); +lean_ctor_set(x_187, 6, x_181); +lean_ctor_set(x_187, 7, x_182); +lean_ctor_set(x_187, 8, x_183); +lean_ctor_set(x_187, 9, x_184); +lean_ctor_set(x_187, 10, x_185); +lean_ctor_set_uint8(x_187, sizeof(void*)*11, x_186); +x_188 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_2, x_3, x_4, x_5, x_170, x_7, x_8, x_9, x_10, x_187, x_12, x_13); +return x_188; +} +} +case 11: +{ +lean_object* x_189; lean_object* x_190; +x_189 = lean_ctor_get(x_1, 2); +lean_inc(x_189); +lean_dec(x_1); +x_190 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_2, x_3, x_4, x_5, x_189, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_190; +} +default: +{ +lean_object* x_191; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_191 = l_Lean_Elab_ensureNoRecFn(x_2, x_1, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_191) == 0) +{ +uint8_t x_192; +x_192 = !lean_is_exclusive(x_191); +if (x_192 == 0) +{ +lean_object* x_193; lean_object* x_194; +x_193 = lean_ctor_get(x_191, 0); +lean_dec(x_193); +x_194 = lean_box(0); +lean_ctor_set(x_191, 0, x_194); +return x_191; +} +else +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; +x_195 = lean_ctor_get(x_191, 1); +lean_inc(x_195); +lean_dec(x_191); +x_196 = lean_box(0); +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_195); +return x_197; +} +} +else +{ +uint8_t x_198; +x_198 = !lean_is_exclusive(x_191); +if (x_198 == 0) +{ +return x_191; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_199 = lean_ctor_get(x_191, 0); +x_200 = lean_ctor_get(x_191, 1); +lean_inc(x_200); +lean_inc(x_199); +lean_dec(x_191); +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_199); +lean_ctor_set(x_201, 1, x_200); +return x_201; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_inc(x_5); +x_13 = l_Lean_Elab_WF_GuessLex_withRecApps_containsRecFn___rarg(x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +uint8_t x_16; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_13, 0); +lean_dec(x_17); +x_18 = lean_box(0); +lean_ctor_set(x_13, 0, x_18); +return x_13; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_dec(x_13); +x_23 = lean_box(0); +x_24 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg___lambda__2(x_5, x_1, x_2, x_3, x_4, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +return x_24; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_loop(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg), 12, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_eq(x_6, x_7); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_8); +x_17 = lean_array_uget(x_5, x_6); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_18 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_1, x_2, x_3, x_4, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; size_t x_21; size_t x_22; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = 1; +x_22 = lean_usize_add(x_6, x_21); +x_6 = x_22; +x_8 = x_19; +x_15 = x_20; +goto _start; +} +else +{ +uint8_t x_24; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_24 = !lean_is_exclusive(x_18); +if (x_24 == 0) +{ +return x_18; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_18, 0); +x_26 = lean_ctor_get(x_18, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_18); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +else +{ +lean_object* x_28; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_8); +lean_ctor_set(x_28, 1, x_15); +return x_28; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1___rarg___boxed), 15, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +if (lean_obj_tag(x_6) == 5) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_6, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_6, 1); +lean_inc(x_17); +lean_dec(x_6); +x_18 = lean_array_set(x_7, x_8, x_17); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_8, x_19); +lean_dec(x_8); +x_6 = x_16; +x_7 = x_18; +x_8 = x_20; +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_dec(x_8); +x_22 = lean_array_get_size(x_7); +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_nat_dec_lt(x_23, x_22); +if (x_24 == 0) +{ +uint8_t x_25; +lean_dec(x_22); +lean_dec(x_7); +x_25 = l_Lean_Expr_isConstOf(x_6, x_1); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec(x_5); +x_26 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_1, x_2, x_3, x_4, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_26; +} +else +{ +lean_object* x_27; +lean_dec(x_6); +x_27 = l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = lean_nat_dec_le(x_22, x_22); +if (x_28 == 0) +{ +uint8_t x_29; +lean_dec(x_22); +lean_dec(x_7); +x_29 = l_Lean_Expr_isConstOf(x_6, x_1); +if (x_29 == 0) +{ +lean_object* x_30; +lean_dec(x_5); +x_30 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_1, x_2, x_3, x_4, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_30; +} +else +{ +lean_object* x_31; +lean_dec(x_6); +x_31 = l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_31; +} +} +else +{ +size_t x_32; size_t x_33; lean_object* x_34; lean_object* x_35; +x_32 = 0; +x_33 = lean_usize_of_nat(x_22); +lean_dec(x_22); +x_34 = lean_box(0); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_35 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1___rarg(x_1, x_2, x_3, x_4, x_7, x_32, x_33, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_7); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = l_Lean_Expr_isConstOf(x_6, x_1); +if (x_37 == 0) +{ +lean_object* x_38; +lean_dec(x_5); +x_38 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_1, x_2, x_3, x_4, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_36); +return x_38; +} +else +{ +lean_object* x_39; +lean_dec(x_6); +x_39 = l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_36); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) +{ +return x_35; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_35, 0); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_35); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__2___rarg), 15, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processApp___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_unsigned_to_nat(0u); +x_14 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_5, x_13); +x_15 = l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1; +lean_inc(x_14); +x_16 = lean_mk_array(x_14, x_15); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_14, x_17); +lean_dec(x_14); +lean_inc(x_5); +x_19 = l_Lean_Expr_withAppAux___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_5, x_16, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps_processApp(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withRecApps_processApp___rarg), 12, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__3(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__4(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_5); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__6(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_lambdaTelescope___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__7(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_5); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_2); +lean_dec(x_2); +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___rarg(x_1, x_13, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__9(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_2); +lean_dec(x_2); +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___rarg(x_1, x_13, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__10(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_5); +lean_dec(x_5); +x_14 = l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___rarg(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_withLetDecl___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__11(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_processApp___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_5); +return x_18; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(8u); +x_2 = l_Lean_mkHashMapImp___rarg(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_12 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__1; +x_13 = lean_st_mk_ref(x_12, x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_17 = lean_st_mk_ref(x_16, x_15); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_14); +lean_inc(x_18); +x_20 = l_Lean_Elab_WF_GuessLex_withRecApps_loop___rarg(x_1, x_2, x_3, x_4, x_5, x_18, x_14, x_7, x_8, x_9, x_10, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_st_ref_get(x_18, x_21); +lean_dec(x_18); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_st_ref_get(x_14, x_24); +lean_dec(x_14); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_23); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_23); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +else +{ +uint8_t x_30; +lean_dec(x_18); +lean_dec(x_14); +x_30 = !lean_is_exclusive(x_20); +if (x_30 == 0) +{ +return x_20; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_20, 0); +x_32 = lean_ctor_get(x_20, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_20); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Elab", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("definition", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("wf", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__1; +x_2 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__2; +x_3 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("withRecApps: ", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4; +x_12 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_11, x_6, x_7, x_8, x_9, x_10); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_box(0); +x_17 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1(x_1, x_2, x_5, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_dec(x_12); +lean_inc(x_4); +x_19 = l_Lean_indentExpr(x_4); +x_20 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__6; +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5; +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_11, x_23, x_6, x_7, x_8, x_9, x_18); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1(x_1, x_2, x_5, x_3, x_4, x_25, x_6, x_7, x_8, x_9, x_26); +lean_dec(x_25); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_withRecApps___rarg), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_create(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Lean_Meta_getLocalInstances(x_1, x_2, x_3, x_4, x_5); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Meta_saveState___rarg(x_2, x_3, x_4, x_9); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_6); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_6); +lean_ctor_set(x_13, 1, x_8); +lean_ctor_set(x_13, 2, x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +lean_inc(x_6); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_8); +lean_ctor_set(x_16, 2, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_create___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_WF_GuessLex_SavedLocalContext_create(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_SavedLocalContext_run___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = l_Lean_Meta_saveState___rarg(x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_10 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Meta_SavedState_restore(x_8, x_2, x_3, x_4, x_5, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +lean_ctor_set(x_13, 0, x_11); +return x_13; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_11); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_10, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_10, 1); +lean_inc(x_19); +lean_dec(x_10); +x_20 = l_Lean_Meta_SavedState_restore(x_8, x_2, x_3, x_4, x_5, x_19); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_8); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set_tag(x_20, 1); +lean_ctor_set(x_20, 0, x_18); +return x_20; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_SavedLocalContext_run___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_SavedLocalContext_run___spec__1___rarg), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = l_Lean_Meta_SavedState_restore(x_1, x_3, x_4, x_5, x_6, x_7); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_apply_5(x_2, x_3, x_4, x_5, x_6, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 2); +lean_inc(x_10); +lean_dec(x_1); +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg___lambda__1___boxed), 7, 2); +lean_closure_set(x_11, 0, x_10); +lean_closure_set(x_11, 1, x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___rarg), 8, 3); +lean_closure_set(x_12, 0, x_8); +lean_closure_set(x_12, 1, x_9); +lean_closure_set(x_12, 2, x_11); +x_13 = l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_SavedLocalContext_run___spec__1___rarg(x_12, x_3, x_4, x_5, x_6, x_7); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg), 7, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = l_Lean_Elab_WF_GuessLex_SavedLocalContext_create(x_5, x_6, x_7, x_8, x_9); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_2); +lean_ctor_set(x_13, 2, x_3); +lean_ctor_set(x_13, 3, x_4); +lean_ctor_set(x_13, 4, x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +x_16 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_2); +lean_ctor_set(x_16, 2, x_3); +lean_ctor_set(x_16, 3, x_4); +lean_ctor_set(x_16, 4, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallWithContext_create___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_6); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg(x_1, x_2, x_3, x_4, x_10); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 1, x_3); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +x_9 = lean_apply_2(x_6, lean_box(0), x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_5); +x_7 = lean_apply_2(x_3, lean_box(0), x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("PSum", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("inr", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__1; +x_2 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("inl", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__1; +x_2 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__4; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Unexpected expression while unpacking mutual argument", 53); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_9, x_10); +x_12 = lean_array_get_size(x_3); +x_13 = lean_nat_dec_lt(x_11, x_12); +lean_dec(x_12); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_14 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__1), 5, 4); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_2); +lean_closure_set(x_14, 2, x_3); +lean_closure_set(x_14, 3, x_4); +if (x_13 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_11); +lean_dec(x_4); +lean_dec(x_2); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +lean_dec(x_1); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_5); +x_18 = lean_apply_2(x_16, lean_box(0), x_17); +x_19 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_18, x_14); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__3; +x_21 = lean_unsigned_to_nat(3u); +x_22 = l_Lean_Expr_isAppOfArity(x_8, x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +lean_dec(x_11); +x_23 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__5; +x_24 = l_Lean_Expr_isAppOfArity(x_8, x_23, x_21); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_free_object(x_5); +x_25 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__7; +lean_inc(x_1); +x_26 = l_Lean_throwError___rarg(x_1, x_2, x_25); +x_27 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__2___boxed), 4, 3); +lean_closure_set(x_27, 0, x_1); +lean_closure_set(x_27, 1, x_8); +lean_closure_set(x_27, 2, x_9); +x_28 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_26, x_27); +x_29 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_28, x_14); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_4); +lean_dec(x_2); +x_30 = lean_unsigned_to_nat(0u); +x_31 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_8, x_30); +x_32 = lean_unsigned_to_nat(2u); +x_33 = lean_nat_sub(x_31, x_32); +lean_dec(x_31); +x_34 = lean_nat_sub(x_33, x_10); +lean_dec(x_33); +x_35 = l_Lean_Expr_getRevArg_x21(x_8, x_34); +x_36 = lean_ctor_get(x_1, 0); +lean_inc(x_36); +lean_dec(x_1); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +lean_ctor_set(x_5, 0, x_35); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_5); +x_39 = lean_apply_2(x_37, lean_box(0), x_38); +x_40 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_39, x_14); +return x_40; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_free_object(x_5); +lean_dec(x_9); +lean_dec(x_2); +x_41 = lean_unsigned_to_nat(0u); +x_42 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_8, x_41); +x_43 = lean_unsigned_to_nat(2u); +x_44 = lean_nat_sub(x_42, x_43); +lean_dec(x_42); +x_45 = lean_nat_sub(x_44, x_10); +lean_dec(x_44); +x_46 = l_Lean_Expr_getRevArg_x21(x_8, x_45); +x_47 = lean_ctor_get(x_1, 0); +lean_inc(x_47); +lean_dec(x_1); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = lean_box(0); +lean_inc(x_48); +x_50 = lean_apply_2(x_48, lean_box(0), x_49); +x_51 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__3___boxed), 4, 3); +lean_closure_set(x_51, 0, x_46); +lean_closure_set(x_51, 1, x_11); +lean_closure_set(x_51, 2, x_48); +x_52 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_50, x_51); +x_53 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_52, x_14); +return x_53; +} +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; +x_54 = lean_ctor_get(x_5, 0); +x_55 = lean_ctor_get(x_5, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_5); +x_56 = lean_unsigned_to_nat(1u); +x_57 = lean_nat_add(x_55, x_56); +x_58 = lean_array_get_size(x_3); +x_59 = lean_nat_dec_lt(x_57, x_58); +lean_dec(x_58); +lean_inc(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_60 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__1), 5, 4); +lean_closure_set(x_60, 0, x_1); +lean_closure_set(x_60, 1, x_2); +lean_closure_set(x_60, 2, x_3); +lean_closure_set(x_60, 3, x_4); +if (x_59 == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_dec(x_57); +lean_dec(x_4); +lean_dec(x_2); +x_61 = lean_ctor_get(x_1, 0); +lean_inc(x_61); +lean_dec(x_1); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_54); +lean_ctor_set(x_63, 1, x_55); +x_64 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_65 = lean_apply_2(x_62, lean_box(0), x_64); +x_66 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_65, x_60); +return x_66; +} +else +{ +lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_67 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__3; +x_68 = lean_unsigned_to_nat(3u); +x_69 = l_Lean_Expr_isAppOfArity(x_54, x_67, x_68); +if (x_69 == 0) +{ +lean_object* x_70; uint8_t x_71; +lean_dec(x_57); +x_70 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__5; +x_71 = l_Lean_Expr_isAppOfArity(x_54, x_70, x_68); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_72 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__7; +lean_inc(x_1); +x_73 = l_Lean_throwError___rarg(x_1, x_2, x_72); +x_74 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__2___boxed), 4, 3); +lean_closure_set(x_74, 0, x_1); +lean_closure_set(x_74, 1, x_54); +lean_closure_set(x_74, 2, x_55); +x_75 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_73, x_74); +x_76 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_75, x_60); +return x_76; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_4); +lean_dec(x_2); +x_77 = lean_unsigned_to_nat(0u); +x_78 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_54, x_77); +x_79 = lean_unsigned_to_nat(2u); +x_80 = lean_nat_sub(x_78, x_79); +lean_dec(x_78); +x_81 = lean_nat_sub(x_80, x_56); +lean_dec(x_80); +x_82 = l_Lean_Expr_getRevArg_x21(x_54, x_81); +x_83 = lean_ctor_get(x_1, 0); +lean_inc(x_83); +lean_dec(x_1); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_82); +lean_ctor_set(x_85, 1, x_55); +x_86 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_86, 0, x_85); +x_87 = lean_apply_2(x_84, lean_box(0), x_86); +x_88 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_87, x_60); +return x_88; +} +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_55); +lean_dec(x_2); +x_89 = lean_unsigned_to_nat(0u); +x_90 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_54, x_89); +x_91 = lean_unsigned_to_nat(2u); +x_92 = lean_nat_sub(x_90, x_91); +lean_dec(x_90); +x_93 = lean_nat_sub(x_92, x_56); +lean_dec(x_92); +x_94 = l_Lean_Expr_getRevArg_x21(x_54, x_93); +x_95 = lean_ctor_get(x_1, 0); +lean_inc(x_95); +lean_dec(x_1); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); +lean_dec(x_95); +x_97 = lean_box(0); +lean_inc(x_96); +x_98 = lean_apply_2(x_96, lean_box(0), x_97); +x_99 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__3___boxed), 4, 3); +lean_closure_set(x_99, 0, x_94); +lean_closure_set(x_99, 1, x_57); +lean_closure_set(x_99, 2, x_96); +x_100 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_98, x_99); +x_101 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_100, x_60); +return x_101; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_apply_2(x_8, lean_box(0), x_6); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg(x_1, x_2, x_3, x_4, x_10); +return x_11; +} +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("PSigma", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("mk", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__1; +x_2 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Unexpected expression while unpacking n-ary argument", 52); +return x_1; +} +} +static lean_object* _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +x_10 = lean_array_get_size(x_8); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_10, x_11); +lean_dec(x_10); +x_13 = lean_nat_dec_lt(x_12, x_4); +lean_dec(x_12); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_14 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___lambda__1), 5, 4); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_2); +lean_closure_set(x_14, 2, x_3); +lean_closure_set(x_14, 3, x_4); +if (x_13 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +lean_dec(x_1); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_5); +x_18 = lean_apply_2(x_16, lean_box(0), x_17); +x_19 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_18, x_14); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_free_object(x_5); +x_20 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__3; +x_21 = lean_unsigned_to_nat(4u); +x_22 = l_Lean_Expr_isAppOfArity(x_9, x_20, x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__5; +lean_inc(x_1); +x_24 = l_Lean_throwError___rarg(x_1, x_2, x_23); +x_25 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__2___boxed), 4, 3); +lean_closure_set(x_25, 0, x_1); +lean_closure_set(x_25, 1, x_8); +lean_closure_set(x_25, 2, x_9); +x_26 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_24, x_25); +x_27 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_26, x_14); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_2); +x_28 = lean_unsigned_to_nat(0u); +x_29 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_9, x_28); +x_30 = lean_unsigned_to_nat(2u); +x_31 = lean_nat_sub(x_29, x_30); +x_32 = lean_nat_sub(x_31, x_11); +lean_dec(x_31); +lean_inc(x_9); +x_33 = l_Lean_Expr_getRevArg_x21(x_9, x_32); +x_34 = lean_array_push(x_8, x_33); +x_35 = lean_unsigned_to_nat(3u); +x_36 = lean_nat_sub(x_29, x_35); +lean_dec(x_29); +x_37 = lean_nat_sub(x_36, x_11); +lean_dec(x_36); +x_38 = l_Lean_Expr_getRevArg_x21(x_9, x_37); +x_39 = lean_ctor_get(x_1, 0); +lean_inc(x_39); +lean_dec(x_1); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_box(0); +lean_inc(x_40); +x_42 = lean_apply_2(x_40, lean_box(0), x_41); +x_43 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__3___boxed), 4, 3); +lean_closure_set(x_43, 0, x_34); +lean_closure_set(x_43, 1, x_38); +lean_closure_set(x_43, 2, x_40); +x_44 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_42, x_43); +x_45 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_44, x_14); +return x_45; +} +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; +x_46 = lean_ctor_get(x_5, 0); +x_47 = lean_ctor_get(x_5, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_5); +x_48 = lean_array_get_size(x_46); +x_49 = lean_unsigned_to_nat(1u); +x_50 = lean_nat_add(x_48, x_49); +lean_dec(x_48); +x_51 = lean_nat_dec_lt(x_50, x_4); +lean_dec(x_50); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_52 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___lambda__1), 5, 4); +lean_closure_set(x_52, 0, x_1); +lean_closure_set(x_52, 1, x_2); +lean_closure_set(x_52, 2, x_3); +lean_closure_set(x_52, 3, x_4); +if (x_51 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_3); +lean_dec(x_2); +x_53 = lean_ctor_get(x_1, 0); +lean_inc(x_53); +lean_dec(x_1); +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_46); +lean_ctor_set(x_55, 1, x_47); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_55); +x_57 = lean_apply_2(x_54, lean_box(0), x_56); +x_58 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_57, x_52); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__3; +x_60 = lean_unsigned_to_nat(4u); +x_61 = l_Lean_Expr_isAppOfArity(x_47, x_59, x_60); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_62 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__5; +lean_inc(x_1); +x_63 = l_Lean_throwError___rarg(x_1, x_2, x_62); +x_64 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__2___boxed), 4, 3); +lean_closure_set(x_64, 0, x_1); +lean_closure_set(x_64, 1, x_46); +lean_closure_set(x_64, 2, x_47); +x_65 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_63, x_64); +x_66 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_65, x_52); +return x_66; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_2); +x_67 = lean_unsigned_to_nat(0u); +x_68 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_47, x_67); +x_69 = lean_unsigned_to_nat(2u); +x_70 = lean_nat_sub(x_68, x_69); +x_71 = lean_nat_sub(x_70, x_49); +lean_dec(x_70); +lean_inc(x_47); +x_72 = l_Lean_Expr_getRevArg_x21(x_47, x_71); +x_73 = lean_array_push(x_46, x_72); +x_74 = lean_unsigned_to_nat(3u); +x_75 = lean_nat_sub(x_68, x_74); +lean_dec(x_68); +x_76 = lean_nat_sub(x_75, x_49); +lean_dec(x_75); +x_77 = l_Lean_Expr_getRevArg_x21(x_47, x_76); +x_78 = lean_ctor_get(x_1, 0); +lean_inc(x_78); +lean_dec(x_1); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_box(0); +lean_inc(x_79); +x_81 = lean_apply_2(x_79, lean_box(0), x_80); +x_82 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__3___boxed), 4, 3); +lean_closure_set(x_82, 0, x_73); +lean_closure_set(x_82, 1, x_77); +lean_closure_set(x_82, 2, x_79); +x_83 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_81, x_82); +x_84 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_83, x_52); +return x_84; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_array_push(x_4, x_5); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_2); +lean_ctor_set(x_9, 1, x_6); +x_10 = lean_apply_2(x_8, lean_box(0), x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +x_9 = lean_array_get_size(x_1); +x_10 = lean_nat_dec_lt(x_8, x_9); +lean_dec(x_9); +x_11 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +lean_ctor_set(x_5, 1, x_7); +lean_ctor_set(x_5, 0, x_11); +lean_inc(x_8); +lean_inc(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__1), 3, 2); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, x_8); +if (x_10 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_8); +x_13 = l_instInhabitedNat; +x_14 = l___private_Init_Util_0__outOfBounds___rarg(x_13); +lean_inc(x_4); +x_15 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg(x_2, x_3, x_4, x_14, x_5); +x_16 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_15, x_12); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_array_fget(x_1, x_8); +lean_dec(x_8); +lean_inc(x_4); +x_18 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg(x_2, x_3, x_4, x_17, x_5); +x_19 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_18, x_12); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_5, 0); +x_21 = lean_ctor_get(x_5, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_5); +x_22 = lean_array_get_size(x_1); +x_23 = lean_nat_dec_lt(x_21, x_22); +lean_dec(x_22); +x_24 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +lean_inc(x_21); +lean_inc(x_2); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__1), 3, 2); +lean_closure_set(x_26, 0, x_2); +lean_closure_set(x_26, 1, x_21); +if (x_23 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_21); +x_27 = l_instInhabitedNat; +x_28 = l___private_Init_Util_0__outOfBounds___rarg(x_27); +lean_inc(x_4); +x_29 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg(x_2, x_3, x_4, x_28, x_25); +x_30 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_29, x_26); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_array_fget(x_1, x_21); +lean_dec(x_21); +lean_inc(x_4); +x_32 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg(x_2, x_3, x_4, x_31, x_25); +x_33 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_32, x_26); +return x_33; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_6); +lean_inc(x_5); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_8 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg(x_1, x_2, x_3, x_5, x_7); +lean_inc(x_5); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__2___boxed), 5, 4); +lean_closure_set(x_9, 0, x_3); +lean_closure_set(x_9, 1, x_1); +lean_closure_set(x_9, 2, x_2); +lean_closure_set(x_9, 3, x_5); +x_10 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_unpackArg___rarg), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___lambda__3(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_WF_GuessLex_unpackArg___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_2); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_2, 1); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_10, x_11); +x_13 = lean_array_get_size(x_1); +x_14 = lean_nat_dec_lt(x_12, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_7); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__3; +x_17 = lean_unsigned_to_nat(3u); +x_18 = l_Lean_Expr_isAppOfArity(x_9, x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +lean_dec(x_12); +x_19 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__5; +x_20 = l_Lean_Expr_isAppOfArity(x_9, x_19, x_17); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_free_object(x_2); +lean_dec(x_10); +lean_dec(x_9); +x_21 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__7; +x_22 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_21, x_3, x_4, x_5, x_6, x_7); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_27 = lean_unsigned_to_nat(0u); +x_28 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_9, x_27); +x_29 = lean_unsigned_to_nat(2u); +x_30 = lean_nat_sub(x_28, x_29); +lean_dec(x_28); +x_31 = lean_nat_sub(x_30, x_11); +lean_dec(x_30); +x_32 = l_Lean_Expr_getRevArg_x21(x_9, x_31); +lean_ctor_set(x_2, 0, x_32); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_2); +lean_ctor_set(x_33, 1, x_7); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_10); +x_34 = lean_unsigned_to_nat(0u); +x_35 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_9, x_34); +x_36 = lean_unsigned_to_nat(2u); +x_37 = lean_nat_sub(x_35, x_36); +lean_dec(x_35); +x_38 = lean_nat_sub(x_37, x_11); +lean_dec(x_37); +x_39 = l_Lean_Expr_getRevArg_x21(x_9, x_38); +lean_ctor_set(x_2, 1, x_12); +lean_ctor_set(x_2, 0, x_39); +goto _start; +} +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_41 = lean_ctor_get(x_2, 0); +x_42 = lean_ctor_get(x_2, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_2); +x_43 = lean_unsigned_to_nat(1u); +x_44 = lean_nat_add(x_42, x_43); +x_45 = lean_array_get_size(x_1); +x_46 = lean_nat_dec_lt(x_44, x_45); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_44); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_41); +lean_ctor_set(x_47, 1, x_42); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_7); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__3; +x_50 = lean_unsigned_to_nat(3u); +x_51 = l_Lean_Expr_isAppOfArity(x_41, x_49, x_50); +if (x_51 == 0) +{ +lean_object* x_52; uint8_t x_53; +lean_dec(x_44); +x_52 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__5; +x_53 = l_Lean_Expr_isAppOfArity(x_41, x_52, x_50); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_42); +lean_dec(x_41); +x_54 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__7; +x_55 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_54, x_3, x_4, x_5, x_6, x_7); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_60 = lean_unsigned_to_nat(0u); +x_61 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_41, x_60); +x_62 = lean_unsigned_to_nat(2u); +x_63 = lean_nat_sub(x_61, x_62); +lean_dec(x_61); +x_64 = lean_nat_sub(x_63, x_43); +lean_dec(x_63); +x_65 = l_Lean_Expr_getRevArg_x21(x_41, x_64); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_42); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_7); +return x_67; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_42); +x_68 = lean_unsigned_to_nat(0u); +x_69 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_41, x_68); +x_70 = lean_unsigned_to_nat(2u); +x_71 = lean_nat_sub(x_69, x_70); +lean_dec(x_69); +x_72 = lean_nat_sub(x_71, x_43); +lean_dec(x_71); +x_73 = l_Lean_Expr_getRevArg_x21(x_41, x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_44); +x_2 = x_74; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_2); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_2, 1); +x_11 = lean_array_get_size(x_9); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_11, x_12); +lean_dec(x_11); +x_14 = lean_nat_dec_lt(x_13, x_1); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_7); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__3; +x_17 = lean_unsigned_to_nat(4u); +x_18 = l_Lean_Expr_isAppOfArity(x_10, x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +lean_free_object(x_2); +lean_dec(x_10); +lean_dec(x_9); +x_19 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__5; +x_20 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_19, x_3, x_4, x_5, x_6, x_7); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +return x_20; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_25 = lean_unsigned_to_nat(0u); +x_26 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_10, x_25); +x_27 = lean_unsigned_to_nat(2u); +x_28 = lean_nat_sub(x_26, x_27); +x_29 = lean_nat_sub(x_28, x_12); +lean_dec(x_28); +lean_inc(x_10); +x_30 = l_Lean_Expr_getRevArg_x21(x_10, x_29); +x_31 = lean_array_push(x_9, x_30); +x_32 = lean_unsigned_to_nat(3u); +x_33 = lean_nat_sub(x_26, x_32); +lean_dec(x_26); +x_34 = lean_nat_sub(x_33, x_12); +lean_dec(x_33); +x_35 = l_Lean_Expr_getRevArg_x21(x_10, x_34); +lean_ctor_set(x_2, 1, x_35); +lean_ctor_set(x_2, 0, x_31); +goto _start; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_37 = lean_ctor_get(x_2, 0); +x_38 = lean_ctor_get(x_2, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_2); +x_39 = lean_array_get_size(x_37); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_39, x_40); +lean_dec(x_39); +x_42 = lean_nat_dec_lt(x_41, x_1); +lean_dec(x_41); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_37); +lean_ctor_set(x_43, 1, x_38); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_7); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_45 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__3; +x_46 = lean_unsigned_to_nat(4u); +x_47 = l_Lean_Expr_isAppOfArity(x_38, x_45, x_46); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_38); +lean_dec(x_37); +x_48 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__5; +x_49 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_48, x_3, x_4, x_5, x_6, x_7); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_52 = x_49; +} else { + lean_dec_ref(x_49); + x_52 = lean_box(0); +} +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(1, 2, 0); +} else { + x_53 = x_52; +} +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_51); +return x_53; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_54 = lean_unsigned_to_nat(0u); +x_55 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_38, x_54); +x_56 = lean_unsigned_to_nat(2u); +x_57 = lean_nat_sub(x_55, x_56); +x_58 = lean_nat_sub(x_57, x_40); +lean_dec(x_57); +lean_inc(x_38); +x_59 = l_Lean_Expr_getRevArg_x21(x_38, x_58); +x_60 = lean_array_push(x_37, x_59); +x_61 = lean_unsigned_to_nat(3u); +x_62 = lean_nat_sub(x_55, x_61); +lean_dec(x_55); +x_63 = lean_nat_sub(x_62, x_40); +lean_dec(x_62); +x_64 = l_Lean_Expr_getRevArg_x21(x_38, x_63); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_60); +lean_ctor_set(x_65, 1, x_64); +x_2 = x_65; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_2); +lean_ctor_set(x_9, 1, x_8); +x_10 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__2(x_1, x_9, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = !lean_is_exclusive(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_11, 0); +x_15 = lean_ctor_get(x_11, 1); +x_16 = lean_array_get_size(x_1); +x_17 = lean_nat_dec_lt(x_15, x_16); +lean_dec(x_16); +x_18 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +lean_ctor_set(x_11, 1, x_14); +lean_ctor_set(x_11, 0, x_18); +if (x_17 == 0) +{ +lean_object* x_39; lean_object* x_40; +x_39 = l_instInhabitedNat; +x_40 = l___private_Init_Util_0__outOfBounds___rarg(x_39); +x_19 = x_40; +goto block_38; +} +else +{ +lean_object* x_41; +x_41 = lean_array_fget(x_1, x_15); +x_19 = x_41; +goto block_38; +} +block_38: +{ +lean_object* x_20; +x_20 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__3(x_19, x_11, x_3, x_4, x_5, x_6, x_12); +lean_dec(x_19); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_array_push(x_23, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_15); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_20, 0, x_26); +return x_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_20); +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_27, 1); +lean_inc(x_30); +lean_dec(x_27); +x_31 = lean_array_push(x_29, x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_15); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_28); +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_15); +x_34 = !lean_is_exclusive(x_20); +if (x_34 == 0) +{ +return x_20; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_20, 0); +x_36 = lean_ctor_get(x_20, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_20); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_42 = lean_ctor_get(x_11, 0); +x_43 = lean_ctor_get(x_11, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_11); +x_44 = lean_array_get_size(x_1); +x_45 = lean_nat_dec_lt(x_43, x_44); +lean_dec(x_44); +x_46 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_42); +if (x_45 == 0) +{ +lean_object* x_63; lean_object* x_64; +x_63 = l_instInhabitedNat; +x_64 = l___private_Init_Util_0__outOfBounds___rarg(x_63); +x_48 = x_64; +goto block_62; +} +else +{ +lean_object* x_65; +x_65 = lean_array_fget(x_1, x_43); +x_48 = x_65; +goto block_62; +} +block_62: +{ +lean_object* x_49; +x_49 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__3(x_48, x_47, x_3, x_4, x_5, x_6, x_12); +lean_dec(x_48); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_52 = x_49; +} else { + lean_dec_ref(x_49); + x_52 = lean_box(0); +} +x_53 = lean_ctor_get(x_50, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_50, 1); +lean_inc(x_54); +lean_dec(x_50); +x_55 = lean_array_push(x_53, x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_43); +lean_ctor_set(x_56, 1, x_55); +if (lean_is_scalar(x_52)) { + x_57 = lean_alloc_ctor(0, 2, 0); +} else { + x_57 = x_52; +} +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_51); +return x_57; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_43); +x_58 = lean_ctor_get(x_49, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_49, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + lean_ctor_release(x_49, 1); + x_60 = x_49; +} else { + lean_dec_ref(x_49); + x_60 = lean_box(0); +} +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(1, 2, 0); +} else { + x_61 = x_60; +} +lean_ctor_set(x_61, 0, x_58); +lean_ctor_set(x_61, 1, x_59); +return x_61; +} +} +} +} +else +{ +uint8_t x_66; +x_66 = !lean_is_exclusive(x_10); +if (x_66 == 0) +{ +return x_10; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_10, 0); +x_68 = lean_ctor_get(x_10, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_10); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = l_Lean_Meta_saveState___rarg(x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_10 = lean_apply_5(x_1, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Meta_SavedState_restore(x_8, x_2, x_3, x_4, x_5, x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +lean_ctor_set(x_13, 0, x_11); +return x_13; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_11); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_10, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_10, 1); +lean_inc(x_19); +lean_dec(x_10); +x_20 = l_Lean_Meta_SavedState_restore(x_8, x_2, x_3, x_4, x_5, x_19); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_8); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set_tag(x_20, 1); +lean_ctor_set(x_20, 0, x_18); +return x_20; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_array_get_size(x_1); +x_12 = lean_nat_dec_lt(x_2, x_11); +lean_dec(x_11); +x_13 = l_Lean_Elab_WF_GuessLex_unpackArg___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_3, x_4, x_6, x_7, x_8, x_9, x_10); +if (x_12 == 0) +{ +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_instInhabitedExpr; +x_17 = l___private_Init_Util_0__outOfBounds___rarg(x_16); +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l_Lean_Elab_WF_GuessLex_unpackArg___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_3, x_17, x_6, x_7, x_8, x_9, x_15); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(x_18, x_19, x_23, x_24, x_6, x_7, x_8, x_9, x_22); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_19); +lean_dec(x_18); +x_26 = !lean_is_exclusive(x_20); +if (x_26 == 0) +{ +return x_20; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_20); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_13); +if (x_30 == 0) +{ +return x_13; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_13, 0); +x_32 = lean_ctor_get(x_13, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_13); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_ctor_get(x_13, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_13, 1); +lean_inc(x_35); +lean_dec(x_13); +x_36 = lean_array_fget(x_1, x_2); +x_37 = lean_ctor_get(x_34, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_dec(x_34); +x_39 = l_Lean_Elab_WF_GuessLex_unpackArg___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_3, x_36, x_6, x_7, x_8, x_9, x_35); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +lean_dec(x_40); +x_44 = l_Lean_Elab_WF_GuessLex_RecCallWithContext_create(x_37, x_38, x_42, x_43, x_6, x_7, x_8, x_9, x_41); +return x_44; +} +else +{ +uint8_t x_45; +lean_dec(x_38); +lean_dec(x_37); +x_45 = !lean_is_exclusive(x_39); +if (x_45 == 0) +{ +return x_39; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_39, 0); +x_47 = lean_ctor_get(x_39, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_39); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +else +{ +uint8_t x_49; +x_49 = !lean_is_exclusive(x_13); +if (x_49 == 0) +{ +return x_13; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_13, 0); +x_51 = lean_ctor_get(x_13, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_13); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Insufficient arguments in recursive call", 40); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +x_12 = lean_array_get_size(x_4); +x_13 = lean_nat_dec_le(x_11, x_12); +lean_dec(x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2; +x_15 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_14, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_15); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(x_4, x_1, x_2, x_3, x_20, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +lean_dec(x_4); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_array_get_size(x_1); +x_13 = lean_nat_dec_lt(x_2, x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_3, 3); +lean_inc(x_14); +lean_dec(x_3); +lean_inc(x_2); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2), 9, 2); +lean_closure_set(x_15, 0, x_2); +lean_closure_set(x_15, 1, x_4); +if (x_13 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = l_Lean_instInhabitedExpr; +x_17 = l___private_Init_Util_0__outOfBounds___rarg(x_16); +x_18 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg(x_14, x_2, x_17, x_5, x_15, x_7, x_8, x_9, x_10, x_11); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_array_fget(x_1, x_2); +x_20 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg(x_14, x_2, x_19, x_5, x_15, x_7, x_8, x_9, x_10, x_11); +return x_20; +} +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Unexpected number of lambdas in unary pre-definition", 52); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_array_get_size(x_4); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_add(x_1, x_12); +x_14 = lean_nat_dec_eq(x_11, x_13); +lean_dec(x_13); +lean_dec(x_11); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__2; +x_16 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_15, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +return x_16; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_16); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +x_22 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3(x_4, x_1, x_2, x_3, x_5, x_21, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +x_9 = l_Lean_Elab_addAsAxiom(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get(x_1, 5); +lean_inc(x_11); +x_12 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4), 10, 3); +lean_closure_set(x_12, 0, x_2); +lean_closure_set(x_12, 1, x_1); +lean_closure_set(x_12, 2, x_3); +x_13 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_11, x_12, x_4, x_5, x_6, x_7, x_10); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__5), 8, 3); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +lean_closure_set(x_9, 2, x_3); +x_10 = l_Lean_withoutModifyingState___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__4(x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_unpackArg___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_WF_GuessLex_unpackArg___at_Lean_Elab_WF_GuessLex_collectRecCalls___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = lean_unsigned_to_nat(2u); +return x_4; +} +default: +{ +lean_object* x_5; +x_5 = lean_unsigned_to_nat(3u); +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___lambda__1(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1; +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Elab.WF.GuessLex.GuessLexRel.lt", 36); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__3; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__2; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__5() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__4; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__6; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__2; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__8() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__7; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Elab.WF.GuessLex.GuessLexRel.eq", 36); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__9; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__3; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__10; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__12() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__11; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__6; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__10; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__14() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__13; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Elab.WF.GuessLex.GuessLexRel.le", 36); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__15; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__3; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__16; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__18() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__17; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__6; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__16; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__20() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__19; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Elab.WF.GuessLex.GuessLexRel.no_idea", 41); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__21; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__3; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__22; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__24() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__23; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__6; +x_2 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__22; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__26() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__25; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823_(uint8_t x_1, lean_object* x_2) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_unsigned_to_nat(1024u); +x_4 = lean_nat_dec_le(x_3, x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__5; +x_6 = l_Repr_addAppParen(x_5, x_2); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__8; +x_8 = l_Repr_addAppParen(x_7, x_2); +return x_8; +} +} +case 1: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_unsigned_to_nat(1024u); +x_10 = lean_nat_dec_le(x_9, x_2); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__12; +x_12 = l_Repr_addAppParen(x_11, x_2); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__14; +x_14 = l_Repr_addAppParen(x_13, x_2); +return x_14; +} +} +case 2: +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_unsigned_to_nat(1024u); +x_16 = lean_nat_dec_le(x_15, x_2); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__18; +x_18 = l_Repr_addAppParen(x_17, x_2); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__20; +x_20 = l_Repr_addAppParen(x_19, x_2); +return x_20; +} +} +default: +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_unsigned_to_nat(1024u); +x_22 = lean_nat_dec_le(x_21, x_2); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__24; +x_24 = l_Repr_addAppParen(x_23, x_2); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__26; +x_26 = l_Repr_addAppParen(x_25, x_2); +return x_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823_(x_3, x_2); +lean_dec(x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1; +return x_1; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_WF_GuessLex_GuessLexRel_ofNat(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = lean_unsigned_to_nat(2u); +x_3 = lean_nat_dec_le(x_2, x_1); +if (x_3 == 0) +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_1, x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = 1; +return x_6; +} +else +{ +uint8_t x_7; +x_7 = 0; +return x_7; +} +} +else +{ +uint8_t x_8; +x_8 = lean_nat_dec_eq(x_1, x_2); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = 3; +return x_9; +} +else +{ +uint8_t x_10; +x_10 = 2; +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_ofNat___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_ofNat(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(uint8_t x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx(x_1); +x_4 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toCtorIdx(x_2); +x_5 = lean_nat_dec_eq(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_3 = lean_unbox(x_1); +lean_dec(x_1); +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_3, x_4); +x_6 = lean_box(x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("<", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("=", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("≤", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__5; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\?", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__7; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6; +return x_4; +} +default: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8; +return x_5; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("LT", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("lt", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__1; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__2; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_levelZero; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__3; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__4; +x_3 = l_Lean_Expr_const___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Nat", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__7; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("instLTNat", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__10; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__12; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__8; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__13; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__11; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__5; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__14; +x_3 = l_Lean_mkAppN(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Eq", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__16; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_levelOne; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__17; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__18; +x_3 = l_Lean_Expr_const___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__20; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__8; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__19; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__21; +x_3 = l_Lean_mkAppN(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("LE", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("le", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__23; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__24; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__25; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__4; +x_3 = l_Lean_Expr_const___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("instLENat", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__27; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__28; +x_3 = l_Lean_Expr_const___override(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__30() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__13; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__29; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__26; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__30; +x_3 = l_Lean_mkAppN(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__32() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Elab.PreDefinition.WF.GuessLex", 35); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Elab.WF.GuessLex.GuessLexRel.toNatRel", 42); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__34() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unreachable code has been reached", 33); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__35() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__32; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__33; +x_3 = lean_unsigned_to_nat(292u); +x_4 = lean_unsigned_to_nat(15u); +x_5 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__34; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(uint8_t x_1) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__15; +return x_2; +} +case 1: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__22; +return x_3; +} +case 2: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__31; +return x_4; +} +default: +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__35; +x_6 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_5); +return x_6; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("SizeOf", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("sizeOf", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__1; +x_2 = l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__3; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_mkSizeOf(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_7 = lean_infer_type(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_8); +x_10 = l_Lean_Meta_getLevel(x_8, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_11); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__2; +lean_inc(x_14); +x_16 = l_Lean_Expr_const___override(x_15, x_14); +x_17 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__20; +lean_inc(x_8); +x_18 = lean_array_push(x_17, x_8); +x_19 = l_Lean_mkAppN(x_16, x_18); +x_20 = lean_box(0); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_21 = l_Lean_Meta_synthInstance(x_19, x_20, x_2, x_3, x_4, x_5, x_12); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__4; +x_25 = l_Lean_Expr_const___override(x_24, x_14); +x_26 = l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__5; +x_27 = lean_array_push(x_26, x_8); +x_28 = lean_array_push(x_27, x_22); +x_29 = lean_array_push(x_28, x_1); +x_30 = l_Lean_mkAppN(x_25, x_29); +lean_inc(x_30); +x_31 = l_Lean_Meta_check(x_30, x_2, x_3, x_4, x_5, x_23); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_30); +return x_31; +} +else +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_30); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_dec(x_30); +x_36 = !lean_is_exclusive(x_31); +if (x_36 == 0) +{ +return x_31; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_31, 0); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_31); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_21); +if (x_40 == 0) +{ +return x_21; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_21, 0); +x_42 = lean_ctor_get(x_21, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_21); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_10); +if (x_44 == 0) +{ +return x_10; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_10, 0); +x_46 = lean_ctor_get(x_10, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_10); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_7); +if (x_48 == 0) +{ +return x_7; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_7, 0); +x_50 = lean_ctor_get(x_7, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_7); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_10; lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_2); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_1); +lean_ctor_set(x_2, 1, x_1); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_14 = l_Lean_Elab_Term_reportUnsolvedGoals(x_2, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_2 = x_13; +x_9 = x_15; +goto _start; +} +else +{ +uint8_t x_17; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_14); +if (x_17 == 0) +{ +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 0); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_14); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_2, 0); +x_22 = lean_ctor_get(x_2, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_2); +lean_inc(x_1); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_1); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_24 = l_Lean_Elab_Term_reportUnsolvedGoals(x_23, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_2 = x_22; +x_9 = x_25; +goto _start; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_22); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_24, 1); +lean_inc(x_28); +if (lean_is_exclusive(x_24)) { + lean_ctor_release(x_24, 0); + lean_ctor_release(x_24, 1); + x_29 = x_24; +} else { + lean_dec_ref(x_24); + x_29 = lean_box(0); +} +if (lean_is_scalar(x_29)) { + x_30 = lean_alloc_ctor(1, 2, 0); +} else { + x_30 = x_29; +} +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_28); +return x_30; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_withoutErrToSorryImp___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_box(0); +x_9 = lean_box(x_1); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_7); +return x_11; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("inspectRecCall: success!", 24); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_dec(x_3); +lean_inc(x_1); +x_9 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_box(0); +x_14 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__1(x_2, x_13, x_4, x_5, x_6, x_7, x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_dec(x_9); +x_16 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__2; +x_17 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_1, x_16, x_4, x_5, x_6, x_7, x_15); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__1(x_2, x_18, x_4, x_5, x_6, x_7, x_19); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_18); +return x_20; +} +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +LEAN_EXPORT uint8_t l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = 0; +return x_2; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticDecreasing_tactic", 23); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("decreasing_tactic", 17); +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_10 = lean_ctor_get(x_7, 5); +lean_inc(x_10); +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_10, x_11); +x_13 = lean_st_ref_get(x_8, x_9); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3; +lean_inc(x_12); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2; +x_18 = l_Lean_Syntax_node1(x_12, x_17, x_16); +x_19 = l_Lean_Elab_Tactic_evalTactic(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +return x_19; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_11 = l_Lean_Elab_Tactic_run(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__1(x_3, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +lean_dec(x_5); +lean_dec(x_4); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +x_17 = lean_box(0); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +else +{ +uint8_t x_25; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_25 = !lean_is_exclusive(x_11); +if (x_25 == 0) +{ +return x_11; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_11, 0); +x_27 = lean_ctor_get(x_11, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_11); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = l_Lean_Elab_Term_runTactic(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +x_16 = lean_box(0); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_13); +if (x_20 == 0) +{ +return x_13; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_13, 0); +x_22 = lean_ctor_get(x_13, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_13); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___boxed), 6, 0); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Did not find ", 13); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" proof: ", 8); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7; +x_3 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_4); +lean_ctor_set(x_5, 3, x_4); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_box(0); +x_4 = 1; +x_5 = 0; +x_6 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8; +x_7 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9; +x_8 = lean_alloc_ctor(0, 8, 9); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_2); +lean_ctor_set(x_8, 2, x_3); +lean_ctor_set(x_8, 3, x_6); +lean_ctor_set(x_8, 4, x_7); +lean_ctor_set(x_8, 5, x_2); +lean_ctor_set(x_8, 6, x_2); +lean_ctor_set(x_8, 7, x_1); +lean_ctor_set_uint8(x_8, sizeof(void*)*8, x_4); +lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 1, x_4); +lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 2, x_5); +lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 3, x_4); +lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 4, x_5); +lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 5, x_5); +lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 6, x_5); +lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 7, x_4); +lean_ctor_set_uint8(x_8, sizeof(void*)*8 + 8, x_5); +return x_8; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 3, x_1); +lean_ctor_set(x_3, 4, x_2); +return x_3; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5), 9, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_45; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_1); +x_45 = l_Lean_Meta_check(x_1, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = lean_box(0); +lean_inc(x_7); +x_48 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1, x_47, x_7, x_8, x_9, x_10, x_46); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l_Lean_Expr_mvarId_x21(x_49); +x_52 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_53 = 1; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_54 = l___private_Lean_Meta_Tactic_Cleanup_0__Lean_Meta_cleanupCore(x_51, x_52, x_53, x_7, x_8, x_9, x_10, x_50); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_57 = x_54; +} else { + lean_dec_ref(x_54); + x_57 = lean_box(0); +} +x_58 = 1; +x_59 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_3, x_58); +if (x_59 == 0) +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_122 = lean_box(0); +x_123 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__12; +lean_inc(x_55); +x_124 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__6), 10, 3); +lean_closure_set(x_124, 0, x_55); +lean_closure_set(x_124, 1, x_123); +lean_closure_set(x_124, 2, x_122); +x_125 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10; +x_126 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_127 = l_Lean_Elab_Term_TermElabM_run___rarg(x_124, x_125, x_126, x_7, x_8, x_9, x_10, x_56); +if (lean_obj_tag(x_127) == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_57); +lean_dec(x_55); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = lean_ctor_get(x_128, 0); +lean_inc(x_130); +lean_dec(x_128); +x_131 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_2, x_3, x_130, x_7, x_8, x_9, x_10, x_129); +x_12 = x_131; +goto block_44; +} +else +{ +lean_object* x_132; lean_object* x_133; +x_132 = lean_ctor_get(x_127, 0); +lean_inc(x_132); +x_133 = lean_ctor_get(x_127, 1); +lean_inc(x_133); +lean_dec(x_127); +x_60 = x_132; +x_61 = x_133; +goto block_121; +} +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_134 = lean_ctor_get(x_5, 0); +lean_inc(x_134); +lean_dec(x_5); +lean_inc(x_55); +x_135 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_135, 0, x_55); +lean_inc(x_55); +x_136 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__7), 10, 3); +lean_closure_set(x_136, 0, x_135); +lean_closure_set(x_136, 1, x_55); +lean_closure_set(x_136, 2, x_134); +x_137 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__2), 8, 1); +lean_closure_set(x_137, 0, x_136); +x_138 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10; +x_139 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_140 = l_Lean_Elab_Term_TermElabM_run___rarg(x_137, x_138, x_139, x_7, x_8, x_9, x_10, x_56); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_57); +lean_dec(x_55); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_140, 1); +lean_inc(x_142); +lean_dec(x_140); +x_143 = lean_ctor_get(x_141, 0); +lean_inc(x_143); +lean_dec(x_141); +x_144 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_2, x_3, x_143, x_7, x_8, x_9, x_10, x_142); +x_12 = x_144; +goto block_44; +} +else +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_140, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_140, 1); +lean_inc(x_146); +lean_dec(x_140); +x_60 = x_145; +x_61 = x_146; +goto block_121; +} +} +} +else +{ +lean_object* x_147; +lean_dec(x_5); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_55); +x_147 = l_Lean_MVarId_refl(x_55, x_7, x_8, x_9, x_10, x_56); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +lean_dec(x_57); +lean_dec(x_55); +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +lean_dec(x_147); +x_150 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_2, x_3, x_148, x_7, x_8, x_9, x_10, x_149); +x_12 = x_150; +goto block_44; +} +else +{ +lean_object* x_151; lean_object* x_152; +x_151 = lean_ctor_get(x_147, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_147, 1); +lean_inc(x_152); +lean_dec(x_147); +x_60 = x_151; +x_61 = x_152; +goto block_121; +} +} +block_121: +{ +uint8_t x_62; +x_62 = l_Lean_Exception_isRuntime(x_60); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +lean_dec(x_60); +lean_dec(x_57); +lean_inc(x_2); +x_63 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_2, x_7, x_8, x_9, x_10, x_61); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; +x_67 = lean_unbox(x_64); +lean_dec(x_64); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_55); +lean_dec(x_2); +x_68 = lean_box(0); +x_69 = lean_apply_6(x_66, x_68, x_7, x_8, x_9, x_10, x_65); +x_12 = x_69; +goto block_44; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_70 = lean_box(0); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_55); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Elab_goalsToMessageData(x_71); +switch (x_3) { +case 0: +{ +lean_object* x_87; +x_87 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +x_73 = x_87; +goto block_86; +} +case 1: +{ +lean_object* x_88; +x_88 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +x_73 = x_88; +goto block_86; +} +case 2: +{ +lean_object* x_89; +x_89 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6; +x_73 = x_89; +goto block_86; +} +default: +{ +lean_object* x_90; +x_90 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8; +x_73 = x_90; +goto block_86; +} +} +block_86: +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_74 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; +x_78 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_72); +x_80 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5; +x_81 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_2, x_81, x_7, x_8, x_9, x_10, x_65); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_apply_6(x_66, x_83, x_7, x_8, x_9, x_10, x_84); +x_12 = x_85; +goto block_44; +} +} +} +else +{ +uint8_t x_91; +x_91 = lean_ctor_get_uint8(x_9, sizeof(void*)*11); +if (x_91 == 0) +{ +lean_object* x_92; +lean_dec(x_55); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +if (lean_is_scalar(x_57)) { + x_92 = lean_alloc_ctor(1, 2, 0); +} else { + x_92 = x_57; + lean_ctor_set_tag(x_92, 1); +} +lean_ctor_set(x_92, 0, x_60); +lean_ctor_set(x_92, 1, x_61); +x_12 = x_92; +goto block_44; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; +lean_dec(x_60); +lean_dec(x_57); +lean_inc(x_2); +x_93 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_2, x_7, x_8, x_9, x_10, x_61); +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +x_96 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1; +x_97 = lean_unbox(x_94); +lean_dec(x_94); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; +lean_dec(x_55); +lean_dec(x_2); +x_98 = lean_box(0); +x_99 = lean_apply_6(x_96, x_98, x_7, x_8, x_9, x_10, x_95); +x_12 = x_99; +goto block_44; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_100 = lean_box(0); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_55); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Elab_goalsToMessageData(x_101); +switch (x_3) { +case 0: +{ +lean_object* x_117; +x_117 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +x_103 = x_117; +goto block_116; +} +case 1: +{ +lean_object* x_118; +x_118 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +x_103 = x_118; +goto block_116; +} +case 2: +{ +lean_object* x_119; +x_119 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6; +x_103 = x_119; +goto block_116; +} +default: +{ +lean_object* x_120; +x_120 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8; +x_103 = x_120; +goto block_116; +} +} +block_116: +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_104 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_104, 0, x_103); +x_105 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3; +x_106 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5; +x_108 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +x_109 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_102); +x_110 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5; +x_111 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +x_112 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_2, x_111, x_7, x_8, x_9, x_10, x_95); +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +x_115 = lean_apply_6(x_96, x_113, x_7, x_8, x_9, x_10, x_114); +x_12 = x_115; +goto block_44; +} +} +} +} +} +} +else +{ +uint8_t x_153; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_153 = !lean_is_exclusive(x_54); +if (x_153 == 0) +{ +return x_54; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_54, 0); +x_155 = lean_ctor_get(x_54, 1); +lean_inc(x_155); +lean_inc(x_154); +lean_dec(x_54); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +return x_156; +} +} +} +else +{ +uint8_t x_157; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_157 = !lean_is_exclusive(x_45); +if (x_157 == 0) +{ +return x_45; +} +else +{ +lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_158 = lean_ctor_get(x_45, 0); +x_159 = lean_ctor_get(x_45, 1); +lean_inc(x_159); +lean_inc(x_158); +lean_dec(x_45); +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_158); +lean_ctor_set(x_160, 1, x_159); +return x_160; +} +} +block_44: +{ +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +switch (lean_obj_tag(x_13)) { +case 0: +{ +uint8_t x_14; +lean_dec(x_4); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_12, 0, x_20); +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); +lean_dec(x_12); +x_22 = lean_ctor_get(x_13, 0); +lean_inc(x_22); +lean_dec(x_13); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_21); +return x_27; +} +} +case 1: +{ +uint8_t x_28; +lean_dec(x_13); +x_28 = !lean_is_exclusive(x_12); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_12, 0); +lean_dec(x_29); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_4); +lean_ctor_set(x_12, 0, x_30); +return x_12; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_12, 1); +lean_inc(x_31); +lean_dec(x_12); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_4); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +default: +{ +uint8_t x_34; +lean_dec(x_13); +x_34 = !lean_is_exclusive(x_12); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_12, 0); +lean_dec(x_35); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_4); +lean_ctor_set(x_12, 0, x_36); +return x_12; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_12, 1); +lean_inc(x_37); +lean_dec(x_12); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_4); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_4); +x_40 = !lean_is_exclusive(x_12); +if (x_40 == 0) +{ +return x_12; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_12, 0); +x_42 = lean_ctor_get(x_12, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_12); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Goal for ", 9); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(": ", 2); +return x_1; +} +} +static lean_object* _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_15; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_9); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +lean_dec(x_9); +x_16 = lean_ctor_get(x_8, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_8, 1); +lean_inc(x_17); +lean_dec(x_8); +x_18 = lean_unbox(x_16); +x_19 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel(x_18); +x_20 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__12; +lean_inc(x_5); +x_21 = lean_array_push(x_20, x_5); +lean_inc(x_6); +x_22 = lean_array_push(x_21, x_6); +x_23 = l_Lean_mkAppN(x_19, x_22); +lean_inc(x_2); +x_24 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_2, x_10, x_11, x_12, x_13, x_14); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_box(0); +x_29 = lean_unbox(x_16); +lean_dec(x_16); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_1); +lean_inc(x_7); +lean_inc(x_2); +x_30 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_23, x_2, x_29, x_7, x_1, x_28, x_10, x_11, x_12, x_13, x_27); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_30); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_31, 0); +lean_inc(x_34); +lean_dec(x_31); +lean_ctor_set(x_30, 0, x_34); +return x_30; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_dec(x_30); +x_36 = lean_ctor_get(x_31, 0); +lean_inc(x_36); +lean_dec(x_31); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_30, 1); +lean_inc(x_38); +lean_dec(x_30); +x_39 = lean_ctor_get(x_31, 0); +lean_inc(x_39); +lean_dec(x_31); +x_8 = x_17; +x_9 = x_39; +x_14 = x_38; +goto _start; +} +} +else +{ +uint8_t x_41; +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_41 = !lean_is_exclusive(x_30); +if (x_41 == 0) +{ +return x_30; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_30, 0); +x_43 = lean_ctor_get(x_30, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_30); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_76; +x_45 = lean_ctor_get(x_24, 1); +lean_inc(x_45); +lean_dec(x_24); +lean_inc(x_23); +x_46 = l_Lean_MessageData_ofExpr(x_23); +x_76 = lean_unbox(x_16); +switch (x_76) { +case 0: +{ +lean_object* x_77; +x_77 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +x_47 = x_77; +goto block_75; +} +case 1: +{ +lean_object* x_78; +x_78 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +x_47 = x_78; +goto block_75; +} +case 2: +{ +lean_object* x_79; +x_79 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6; +x_47 = x_79; +goto block_75; +} +default: +{ +lean_object* x_80; +x_80 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8; +x_47 = x_80; +goto block_75; +} +} +block_75: +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2; +x_50 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +x_51 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4; +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_46); +x_54 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5; +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +lean_inc(x_2); +x_56 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_2, x_55, x_10, x_11, x_12, x_13, x_45); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_unbox(x_16); +lean_dec(x_16); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_1); +lean_inc(x_7); +lean_inc(x_2); +x_60 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_23, x_2, x_59, x_7, x_1, x_57, x_10, x_11, x_12, x_13, x_58); +lean_dec(x_57); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +if (lean_obj_tag(x_61) == 0) +{ +uint8_t x_62; +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_62 = !lean_is_exclusive(x_60); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_60, 0); +lean_dec(x_63); +x_64 = lean_ctor_get(x_61, 0); +lean_inc(x_64); +lean_dec(x_61); +lean_ctor_set(x_60, 0, x_64); +return x_60; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_60, 1); +lean_inc(x_65); +lean_dec(x_60); +x_66 = lean_ctor_get(x_61, 0); +lean_inc(x_66); +lean_dec(x_61); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +return x_67; +} +} +else +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_60, 1); +lean_inc(x_68); +lean_dec(x_60); +x_69 = lean_ctor_get(x_61, 0); +lean_inc(x_69); +lean_dec(x_61); +x_8 = x_17; +x_9 = x_69; +x_14 = x_68; +goto _start; +} +} +else +{ +uint8_t x_71; +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_71 = !lean_is_exclusive(x_60); +if (x_71 == 0) +{ +return x_60; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_60, 0); +x_73 = lean_ctor_get(x_60, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_60); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; lean_object* x_8; lean_object* x_9; +x_7 = 3; +x_8 = lean_box(x_7); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_6); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = 2; +x_3 = lean_box(x_2); +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__1; +x_3 = lean_box(x_1); +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__3() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 1; +x_2 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__2; +x_3 = lean_box(x_1); +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__1___boxed), 6, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_13 = l_Lean_Elab_WF_GuessLex_mkSizeOf(x_1, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_16 = l_Lean_Elab_WF_GuessLex_mkSizeOf(x_2, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__3; +x_20 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_21 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(x_3, x_4, x_5, x_6, x_14, x_17, x_20, x_19, x_20, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +lean_dec(x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5; +x_26 = lean_box(0); +x_27 = lean_apply_6(x_25, x_26, x_8, x_9, x_10, x_11, x_24); +return x_27; +} +else +{ +uint8_t x_28; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_21, 0); +lean_dec(x_29); +x_30 = lean_ctor_get(x_23, 0); +lean_inc(x_30); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_30); +return x_21; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = lean_ctor_get(x_23, 0); +lean_inc(x_32); +lean_dec(x_23); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_34 = !lean_is_exclusive(x_21); +if (x_34 == 0) +{ +return x_21; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_21, 0); +x_36 = lean_ctor_get(x_21, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_21); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_16); +if (x_38 == 0) +{ +return x_16; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_16, 0); +x_40 = lean_ctor_get(x_16, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_16); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_42 = !lean_is_exclusive(x_13); +if (x_42 == 0) +{ +return x_13; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_13, 0); +x_44 = lean_ctor_get(x_13, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_13); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("inspectRecCall: ", 16); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" (", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(") → ", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(")", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_inc(x_1); +x_13 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_1, x_8, x_9, x_10, x_11, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_unbox(x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_7); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_box(0); +x_18 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_2, x_3, x_4, x_1, x_5, x_6, x_17, x_8, x_9, x_10, x_11, x_16); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_ctor_get(x_7, 0); +lean_inc(x_20); +x_21 = l_Nat_repr(x_20); +x_22 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__2; +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__4; +x_27 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +lean_inc(x_3); +x_28 = l_Lean_MessageData_ofExpr(x_3); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__6; +x_31 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = lean_ctor_get(x_7, 2); +lean_inc(x_32); +lean_dec(x_7); +x_33 = l_Nat_repr(x_32); +x_34 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_36, 0, x_31); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_26); +lean_inc(x_2); +x_38 = l_Lean_MessageData_ofExpr(x_2); +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__8; +x_41 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +lean_inc(x_1); +x_42 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_1, x_41, x_8, x_9, x_10, x_11, x_19); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_2, x_3, x_4, x_1, x_5, x_6, x_43, x_8, x_9, x_10, x_11, x_44); +lean_dec(x_43); +return x_45; +} +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_ReaderT_instMonadLiftReaderT), 3, 2); +lean_closure_set(x_1, 0, lean_box(0)); +lean_closure_set(x_1, 1, lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_evalRecCall___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_StateRefT_x27_lift), 4, 3); +lean_closure_set(x_1, 0, lean_box(0)); +lean_closure_set(x_1, 1, lean_box(0)); +lean_closure_set(x_1, 2, lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; +x_10 = lean_ctor_get(x_2, 4); +lean_inc(x_10); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +x_13 = lean_nat_dec_lt(x_3, x_12); +lean_dec(x_12); +x_14 = lean_ctor_get(x_2, 3); +lean_inc(x_14); +x_15 = lean_array_get_size(x_14); +x_16 = lean_nat_dec_lt(x_4, x_15); +lean_dec(x_15); +x_17 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4; +if (x_13 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_11); +x_31 = l_Lean_instInhabitedExpr; +x_32 = l___private_Init_Util_0__outOfBounds___rarg(x_31); +x_18 = x_32; +goto block_30; +} +else +{ +lean_object* x_33; +x_33 = lean_array_fget(x_11, x_3); +lean_dec(x_11); +x_18 = x_33; +goto block_30; +} +block_30: +{ +if (x_16 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_14); +x_19 = l_Lean_instInhabitedExpr; +x_20 = l___private_Init_Util_0__outOfBounds___rarg(x_19); +x_21 = l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1; +x_22 = l_Lean_Elab_WF_GuessLex_evalRecCall___closed__2; +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___boxed), 12, 7); +lean_closure_set(x_23, 0, x_17); +lean_closure_set(x_23, 1, x_20); +lean_closure_set(x_23, 2, x_18); +lean_closure_set(x_23, 3, x_1); +lean_closure_set(x_23, 4, x_21); +lean_closure_set(x_23, 5, x_22); +lean_closure_set(x_23, 6, x_2); +x_24 = l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg(x_10, x_23, x_5, x_6, x_7, x_8, x_9); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_array_fget(x_14, x_4); +lean_dec(x_14); +x_26 = l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1; +x_27 = l_Lean_Elab_WF_GuessLex_evalRecCall___closed__2; +x_28 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___boxed), 12, 7); +lean_closure_set(x_28, 0, x_17); +lean_closure_set(x_28, 1, x_25); +lean_closure_set(x_28, 2, x_18); +lean_closure_set(x_28, 3, x_1); +lean_closure_set(x_28, 4, x_26); +lean_closure_set(x_28, 5, x_27); +lean_closure_set(x_28, 6, x_2); +x_29 = l_Lean_Elab_WF_GuessLex_SavedLocalContext_run___rarg(x_10, x_28, x_5, x_6, x_7, x_8, x_9); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_List_forM___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_1); +lean_dec(x_1); +x_9 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__1(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_2); +lean_dec(x_2); +x_10 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__4(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_3); +lean_dec(x_3); +x_13 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +return x_13; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +x_15 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_4); +lean_dec(x_3); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_6); +lean_dec(x_5); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_evalRecCall___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_WF_GuessLex_evalRecCall(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_mk(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = lean_array_get_size(x_4); +lean_dec(x_4); +x_6 = lean_ctor_get(x_2, 3); +lean_inc(x_6); +x_7 = lean_array_get_size(x_6); +lean_dec(x_6); +x_8 = lean_box(0); +x_9 = lean_mk_array(x_7, x_8); +x_10 = lean_mk_array(x_5, x_9); +x_11 = lean_st_mk_ref(x_10, x_3); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_2); +lean_ctor_set(x_14, 2, x_13); +lean_ctor_set(x_11, 0, x_14); +return x_11; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +lean_ctor_set(x_17, 2, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +} +else +{ +uint8_t x_19; +lean_dec(x_2); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) +{ +return x_11; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_11, 0); +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_11); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_eval(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_st_ref_get(x_9, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_46 = lean_box(0); +x_47 = lean_array_get_size(x_12); +x_48 = lean_nat_dec_lt(x_2, x_47); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_dec(x_12); +x_49 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_50 = l___private_Init_Util_0__outOfBounds___rarg(x_49); +x_51 = lean_array_get_size(x_50); +x_52 = lean_nat_dec_lt(x_3, x_51); +lean_dec(x_51); +if (x_52 == 0) +{ +lean_object* x_53; +lean_dec(x_50); +x_53 = l___private_Init_Util_0__outOfBounds___rarg(x_46); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; +lean_free_object(x_10); +x_54 = lean_box(0); +x_14 = x_54; +goto block_45; +} +else +{ +lean_object* x_55; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_55 = lean_ctor_get(x_53, 0); +lean_inc(x_55); +lean_dec(x_53); +lean_ctor_set(x_10, 0, x_55); +return x_10; +} +} +else +{ +lean_object* x_56; +x_56 = lean_array_fget(x_50, x_3); +lean_dec(x_50); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; +lean_free_object(x_10); +x_57 = lean_box(0); +x_14 = x_57; +goto block_45; +} +else +{ +lean_object* x_58; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_58 = lean_ctor_get(x_56, 0); +lean_inc(x_58); +lean_dec(x_56); +lean_ctor_set(x_10, 0, x_58); +return x_10; +} +} +} +else +{ +lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_59 = lean_array_fget(x_12, x_2); +lean_dec(x_12); +x_60 = lean_array_get_size(x_59); +x_61 = lean_nat_dec_lt(x_3, x_60); +lean_dec(x_60); +if (x_61 == 0) +{ +lean_object* x_62; +lean_dec(x_59); +x_62 = l___private_Init_Util_0__outOfBounds___rarg(x_46); +if (lean_obj_tag(x_62) == 0) +{ +lean_object* x_63; +lean_free_object(x_10); +x_63 = lean_box(0); +x_14 = x_63; +goto block_45; +} +else +{ +lean_object* x_64; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_64 = lean_ctor_get(x_62, 0); +lean_inc(x_64); +lean_dec(x_62); +lean_ctor_set(x_10, 0, x_64); +return x_10; +} +} +else +{ +lean_object* x_65; +x_65 = lean_array_fget(x_59, x_3); +lean_dec(x_59); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; +lean_free_object(x_10); +x_66 = lean_box(0); +x_14 = x_66; +goto block_45; +} +else +{ +lean_object* x_67; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_67 = lean_ctor_get(x_65, 0); +lean_inc(x_67); +lean_dec(x_65); +lean_ctor_set(x_10, 0, x_67); +return x_10; +} +} +} +block_45: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_14); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_dec(x_1); +x_17 = l_Lean_Elab_WF_GuessLex_evalRecCall(x_15, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_st_ref_take(x_9, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_array_get_size(x_21); +x_24 = lean_nat_dec_lt(x_2, x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_st_ref_set(x_9, x_21, x_22); +lean_dec(x_9); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_18); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_18); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_30 = lean_array_fget(x_21, x_2); +x_31 = lean_box(0); +x_32 = lean_array_fset(x_21, x_2, x_31); +lean_inc(x_18); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_18); +x_34 = lean_array_set(x_30, x_3, x_33); +x_35 = lean_array_fset(x_32, x_2, x_34); +x_36 = lean_st_ref_set(x_9, x_35, x_22); +lean_dec(x_9); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +lean_object* x_38; +x_38 = lean_ctor_get(x_36, 0); +lean_dec(x_38); +lean_ctor_set(x_36, 0, x_18); +return x_36; +} +else +{ +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_18); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_9); +x_41 = !lean_is_exclusive(x_17); +if (x_41 == 0) +{ +return x_17; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_17, 0); +x_43 = lean_ctor_get(x_17, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_17); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_68 = lean_ctor_get(x_10, 0); +x_69 = lean_ctor_get(x_10, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_10); +x_100 = lean_box(0); +x_101 = lean_array_get_size(x_68); +x_102 = lean_nat_dec_lt(x_2, x_101); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +lean_dec(x_68); +x_103 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_104 = l___private_Init_Util_0__outOfBounds___rarg(x_103); +x_105 = lean_array_get_size(x_104); +x_106 = lean_nat_dec_lt(x_3, x_105); +lean_dec(x_105); +if (x_106 == 0) +{ +lean_object* x_107; +lean_dec(x_104); +x_107 = l___private_Init_Util_0__outOfBounds___rarg(x_100); +if (lean_obj_tag(x_107) == 0) +{ +lean_object* x_108; +x_108 = lean_box(0); +x_70 = x_108; +goto block_99; +} +else +{ +lean_object* x_109; lean_object* x_110; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_109 = lean_ctor_get(x_107, 0); +lean_inc(x_109); +lean_dec(x_107); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_69); +return x_110; +} +} +else +{ +lean_object* x_111; +x_111 = lean_array_fget(x_104, x_3); +lean_dec(x_104); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; +x_112 = lean_box(0); +x_70 = x_112; +goto block_99; +} +else +{ +lean_object* x_113; lean_object* x_114; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_113 = lean_ctor_get(x_111, 0); +lean_inc(x_113); +lean_dec(x_111); +x_114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_69); +return x_114; +} +} +} +else +{ +lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_115 = lean_array_fget(x_68, x_2); +lean_dec(x_68); +x_116 = lean_array_get_size(x_115); +x_117 = lean_nat_dec_lt(x_3, x_116); +lean_dec(x_116); +if (x_117 == 0) +{ +lean_object* x_118; +lean_dec(x_115); +x_118 = l___private_Init_Util_0__outOfBounds___rarg(x_100); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; +x_119 = lean_box(0); +x_70 = x_119; +goto block_99; +} +else +{ +lean_object* x_120; lean_object* x_121; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_120 = lean_ctor_get(x_118, 0); +lean_inc(x_120); +lean_dec(x_118); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_69); +return x_121; +} +} +else +{ +lean_object* x_122; +x_122 = lean_array_fget(x_115, x_3); +lean_dec(x_115); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; +x_123 = lean_box(0); +x_70 = x_123; +goto block_99; +} +else +{ +lean_object* x_124; lean_object* x_125; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_124 = lean_ctor_get(x_122, 0); +lean_inc(x_124); +lean_dec(x_122); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_69); +return x_125; +} +} +} +block_99: +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_70); +x_71 = lean_ctor_get(x_1, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_1, 1); +lean_inc(x_72); +lean_dec(x_1); +x_73 = l_Lean_Elab_WF_GuessLex_evalRecCall(x_71, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_69); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_st_ref_take(x_9, x_75); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_array_get_size(x_77); +x_80 = lean_nat_dec_lt(x_2, x_79); +lean_dec(x_79); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_st_ref_set(x_9, x_77, x_78); +lean_dec(x_9); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_83 = x_81; +} else { + lean_dec_ref(x_81); + x_83 = lean_box(0); +} +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(0, 2, 0); +} else { + x_84 = x_83; +} +lean_ctor_set(x_84, 0, x_74); +lean_ctor_set(x_84, 1, x_82); +return x_84; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_85 = lean_array_fget(x_77, x_2); +x_86 = lean_box(0); +x_87 = lean_array_fset(x_77, x_2, x_86); +lean_inc(x_74); +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_74); +x_89 = lean_array_set(x_85, x_3, x_88); +x_90 = lean_array_fset(x_87, x_2, x_89); +x_91 = lean_st_ref_set(x_9, x_90, x_78); +lean_dec(x_9); +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_93 = x_91; +} else { + lean_dec_ref(x_91); + x_93 = lean_box(0); +} +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(0, 2, 0); +} else { + x_94 = x_93; +} +lean_ctor_set(x_94, 0, x_74); +lean_ctor_set(x_94, 1, x_92); +return x_94; +} +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_dec(x_9); +x_95 = lean_ctor_get(x_73, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_73, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_97 = x_73; +} else { + lean_dec_ref(x_73); + x_97 = lean_box(0); +} +if (lean_is_scalar(x_97)) { + x_98 = lean_alloc_ctor(1, 2, 0); +} else { + x_98 = x_97; +} +lean_ctor_set(x_98, 0, x_95); +lean_ctor_set(x_98, 1, x_96); +return x_98; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_eval___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_WF_GuessLex_RecCallCache_eval(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(Param ", 7); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(", arg ", 6); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("): ", 3); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__5; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__2; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_nat_dec_lt(x_12, x_9); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_3); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_nat_dec_eq(x_11, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_sub(x_11, x_20); +lean_dec(x_11); +x_22 = lean_array_fget(x_5, x_12); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +x_23 = lean_nat_add(x_12, x_10); +lean_dec(x_12); +x_4 = lean_box(0); +x_11 = x_21; +x_12 = x_23; +x_13 = lean_box(0); +goto _start; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_47; +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); +lean_dec(x_22); +lean_inc(x_3); +x_26 = l_Nat_repr(x_3); +x_27 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_27, 0, x_26); +x_28 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__2; +x_29 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__4; +x_31 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +lean_inc(x_12); +x_32 = l_Nat_repr(x_12); +x_33 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__6; +x_36 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_47 = lean_unbox(x_25); +lean_dec(x_25); +switch (x_47) { +case 0: +{ +lean_object* x_48; +x_48 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2; +x_37 = x_48; +goto block_46; +} +case 1: +{ +lean_object* x_49; +x_49 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4; +x_37 = x_49; +goto block_46; +} +case 2: +{ +lean_object* x_50; +x_50 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6; +x_37 = x_50; +goto block_46; +} +default: +{ +lean_object* x_51; +x_51 = l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8; +x_37 = x_51; +goto block_46; +} +} +block_46: +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_38 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__7; +x_40 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_41, 0, x_14); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_box(1); +x_43 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_nat_add(x_12, x_10); +lean_dec(x_12); +x_4 = lean_box(0); +x_11 = x_21; +x_12 = x_44; +x_13 = lean_box(0); +x_14 = x_43; +goto _start; +} +} +} +else +{ +lean_object* x_52; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_3); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_14); +lean_ctor_set(x_52, 1, x_15); +return x_52; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_nat_dec_lt(x_8, x_5); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_8); +lean_dec(x_7); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_eq(x_7, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_nat_sub(x_7, x_16); +lean_dec(x_7); +x_18 = lean_array_fget(x_1, x_8); +x_19 = lean_array_get_size(x_18); +lean_inc(x_19); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_20, 2, x_16); +lean_inc(x_19); +lean_inc(x_8); +x_21 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1(x_1, x_3, x_8, lean_box(0), x_18, x_19, x_20, x_14, x_19, x_16, x_19, x_14, lean_box(0), x_10, x_11); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_nat_add(x_8, x_6); +lean_dec(x_8); +x_7 = x_17; +x_8 = x_24; +x_9 = lean_box(0); +x_10 = x_22; +x_11 = x_23; +goto _start; +} +else +{ +lean_object* x_26; +lean_dec(x_8); +lean_dec(x_7); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_10); +lean_ctor_set(x_26, 1, x_11); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_pretty(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_3 = lean_ctor_get(x_1, 2); +x_4 = lean_st_ref_get(x_3, x_2); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_array_get_size(x_5); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_unsigned_to_nat(1u); +lean_inc(x_7); +x_10 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_7); +lean_ctor_set(x_10, 2, x_9); +x_11 = lean_box(0); +lean_inc(x_7); +x_12 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__2(x_5, x_7, x_10, x_8, x_7, x_9, x_7, x_8, lean_box(0), x_11, x_6); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_5); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_RecCallCache_pretty___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Elab_WF_GuessLex_RecCallCache_pretty(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_1, 1); +x_10 = lean_ctor_get(x_9, 0); +x_11 = lean_nat_dec_eq(x_10, x_2); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_9, 2); +x_13 = lean_nat_dec_eq(x_12, x_2); +if (x_13 == 0) +{ +uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_14 = 1; +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_8); +return x_16; +} +else +{ +uint8_t x_17; lean_object* x_18; lean_object* x_19; +x_17 = 3; +x_18 = lean_box(x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_8); +return x_19; +} +} +else +{ +uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_20 = 1; +x_21 = lean_box(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_8); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; uint8_t x_14; +x_8 = lean_ctor_get(x_2, 0); +lean_inc(x_8); +lean_dec(x_2); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_array_get_size(x_8); +x_12 = lean_nat_dec_lt(x_10, x_11); +x_13 = lean_ctor_get(x_9, 2); +lean_inc(x_13); +lean_dec(x_9); +x_14 = lean_nat_dec_lt(x_13, x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_10); +x_15 = l_instInhabitedNat; +x_16 = l___private_Init_Util_0__outOfBounds___rarg(x_15); +if (x_14 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_13); +lean_dec(x_8); +x_17 = l___private_Init_Util_0__outOfBounds___rarg(x_15); +x_18 = l_Lean_Elab_WF_GuessLex_RecCallCache_eval(x_1, x_16, x_17, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_17); +lean_dec(x_16); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_array_fget(x_8, x_13); +lean_dec(x_13); +lean_dec(x_8); +x_20 = l_Lean_Elab_WF_GuessLex_RecCallCache_eval(x_1, x_16, x_19, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_19); +lean_dec(x_16); +return x_20; +} +} +else +{ +lean_object* x_21; +x_21 = lean_array_fget(x_8, x_10); +lean_dec(x_10); +if (x_14 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_13); +lean_dec(x_8); +x_22 = l_instInhabitedNat; +x_23 = l___private_Init_Util_0__outOfBounds___rarg(x_22); +x_24 = l_Lean_Elab_WF_GuessLex_RecCallCache_eval(x_1, x_21, x_23, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_23); +lean_dec(x_21); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_array_fget(x_8, x_13); +lean_dec(x_13); +lean_dec(x_8); +x_26 = l_Lean_Elab_WF_GuessLex_RecCallCache_eval(x_1, x_21, x_25, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_25); +lean_dec(x_21); +return x_26; +} +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_ctor_get(x_2, 0); +lean_inc(x_27); +lean_dec(x_2); +x_28 = lean_ctor_get(x_1, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_nat_dec_eq(x_29, x_27); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_28); +x_31 = lean_box(0); +x_32 = l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1(x_1, x_27, x_31, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_27); +lean_dec(x_1); +return x_32; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_28, 2); +lean_inc(x_33); +lean_dec(x_28); +x_34 = lean_nat_dec_eq(x_33, x_27); +lean_dec(x_33); +if (x_34 == 0) +{ +uint8_t x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_27); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_35 = 0; +x_36 = lean_box(x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_7); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_box(0); +x_39 = l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1(x_1, x_27, x_38, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_27); +lean_dec(x_1); +return x_39; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_WF_GuessLex_inspectCall___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_3, x_2); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_12 = lean_ctor_get(x_1, 0); +x_13 = lean_array_uget(x_12, x_3); +x_14 = lean_ctor_get(x_4, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_15); +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + lean_ctor_release(x_4, 1); + x_16 = x_4; +} else { + lean_dec_ref(x_4); + x_16 = lean_box(0); +} +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_14, 2); +lean_inc(x_19); +x_20 = lean_nat_dec_lt(x_17, x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +if (lean_is_scalar(x_16)) { + x_21 = lean_alloc_ctor(0, 2, 0); +} else { + x_21 = x_16; +} +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_15); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_9); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_24 = lean_ctor_get(x_14, 2); +lean_dec(x_24); +x_25 = lean_ctor_get(x_14, 1); +lean_dec(x_25); +x_26 = lean_ctor_get(x_14, 0); +lean_dec(x_26); +x_27 = lean_nat_add(x_17, x_19); +lean_ctor_set(x_14, 0, x_27); +x_44 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__20; +x_45 = lean_array_push(x_44, x_13); +x_46 = l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__4; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_47 = l_Lean_Meta_mkAppM(x_46, x_45, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_50 = l_Lean_Meta_whnfD(x_48, x_5, x_6, x_7, x_8, x_49); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_dec(x_16); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l_Lean_Expr_isLit(x_51); +lean_dec(x_51); +if (x_53 == 0) +{ +lean_object* x_54; size_t x_55; size_t x_56; +lean_dec(x_17); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_14); +lean_ctor_set(x_54, 1, x_15); +x_55 = 1; +x_56 = lean_usize_add(x_3, x_55); +x_3 = x_56; +x_4 = x_54; +x_9 = x_52; +goto _start; +} +else +{ +lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; +x_58 = lean_array_push(x_15, x_17); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_14); +lean_ctor_set(x_59, 1, x_58); +x_60 = 1; +x_61 = lean_usize_add(x_3, x_60); +x_3 = x_61; +x_4 = x_59; +x_9 = x_52; +goto _start; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_50, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_50, 1); +lean_inc(x_64); +lean_dec(x_50); +x_28 = x_63; +x_29 = x_64; +goto block_43; +} +} +else +{ +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_47, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_47, 1); +lean_inc(x_66); +lean_dec(x_47); +x_28 = x_65; +x_29 = x_66; +goto block_43; +} +block_43: +{ +uint8_t x_30; +x_30 = l_Lean_Exception_isRuntime(x_28); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; +lean_dec(x_28); +x_31 = lean_array_push(x_15, x_17); +if (lean_is_scalar(x_16)) { + x_32 = lean_alloc_ctor(0, 2, 0); +} else { + x_32 = x_16; +} +lean_ctor_set(x_32, 0, x_14); +lean_ctor_set(x_32, 1, x_31); +x_33 = 1; +x_34 = lean_usize_add(x_3, x_33); +x_3 = x_34; +x_4 = x_32; +x_9 = x_29; +goto _start; +} +else +{ +uint8_t x_36; +x_36 = lean_ctor_get_uint8(x_7, sizeof(void*)*11); +if (x_36 == 0) +{ +lean_object* x_37; +lean_dec(x_14); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_28); +lean_ctor_set(x_37, 1, x_29); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; +lean_dec(x_28); +x_38 = lean_array_push(x_15, x_17); +if (lean_is_scalar(x_16)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_16; +} +lean_ctor_set(x_39, 0, x_14); +lean_ctor_set(x_39, 1, x_38); +x_40 = 1; +x_41 = lean_usize_add(x_3, x_40); +x_3 = x_41; +x_4 = x_39; +x_9 = x_29; +goto _start; +} +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_14); +x_67 = lean_nat_add(x_17, x_19); +x_68 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_18); +lean_ctor_set(x_68, 2, x_19); +x_85 = l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__20; +x_86 = lean_array_push(x_85, x_13); +x_87 = l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__4; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_88 = l_Lean_Meta_mkAppM(x_87, x_86, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_91 = l_Lean_Meta_whnfD(x_89, x_5, x_6, x_7, x_8, x_90); +if (lean_obj_tag(x_91) == 0) +{ +lean_object* x_92; lean_object* x_93; uint8_t x_94; +lean_dec(x_16); +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = l_Lean_Expr_isLit(x_92); +lean_dec(x_92); +if (x_94 == 0) +{ +lean_object* x_95; size_t x_96; size_t x_97; +lean_dec(x_17); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_68); +lean_ctor_set(x_95, 1, x_15); +x_96 = 1; +x_97 = lean_usize_add(x_3, x_96); +x_3 = x_97; +x_4 = x_95; +x_9 = x_93; +goto _start; +} +else +{ +lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; +x_99 = lean_array_push(x_15, x_17); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_68); +lean_ctor_set(x_100, 1, x_99); +x_101 = 1; +x_102 = lean_usize_add(x_3, x_101); +x_3 = x_102; +x_4 = x_100; +x_9 = x_93; +goto _start; +} +} +else +{ +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_91, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_91, 1); +lean_inc(x_105); +lean_dec(x_91); +x_69 = x_104; +x_70 = x_105; +goto block_84; +} +} +else +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_88, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_88, 1); +lean_inc(x_107); +lean_dec(x_88); +x_69 = x_106; +x_70 = x_107; +goto block_84; +} +block_84: +{ +uint8_t x_71; +x_71 = l_Lean_Exception_isRuntime(x_69); +if (x_71 == 0) +{ +lean_object* x_72; lean_object* x_73; size_t x_74; size_t x_75; +lean_dec(x_69); +x_72 = lean_array_push(x_15, x_17); +if (lean_is_scalar(x_16)) { + x_73 = lean_alloc_ctor(0, 2, 0); +} else { + x_73 = x_16; +} +lean_ctor_set(x_73, 0, x_68); +lean_ctor_set(x_73, 1, x_72); +x_74 = 1; +x_75 = lean_usize_add(x_3, x_74); +x_3 = x_75; +x_4 = x_73; +x_9 = x_70; +goto _start; +} +else +{ +uint8_t x_77; +x_77 = lean_ctor_get_uint8(x_7, sizeof(void*)*11); +if (x_77 == 0) +{ +lean_object* x_78; +lean_dec(x_68); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_69); +lean_ctor_set(x_78, 1, x_70); +return x_78; +} +else +{ +lean_object* x_79; lean_object* x_80; size_t x_81; size_t x_82; +lean_dec(x_69); +x_79 = lean_array_push(x_15, x_17); +if (lean_is_scalar(x_16)) { + x_80 = lean_alloc_ctor(0, 2, 0); +} else { + x_80 = x_16; +} +lean_ctor_set(x_80, 0, x_68); +lean_ctor_set(x_80, 1, x_79); +x_81 = 1; +x_82 = lean_usize_add(x_3, x_81); +x_3 = x_82; +x_4 = x_80; +x_9 = x_70; +goto _start; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; size_t x_20; lean_object* x_21; +x_9 = lean_array_get_size(x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_9); +lean_ctor_set(x_12, 2, x_11); +x_13 = lean_array_get_size(x_2); +x_14 = l_Array_toSubarray___rarg(x_2, x_1, x_13); +x_15 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_ctor_get(x_14, 2); +lean_inc(x_17); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +x_20 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_21 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___spec__1(x_14, x_18, x_20, x_16, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_14); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_24); +return x_21; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_21, 0); +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_21); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_21); +if (x_29 == 0) +{ +return x_21; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_21, 0); +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_21); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_2, 5); +lean_inc(x_8); +lean_dec(x_2); +x_9 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___lambda__1___boxed), 8, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_8, x_9, x_3, x_4, x_5, x_6, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_isForbidden(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_lt(x_2, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_fget(x_1, x_2); +x_8 = l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__2(x_7, x_3); +lean_dec(x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_isForbidden___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_isForbidden(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__2(x_6, x_1); +lean_dec(x_6); +if (x_7 == 0) +{ +size_t x_8; size_t x_9; +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_3 = x_9; +goto _start; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_nat_dec_lt(x_1, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +else +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +goto _start; +} +} +else +{ +uint8_t x_12; +x_12 = 0; +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_add(x_1, x_6); +lean_dec(x_1); +x_8 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform(x_2, x_3, x_7, x_5); +return x_8; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_24; uint8_t x_25; +x_5 = lean_array_get_size(x_2); +x_24 = lean_unsigned_to_nat(0u); +x_25 = lean_nat_dec_lt(x_24, x_5); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_box(0); +x_6 = x_26; +goto block_23; +} +else +{ +size_t x_27; size_t x_28; uint8_t x_29; +x_27 = 0; +x_28 = lean_usize_of_nat(x_5); +x_29 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__2(x_3, x_2, x_27, x_28); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_box(0); +x_6 = x_30; +goto block_23; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_4); +return x_32; +} +} +block_23: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +lean_dec(x_6); +x_7 = lean_array_get_size(x_1); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_lt(x_8, x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_7); +lean_inc(x_3); +x_10 = lean_mk_array(x_5, x_3); +x_11 = lean_array_push(x_4, x_10); +x_12 = lean_box(0); +x_13 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___lambda__1(x_3, x_1, x_2, x_12, x_11); +return x_13; +} +else +{ +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = 0; +x_15 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_16 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__1(x_3, x_1, x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_inc(x_3); +x_17 = lean_mk_array(x_5, x_3); +x_18 = lean_array_push(x_4, x_17); +x_19 = lean_box(0); +x_20 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___lambda__1(x_3, x_1, x_2, x_19, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_5); +x_21 = lean_box(0); +x_22 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___lambda__1(x_3, x_1, x_2, x_21, x_4); +return x_22; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___spec__2(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_4, x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_array_uget(x_3, x_4); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_lt(x_8, x_2); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = l_instInhabitedNat; +x_11 = l___private_Init_Util_0__outOfBounds___rarg(x_10); +x_12 = lean_nat_dec_eq(x_7, x_11); +lean_dec(x_11); +lean_dec(x_7); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = 1; +return x_13; +} +else +{ +size_t x_14; size_t x_15; +x_14 = 1; +x_15 = lean_usize_add(x_4, x_14); +x_4 = x_15; +goto _start; +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_array_fget(x_1, x_8); +x_18 = lean_nat_dec_eq(x_7, x_17); +lean_dec(x_17); +lean_dec(x_7); +if (x_18 == 0) +{ +uint8_t x_19; +x_19 = 1; +return x_19; +} +else +{ +size_t x_20; size_t x_21; +x_20 = 1; +x_21 = lean_usize_add(x_4, x_20); +x_4 = x_21; +goto _start; +} +} +} +else +{ +uint8_t x_23; +x_23 = 0; +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_nat_dec_le(x_7, x_6); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_nat_dec_eq(x_5, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(x_9); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_sub(x_5, x_15); +lean_dec(x_5); +x_17 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_isForbidden(x_1, x_4, x_6); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_nat_add(x_4, x_15); +lean_inc(x_6); +lean_inc(x_10); +x_19 = lean_array_push(x_10, x_6); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_20 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go(x_1, x_2, x_3, x_18, x_19, x_11); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +lean_dec(x_16); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 0); +lean_dec(x_23); +x_24 = lean_box(0); +lean_ctor_set(x_20, 0, x_24); +return x_20; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_21); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +lean_dec(x_20); +x_29 = lean_nat_add(x_6, x_8); +lean_dec(x_6); +x_30 = lean_box(0); +x_5 = x_16; +x_6 = x_29; +x_9 = x_30; +x_11 = x_28; +goto _start; +} +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_nat_add(x_6, x_8); +lean_dec(x_6); +x_33 = lean_box(0); +x_5 = x_16; +x_6 = x_32; +x_9 = x_33; +goto _start; +} +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_9); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_11); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_9); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_11); +return x_38; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_array_get_size(x_4); +x_6 = lean_nat_dec_lt(x_1, x_5); +lean_dec(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_4); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_2); +x_8 = lean_nat_dec_lt(x_4, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_array_get_size(x_5); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_lt(x_10, x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_9); +x_12 = lean_box(0); +x_13 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1(x_3, x_12, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_13; +} +else +{ +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = 0; +x_15 = lean_usize_of_nat(x_9); +x_16 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__1(x_5, x_9, x_5, x_14, x_15); +lean_dec(x_9); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1(x_3, x_17, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_inc(x_5); +x_19 = lean_array_push(x_6, x_5); +x_20 = lean_box(0); +x_21 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1(x_3, x_20, x_5, x_19); +lean_dec(x_5); +lean_dec(x_3); +return x_21; +} +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_22 = lean_array_fget(x_2, x_4); +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_box(0); +lean_inc(x_22); +x_26 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__2(x_1, x_2, x_3, x_4, x_22, x_23, x_22, x_24, x_25, x_5, x_6); +lean_dec(x_22); +lean_dec(x_4); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_26, 0); +lean_dec(x_29); +x_30 = lean_box(0); +lean_ctor_set(x_26, 0, x_30); +return x_26; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +else +{ +uint8_t x_34; +lean_dec(x_27); +x_34 = !lean_is_exclusive(x_26); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_26, 0); +lean_dec(x_35); +x_36 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1; +lean_ctor_set(x_26, 0, x_36); +return x_26; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_26, 1); +lean_inc(x_37); +lean_dec(x_26); +x_38 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; uint8_t x_8; lean_object* x_9; +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_8 = l_Array_anyMUnsafe_any___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__1(x_1, x_2, x_3, x_6, x_7); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_box(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateCombinations_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +lean_inc(x_2); +lean_inc(x_1); +x_6 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform(x_1, x_2, x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_7, 0); +lean_dec(x_9); +x_10 = lean_ctor_get(x_6, 1); +lean_inc(x_10); +lean_dec(x_6); +x_11 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go(x_1, x_2, x_3, x_4, x_5, x_10); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +lean_ctor_set(x_7, 0, x_12); +return x_7; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_7); +x_13 = lean_ctor_get(x_6, 1); +lean_inc(x_13); +lean_dec(x_6); +x_14 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_go(x_1, x_2, x_3, x_4, x_5, x_13); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_4, 5); +x_8 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +lean_inc(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__3(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_generateMeasures___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Too many combinations", 21); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_generateMeasures___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_generateMeasures___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_generateMeasures___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_2 = lean_array_get_size(x_1); +return x_2; +} +} +static size_t _init_l_Lean_Elab_WF_GuessLex_generateMeasures___closed__4() { +_start: +{ +lean_object* x_1; size_t x_2; +x_1 = l_Lean_Elab_WF_GuessLex_generateMeasures___closed__3; +x_2 = lean_usize_of_nat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_8 = lean_unsigned_to_nat(32u); +lean_inc(x_2); +x_9 = l_Lean_Elab_WF_GuessLex_generateCombinations_x3f(x_1, x_2, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_array_get_size(x_2); +lean_dec(x_2); +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_dec_lt(x_12, x_11); +x_14 = lean_array_get_size(x_10); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__2(x_15, x_16, x_10); +if (x_13 == 0) +{ +size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_11); +x_18 = l_Lean_Elab_WF_GuessLex_generateMeasures___closed__4; +x_19 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__3(x_18, x_16, x_19); +x_21 = l_Array_append___rarg(x_17, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_7); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_23 = l_List_range(x_11); +x_24 = l_List_redLength___rarg(x_23); +x_25 = lean_mk_empty_array_with_capacity(x_24); +lean_dec(x_24); +x_26 = l_List_toArrayAux___rarg(x_23, x_25); +x_27 = lean_array_get_size(x_26); +x_28 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_29 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__3(x_28, x_16, x_26); +x_30 = l_Array_append___rarg(x_17, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_7); +return x_31; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_generateMeasures___spec__3(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_generateMeasures___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_WF_GuessLex_generateMeasures(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_1); +lean_ctor_set(x_6, 1, x_2); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_3); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +x_9 = lean_apply_2(x_4, lean_box(0), x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = 1; +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_1); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = lean_apply_2(x_3, lean_box(0), x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7) { +_start: +{ +uint8_t x_8; uint8_t x_9; +x_8 = 0; +x_9 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; uint8_t x_12; +x_10 = lean_array_push(x_1, x_2); +x_11 = 2; +x_12 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_7, x_11); +if (x_12 == 0) +{ +uint8_t x_13; uint8_t x_14; +x_13 = 1; +x_14 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_7, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_6); +lean_dec(x_5); +x_15 = lean_ctor_get(x_3, 0); +lean_inc(x_15); +lean_dec(x_3); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_4); +lean_ctor_set(x_17, 1, x_10); +x_18 = 0; +x_19 = lean_box(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_17); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_apply_2(x_16, lean_box(0), x_21); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_3, 0); +lean_inc(x_23); +lean_dec(x_3); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_box(0); +lean_inc(x_24); +x_26 = lean_apply_2(x_24, lean_box(0), x_25); +x_27 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__1___boxed), 5, 4); +lean_closure_set(x_27, 0, x_4); +lean_closure_set(x_27, 1, x_10); +lean_closure_set(x_27, 2, x_5); +lean_closure_set(x_27, 3, x_24); +x_28 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_26, x_27); +return x_28; +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_3, 0); +lean_inc(x_29); +lean_dec(x_3); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = lean_box(0); +lean_inc(x_30); +x_32 = lean_apply_2(x_30, lean_box(0), x_31); +x_33 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__1___boxed), 5, 4); +lean_closure_set(x_33, 0, x_4); +lean_closure_set(x_33, 1, x_10); +lean_closure_set(x_33, 2, x_5); +lean_closure_set(x_33, 3, x_30); +x_34 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_32, x_33); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_4); +lean_dec(x_2); +x_35 = lean_ctor_get(x_3, 0); +lean_inc(x_35); +lean_dec(x_3); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_box(0); +lean_inc(x_36); +x_38 = lean_apply_2(x_36, lean_box(0), x_37); +x_39 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__2___boxed), 4, 3); +lean_closure_set(x_39, 0, x_1); +lean_closure_set(x_39, 1, x_5); +lean_closure_set(x_39, 2, x_36); +x_40 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_38, x_39); +return x_40; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__4(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_2(x_10, lean_box(0), x_8); +return x_11; +} +else +{ +lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_7, 0); +lean_inc(x_12); +lean_dec(x_7); +x_13 = 1; +x_14 = lean_usize_add(x_2, x_13); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg(x_1, x_3, x_4, x_5, x_6, x_14, x_12); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_6, x_5); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_apply_2(x_10, lean_box(0), x_7); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_12 = lean_array_uget(x_4, x_6); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +x_15 = lean_ctor_get(x_7, 0); +lean_inc(x_15); +lean_dec(x_7); +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_array_uget(x_4, x_6); +lean_inc(x_3); +x_19 = lean_apply_1(x_18, x_3); +lean_inc(x_2); +lean_inc(x_1); +x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__3___boxed), 7, 6); +lean_closure_set(x_20, 0, x_17); +lean_closure_set(x_20, 1, x_12); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_16); +lean_closure_set(x_20, 4, x_15); +lean_closure_set(x_20, 5, x_2); +lean_inc(x_2); +x_21 = lean_apply_4(x_2, lean_box(0), lean_box(0), x_19, x_20); +x_22 = lean_box_usize(x_6); +x_23 = lean_box_usize(x_5); +x_24 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__4___boxed), 7, 6); +lean_closure_set(x_24, 0, x_1); +lean_closure_set(x_24, 1, x_22); +lean_closure_set(x_24, 2, x_2); +lean_closure_set(x_24, 3, x_3); +lean_closure_set(x_24, 4, x_4); +lean_closure_set(x_24, 5, x_23); +x_25 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_21, x_24); +return x_25; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___boxed), 7, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_2); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +x_9 = lean_apply_2(x_4, lean_box(0), x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = l_Array_eraseIdx___rarg(x_1, x_2); +x_10 = lean_array_push(x_3, x_4); +lean_inc(x_5); +x_11 = l_Lean_Elab_WF_GuessLex_solve_go___rarg(x_5, x_9, x_6, x_10); +x_12 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__1), 2, 1); +lean_closure_set(x_12, 0, x_5); +x_13 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_2); +x_15 = lean_apply_2(x_13, lean_box(0), x_14); +return x_15; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_8, 0); +lean_inc(x_16); +lean_dec(x_8); +x_17 = lean_unbox(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +lean_dec(x_1); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_2); +x_21 = lean_apply_2(x_19, lean_box(0), x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_2); +x_22 = lean_ctor_get(x_9, 1); +lean_inc(x_22); +lean_dec(x_9); +lean_inc(x_7); +lean_inc(x_1); +x_23 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__2___boxed), 8, 7); +lean_closure_set(x_23, 0, x_3); +lean_closure_set(x_23, 1, x_4); +lean_closure_set(x_23, 2, x_5); +lean_closure_set(x_23, 3, x_6); +lean_closure_set(x_23, 4, x_1); +lean_closure_set(x_23, 5, x_22); +lean_closure_set(x_23, 6, x_7); +x_24 = lean_ctor_get(x_1, 0); +lean_inc(x_24); +lean_dec(x_1); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_box(0); +x_27 = lean_apply_2(x_25, lean_box(0), x_26); +x_28 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_27, x_23); +return x_28; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +lean_dec(x_1); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_apply_2(x_17, lean_box(0), x_15); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = lean_nat_add(x_2, x_3); +lean_dec(x_2); +x_21 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_3, x_13, x_20, lean_box(0), x_19); +lean_dec(x_13); +return x_21; +} +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 0; +x_2 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_3 = lean_box(x_1); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +return x_4; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = 1; +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__1; +x_3 = lean_box(x_1); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_nat_dec_lt(x_13, x_10); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_apply_2(x_18, lean_box(0), x_15); +return x_19; +} +else +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_eq(x_12, x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_15); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_12, x_22); +x_24 = lean_ctor_get(x_1, 1); +lean_inc(x_24); +x_25 = lean_array_fget(x_2, x_13); +x_26 = lean_array_get_size(x_3); +x_27 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_28 = 0; +x_29 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__2; +lean_inc(x_3); +lean_inc(x_25); +lean_inc(x_5); +lean_inc(x_1); +x_30 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg(x_1, x_5, x_25, x_3, x_27, x_28, x_29); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_13); +lean_inc(x_2); +lean_inc(x_8); +lean_inc(x_1); +x_31 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__3), 8, 7); +lean_closure_set(x_31, 0, x_1); +lean_closure_set(x_31, 1, x_8); +lean_closure_set(x_31, 2, x_2); +lean_closure_set(x_31, 3, x_13); +lean_closure_set(x_31, 4, x_4); +lean_closure_set(x_31, 5, x_25); +lean_closure_set(x_31, 6, x_5); +lean_inc(x_5); +x_32 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_30, x_31); +x_33 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__4), 14, 13); +lean_closure_set(x_33, 0, x_1); +lean_closure_set(x_33, 1, x_13); +lean_closure_set(x_33, 2, x_11); +lean_closure_set(x_33, 3, x_2); +lean_closure_set(x_33, 4, x_3); +lean_closure_set(x_33, 5, x_4); +lean_closure_set(x_33, 6, x_5); +lean_closure_set(x_33, 7, x_6); +lean_closure_set(x_33, 8, x_7); +lean_closure_set(x_33, 9, x_8); +lean_closure_set(x_33, 10, x_9); +lean_closure_set(x_33, 11, x_10); +lean_closure_set(x_33, 12, x_23); +x_34 = lean_apply_4(x_24, lean_box(0), lean_box(0), x_32, x_33); +return x_34; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_35 = lean_ctor_get(x_1, 0); +lean_inc(x_35); +lean_dec(x_1); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_apply_2(x_36, lean_box(0), x_15); +return x_37; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___boxed), 15, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = lean_apply_2(x_5, lean_box(0), x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +lean_dec(x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_inc(x_1); +x_6 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__1___boxed), 3, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_2); +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_box(0); +x_10 = lean_apply_2(x_8, lean_box(0), x_9); +x_11 = lean_apply_4(x_3, lean_box(0), lean_box(0), x_10, x_6); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +lean_dec(x_2); +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_apply_2(x_14, lean_box(0), x_12); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_array_get_size(x_2); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_unsigned_to_nat(1u); +lean_inc(x_7); +x_10 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_7); +lean_ctor_set(x_10, 2, x_9); +x_11 = lean_box(0); +x_12 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4; +lean_inc_n(x_7, 2); +lean_inc(x_6); +lean_inc(x_1); +x_13 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg(x_1, x_2, x_3, x_4, x_6, x_7, x_10, x_12, x_8, x_7, x_9, x_7, x_8, lean_box(0), x_12); +lean_dec(x_7); +lean_inc(x_6); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__2), 4, 3); +lean_closure_set(x_14, 0, x_1); +lean_closure_set(x_14, 1, x_11); +lean_closure_set(x_14, 2, x_6); +x_15 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_13, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_5 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__3___boxed), 5, 4); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_3); +lean_closure_set(x_5, 3, x_4); +x_6 = l_Array_isEmpty___rarg(x_3); +lean_dec(x_3); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_4); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_box(0); +x_11 = lean_apply_2(x_9, lean_box(0), x_10); +x_12 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_11, x_5); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_5); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +lean_dec(x_1); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_4); +x_16 = lean_apply_2(x_14, lean_box(0), x_15); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_solve_go___rarg), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_7); +lean_dec(x_7); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___lambda__4(x_1, x_8, x_3, x_4, x_5, x_9, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__1___rarg(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +x_16 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_12); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__1(x_1, x_2, x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Elab_WF_GuessLex_solve_go___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_5 = l_Lean_Elab_WF_GuessLex_solve_go___rarg(x_1, x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_solve___rarg), 3, 0); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Parser", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Term", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tuple", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__1; +x_2 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__2; +x_3 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__3; +x_4 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__4; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("null", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(",", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__9; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_array_get_size(x_1); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_dec_eq(x_7, x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_4, 5); +lean_inc(x_12); +lean_dec(x_4); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_12, x_13); +x_15 = lean_st_ref_get(x_5, x_6); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +x_18 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__6; +lean_inc(x_14); +x_19 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_nat_dec_lt(x_8, x_7); +lean_dec(x_7); +x_21 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__9; +lean_inc(x_14); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_14); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_array_get_size(x_1); +lean_inc(x_1); +x_24 = l_Array_toSubarray___rarg(x_1, x_10, x_23); +x_25 = l_Array_ofSubarray___rarg(x_24); +x_26 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__10; +x_27 = l_Lean_mkSepArray(x_25, x_26); +lean_dec(x_25); +x_28 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_29 = l_Array_append___rarg(x_28, x_27); +x_30 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8; +lean_inc(x_14); +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_14); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_29); +x_32 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7; +lean_inc(x_14); +x_33 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_33, 0, x_14); +lean_ctor_set(x_33, 1, x_32); +if (x_20 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_1); +x_34 = lean_box(0); +x_35 = l___private_Init_Util_0__outOfBounds___rarg(x_34); +lean_inc(x_14); +x_36 = l_Lean_Syntax_node3(x_14, x_30, x_35, x_22, x_31); +x_37 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5; +x_38 = l_Lean_Syntax_node3(x_14, x_37, x_19, x_36, x_33); +lean_ctor_set(x_15, 0, x_38); +return x_15; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_39 = lean_array_fget(x_1, x_8); +lean_dec(x_1); +lean_inc(x_14); +x_40 = l_Lean_Syntax_node3(x_14, x_30, x_39, x_22, x_31); +x_41 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5; +x_42 = l_Lean_Syntax_node3(x_14, x_41, x_19, x_40, x_33); +lean_ctor_set(x_15, 0, x_42); +return x_15; +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_43 = lean_ctor_get(x_15, 1); +lean_inc(x_43); +lean_dec(x_15); +x_44 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__6; +lean_inc(x_14); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_14); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_nat_dec_lt(x_8, x_7); +lean_dec(x_7); +x_47 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__9; +lean_inc(x_14); +x_48 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_48, 0, x_14); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_array_get_size(x_1); +lean_inc(x_1); +x_50 = l_Array_toSubarray___rarg(x_1, x_10, x_49); +x_51 = l_Array_ofSubarray___rarg(x_50); +x_52 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__10; +x_53 = l_Lean_mkSepArray(x_51, x_52); +lean_dec(x_51); +x_54 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_55 = l_Array_append___rarg(x_54, x_53); +x_56 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8; +lean_inc(x_14); +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_14); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_55); +x_58 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7; +lean_inc(x_14); +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_14); +lean_ctor_set(x_59, 1, x_58); +if (x_46 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_1); +x_60 = lean_box(0); +x_61 = l___private_Init_Util_0__outOfBounds___rarg(x_60); +lean_inc(x_14); +x_62 = l_Lean_Syntax_node3(x_14, x_56, x_61, x_48, x_57); +x_63 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5; +x_64 = l_Lean_Syntax_node3(x_14, x_63, x_45, x_62, x_59); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_43); +return x_65; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_66 = lean_array_fget(x_1, x_8); +lean_dec(x_1); +lean_inc(x_14); +x_67 = l_Lean_Syntax_node3(x_14, x_56, x_66, x_48, x_57); +x_68 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5; +x_69 = l_Lean_Syntax_node3(x_14, x_68, x_45, x_67, x_59); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_43); +return x_70; +} +} +} +else +{ +lean_object* x_71; lean_object* x_72; +lean_dec(x_7); +lean_dec(x_4); +x_71 = lean_array_fget(x_1, x_8); +lean_dec(x_1); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_6); +return x_72; +} +} +else +{ +lean_object* x_73; uint8_t x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; +lean_dec(x_7); +lean_dec(x_1); +x_73 = lean_ctor_get(x_4, 5); +lean_inc(x_73); +lean_dec(x_4); +x_74 = 0; +x_75 = l_Lean_SourceInfo_fromRef(x_73, x_74); +x_76 = lean_st_ref_get(x_5, x_6); +x_77 = !lean_is_exclusive(x_76); +if (x_77 == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_78 = lean_ctor_get(x_76, 0); +lean_dec(x_78); +x_79 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__6; +lean_inc(x_75); +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_75); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8; +x_82 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +lean_inc(x_75); +x_83 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_83, 0, x_75); +lean_ctor_set(x_83, 1, x_81); +lean_ctor_set(x_83, 2, x_82); +x_84 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7; +lean_inc(x_75); +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_75); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5; +x_87 = l_Lean_Syntax_node3(x_75, x_86, x_80, x_83, x_85); +lean_ctor_set(x_76, 0, x_87); +return x_76; +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_88 = lean_ctor_get(x_76, 1); +lean_inc(x_88); +lean_dec(x_76); +x_89 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__6; +lean_inc(x_75); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_75); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8; +x_92 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +lean_inc(x_75); +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_75); +lean_ctor_set(x_93, 1, x_91); +lean_ctor_set(x_93, 2, x_92); +x_94 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7; +lean_inc(x_75); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_75); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5; +x_97 = l_Lean_Syntax_node3(x_75, x_96, x_90, x_93, x_95); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_88); +return x_98; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_mkTupleSyntax___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_mk_syntax_ident(x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__4; +x_2 = lean_mk_syntax_ident(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("app", 3); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__1; +x_2 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__2; +x_3 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__3; +x_4 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__2; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("num", 3); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__4; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("0", 1); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("1", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_lt(x_4, x_3); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_array_uget(x_5, x_4); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_uset(x_5, x_4, x_14); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_13, 0); +lean_inc(x_23); +lean_dec(x_13); +x_24 = lean_array_get_size(x_23); +x_25 = lean_nat_dec_lt(x_1, x_24); +lean_dec(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_23); +x_26 = l_instInhabitedNat; +x_27 = l___private_Init_Util_0__outOfBounds___rarg(x_26); +x_28 = lean_box(0); +x_29 = lean_array_get(x_28, x_2, x_27); +lean_dec(x_27); +x_30 = lean_ctor_get(x_8, 5); +lean_inc(x_30); +x_31 = 0; +x_32 = l_Lean_SourceInfo_fromRef(x_30, x_31); +x_33 = lean_st_ref_get(x_9, x_10); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8; +lean_inc(x_32); +x_36 = l_Lean_Syntax_node1(x_32, x_35, x_29); +x_37 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__3; +x_38 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__1; +x_39 = l_Lean_Syntax_node2(x_32, x_37, x_38, x_36); +x_16 = x_39; +x_17 = x_34; +goto block_22; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_40 = lean_array_fget(x_23, x_1); +lean_dec(x_23); +x_41 = lean_box(0); +x_42 = lean_array_get(x_41, x_2, x_40); +lean_dec(x_40); +x_43 = lean_ctor_get(x_8, 5); +lean_inc(x_43); +x_44 = 0; +x_45 = l_Lean_SourceInfo_fromRef(x_43, x_44); +x_46 = lean_st_ref_get(x_9, x_10); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8; +lean_inc(x_45); +x_49 = l_Lean_Syntax_node1(x_45, x_48, x_42); +x_50 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__3; +x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__1; +x_52 = l_Lean_Syntax_node2(x_45, x_50, x_51, x_49); +x_16 = x_52; +x_17 = x_47; +goto block_22; +} +} +else +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_ctor_get(x_13, 0); +lean_inc(x_53); +lean_dec(x_13); +x_54 = lean_nat_dec_eq(x_53, x_1); +lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_55 = lean_ctor_get(x_8, 5); +lean_inc(x_55); +x_56 = 0; +x_57 = l_Lean_SourceInfo_fromRef(x_55, x_56); +x_58 = lean_st_ref_get(x_9, x_10); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_60 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__6; +lean_inc(x_57); +x_61 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_61, 0, x_57); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__5; +x_63 = l_Lean_Syntax_node1(x_57, x_62, x_61); +x_16 = x_63; +x_17 = x_59; +goto block_22; +} +else +{ +lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_64 = lean_ctor_get(x_8, 5); +lean_inc(x_64); +x_65 = 0; +x_66 = l_Lean_SourceInfo_fromRef(x_64, x_65); +x_67 = lean_st_ref_get(x_9, x_10); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__7; +lean_inc(x_66); +x_70 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_70, 0, x_66); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__5; +x_72 = l_Lean_Syntax_node1(x_66, x_71, x_70); +x_16 = x_72; +x_17 = x_68; +goto block_22; +} +} +block_22: +{ +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = 1; +x_19 = lean_usize_add(x_4, x_18); +x_20 = lean_array_uset(x_15, x_4, x_16); +x_4 = x_19; +x_5 = x_20; +x_10 = x_17; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_4; +x_4 = l_List_reverse___rarg(x_3); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_2); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_2, 0); +x_7 = lean_ctor_get(x_2, 1); +x_8 = l_Lean_MessageData_ofSyntax(x_6); +lean_ctor_set(x_2, 1, x_3); +lean_ctor_set(x_2, 0, x_8); +{ +lean_object* _tmp_1 = x_7; +lean_object* _tmp_2 = x_2; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_2, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_2); +x_12 = l_Lean_MessageData_ofSyntax(x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +x_2 = x_11; +x_3 = x_13; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_11 = lean_box(0); +x_12 = 1; +x_13 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_1); +lean_ctor_set(x_13, 2, x_2); +lean_ctor_set(x_13, 3, x_3); +lean_ctor_set_uint8(x_13, sizeof(void*)*4, x_12); +x_14 = lean_array_push(x_4, x_13); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_10); +return x_16; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Using termination ", 18); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ident", 5); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__4; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" => ", 4); +return x_1; +} +} +static lean_object* _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +uint8_t x_18; +x_18 = lean_nat_dec_lt(x_10, x_7); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_eq(x_9, x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; size_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_77; +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_9, x_22); +lean_dec(x_9); +x_24 = lean_array_fget(x_2, x_10); +x_25 = lean_array_get_size(x_24); +x_26 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_27 = 0; +x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__1(x_26, x_27, x_24); +x_29 = lean_array_get_size(x_3); +x_30 = lean_usize_of_nat(x_29); +lean_dec(x_29); +lean_inc(x_15); +lean_inc(x_3); +x_31 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2(x_10, x_28, x_30, x_27, x_3, x_13, x_14, x_15, x_16, x_17); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +lean_inc(x_15); +x_34 = l_Lean_Elab_WF_GuessLex_mkTupleSyntax(x_32, x_13, x_14, x_15, x_16, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_array_get_size(x_1); +x_38 = lean_nat_dec_lt(x_10, x_37); +lean_dec(x_37); +x_39 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4; +x_77 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_39, x_13, x_14, x_15, x_16, x_36); +if (x_38 == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_instInhabitedName; +x_81 = l___private_Init_Util_0__outOfBounds___rarg(x_80); +x_82 = lean_unbox(x_78); +lean_dec(x_78); +x_40 = x_81; +x_41 = x_82; +x_42 = x_79; +goto block_76; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_83 = lean_ctor_get(x_77, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_77, 1); +lean_inc(x_84); +lean_dec(x_77); +x_85 = lean_array_fget(x_1, x_10); +x_86 = lean_unbox(x_83); +lean_dec(x_83); +x_40 = x_85; +x_41 = x_86; +x_42 = x_84; +goto block_76; +} +block_76: +{ +if (x_41 == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_43 = lean_box(0); +x_44 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___lambda__1(x_40, x_28, x_35, x_12, x_43, x_13, x_14, x_15, x_16, x_42); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_45, 0); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_nat_add(x_10, x_8); +lean_dec(x_10); +x_9 = x_23; +x_10 = x_48; +x_11 = lean_box(0); +x_12 = x_47; +x_17 = x_46; +goto _start; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_inc(x_40); +x_50 = l_Lean_MessageData_ofName(x_40); +x_51 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__2; +x_52 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4; +x_54 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_box(0); +lean_inc(x_28); +x_56 = lean_array_to_list(lean_box(0), x_28); +x_57 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__5; +x_58 = l_List_mapTR_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__3(x_57, x_56, x_55); +x_59 = l_Lean_MessageData_ofList(x_58); +lean_dec(x_58); +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_54); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__7; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +lean_inc(x_35); +x_63 = l_Lean_MessageData_ofSyntax(x_35); +x_64 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5; +x_66 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_39, x_66, x_13, x_14, x_15, x_16, x_42); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___lambda__1(x_40, x_28, x_35, x_12, x_68, x_13, x_14, x_15, x_16, x_69); +lean_dec(x_68); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = lean_ctor_get(x_71, 0); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_nat_add(x_10, x_8); +lean_dec(x_10); +x_9 = x_23; +x_10 = x_74; +x_11 = lean_box(0); +x_12 = x_73; +x_17 = x_72; +goto _start; +} +} +} +else +{ +lean_object* x_87; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_3); +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_12); +lean_ctor_set(x_87, 1, x_17); +return x_87; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_buildTermWF(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_array_get_size(x_2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_unsigned_to_nat(1u); +lean_inc(x_9); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_9); +lean_ctor_set(x_12, 2, x_11); +x_13 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +lean_inc(x_9); +x_14 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4(x_1, x_2, x_3, x_9, x_12, x_10, x_9, x_11, x_9, x_10, lean_box(0), x_13, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_12); +lean_dec(x_9); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_14, 0); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_14); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_18); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_List_mapTR_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__3(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +lean_object* x_18; +x_18 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_buildTermWF___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_WF_GuessLex_buildTermWF(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_4, 5); +x_8 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_7); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set_tag(x_8, 1); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +lean_inc(x_7); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_7); +lean_ctor_set(x_14, 1, x_12); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_3, x_2); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_array_uget(x_4, x_3); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_4, x_3, x_13); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +x_15 = l_Lean_Elab_WF_GuessLex_naryVarNames(x_1, x_12, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_3, x_18); +x_20 = lean_array_uset(x_14, x_3, x_16); +x_3 = x_19; +x_4 = x_20; +x_9 = x_17; +goto _start; +} +else +{ +uint8_t x_22; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__3(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_array_get_size(x_5); +lean_dec(x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_3, x_2); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_12 = lean_array_uget(x_4, x_3); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_4, x_3, x_13); +lean_inc(x_1); +x_15 = l_Lean_Elab_WF_GuessLex_RecCallCache_mk(x_1, x_12, x_9); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_3, x_18); +x_20 = lean_array_uset(x_14, x_3, x_16); +x_3 = x_19; +x_4 = x_20; +x_9 = x_17; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_WF_GuessLex_inspectCall), 7, 1); +lean_closure_set(x_8, 0, x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = lean_usize_dec_lt(x_3, x_2); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_array_uget(x_4, x_3); +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_uset(x_4, x_3, x_13); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +x_15 = l_Lean_Elab_WF_GuessLex_getForbiddenByTrivialSizeOf(x_1, x_12, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_3, x_18); +x_20 = lean_array_uset(x_14, x_3, x_16); +x_3 = x_19; +x_4 = x_20; +x_9 = x_17; +goto _start; +} +else +{ +uint8_t x_22; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) +{ +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_guessLex___spec__9(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_lt(x_4, x_3); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +else +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_array_uget(x_2, x_4); +x_14 = !lean_is_exclusive(x_5); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_5, 1); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_5, 0); +x_18 = lean_ctor_get(x_15, 0); +x_19 = lean_ctor_get(x_15, 1); +x_20 = lean_array_uget(x_2, x_4); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_21 = lean_apply_6(x_20, x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +x_25 = 0; +x_26 = lean_unbox(x_23); +x_27 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_26, x_25); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; +x_28 = lean_array_push(x_19, x_13); +x_29 = 2; +x_30 = lean_unbox(x_23); +x_31 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_30, x_29); +if (x_31 == 0) +{ +uint8_t x_32; uint8_t x_33; uint8_t x_34; +x_32 = 1; +x_33 = lean_unbox(x_23); +lean_dec(x_23); +x_34 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_33, x_32); +if (x_34 == 0) +{ +uint8_t x_35; lean_object* x_36; +lean_dec(x_17); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +lean_ctor_set(x_15, 1, x_28); +x_35 = 0; +x_36 = lean_box(x_35); +lean_ctor_set(x_5, 0, x_36); +lean_ctor_set(x_21, 0, x_5); +return x_21; +} +else +{ +size_t x_37; size_t x_38; +lean_free_object(x_21); +lean_ctor_set(x_15, 1, x_28); +x_37 = 1; +x_38 = lean_usize_add(x_4, x_37); +x_4 = x_38; +x_10 = x_24; +goto _start; +} +} +else +{ +size_t x_40; size_t x_41; +lean_free_object(x_21); +lean_dec(x_23); +lean_ctor_set(x_15, 1, x_28); +x_40 = 1; +x_41 = lean_usize_add(x_4, x_40); +x_4 = x_41; +x_10 = x_24; +goto _start; +} +} +else +{ +uint8_t x_43; lean_object* x_44; size_t x_45; size_t x_46; +lean_free_object(x_21); +lean_dec(x_23); +lean_dec(x_18); +lean_dec(x_13); +x_43 = 1; +x_44 = lean_box(x_43); +lean_ctor_set(x_15, 0, x_44); +x_45 = 1; +x_46 = lean_usize_add(x_4, x_45); +x_4 = x_46; +x_10 = x_24; +goto _start; +} +} +else +{ +lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t x_51; uint8_t x_52; +x_48 = lean_ctor_get(x_21, 0); +x_49 = lean_ctor_get(x_21, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_21); +x_50 = 0; +x_51 = lean_unbox(x_48); +x_52 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_51, x_50); +if (x_52 == 0) +{ +lean_object* x_53; uint8_t x_54; uint8_t x_55; uint8_t x_56; +x_53 = lean_array_push(x_19, x_13); +x_54 = 2; +x_55 = lean_unbox(x_48); +x_56 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_55, x_54); +if (x_56 == 0) +{ +uint8_t x_57; uint8_t x_58; uint8_t x_59; +x_57 = 1; +x_58 = lean_unbox(x_48); +lean_dec(x_48); +x_59 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_58, x_57); +if (x_59 == 0) +{ +uint8_t x_60; lean_object* x_61; lean_object* x_62; +lean_dec(x_17); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +lean_ctor_set(x_15, 1, x_53); +x_60 = 0; +x_61 = lean_box(x_60); +lean_ctor_set(x_5, 0, x_61); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_5); +lean_ctor_set(x_62, 1, x_49); +return x_62; +} +else +{ +size_t x_63; size_t x_64; +lean_ctor_set(x_15, 1, x_53); +x_63 = 1; +x_64 = lean_usize_add(x_4, x_63); +x_4 = x_64; +x_10 = x_49; +goto _start; +} +} +else +{ +size_t x_66; size_t x_67; +lean_dec(x_48); +lean_ctor_set(x_15, 1, x_53); +x_66 = 1; +x_67 = lean_usize_add(x_4, x_66); +x_4 = x_67; +x_10 = x_49; +goto _start; +} +} +else +{ +uint8_t x_69; lean_object* x_70; size_t x_71; size_t x_72; +lean_dec(x_48); +lean_dec(x_18); +lean_dec(x_13); +x_69 = 1; +x_70 = lean_box(x_69); +lean_ctor_set(x_15, 0, x_70); +x_71 = 1; +x_72 = lean_usize_add(x_4, x_71); +x_4 = x_72; +x_10 = x_49; +goto _start; +} +} +} +else +{ +uint8_t x_74; +lean_free_object(x_15); +lean_dec(x_19); +lean_dec(x_18); +lean_free_object(x_5); +lean_dec(x_17); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_74 = !lean_is_exclusive(x_21); +if (x_74 == 0) +{ +return x_21; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_21, 0); +x_76 = lean_ctor_get(x_21, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_21); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_78 = lean_ctor_get(x_5, 0); +x_79 = lean_ctor_get(x_15, 0); +x_80 = lean_ctor_get(x_15, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_15); +x_81 = lean_array_uget(x_2, x_4); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_82 = lean_apply_6(x_81, x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; uint8_t x_87; uint8_t x_88; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_85 = x_82; +} else { + lean_dec_ref(x_82); + x_85 = lean_box(0); +} +x_86 = 0; +x_87 = lean_unbox(x_83); +x_88 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_87, x_86); +if (x_88 == 0) +{ +lean_object* x_89; uint8_t x_90; uint8_t x_91; uint8_t x_92; +x_89 = lean_array_push(x_80, x_13); +x_90 = 2; +x_91 = lean_unbox(x_83); +x_92 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_91, x_90); +if (x_92 == 0) +{ +uint8_t x_93; uint8_t x_94; uint8_t x_95; +x_93 = 1; +x_94 = lean_unbox(x_83); +lean_dec(x_83); +x_95 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_94, x_93); +if (x_95 == 0) +{ +lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_78); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_79); +lean_ctor_set(x_96, 1, x_89); +x_97 = 0; +x_98 = lean_box(x_97); +lean_ctor_set(x_5, 1, x_96); +lean_ctor_set(x_5, 0, x_98); +if (lean_is_scalar(x_85)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_85; +} +lean_ctor_set(x_99, 0, x_5); +lean_ctor_set(x_99, 1, x_84); +return x_99; +} +else +{ +lean_object* x_100; size_t x_101; size_t x_102; +lean_dec(x_85); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_79); +lean_ctor_set(x_100, 1, x_89); +lean_ctor_set(x_5, 1, x_100); +x_101 = 1; +x_102 = lean_usize_add(x_4, x_101); +x_4 = x_102; +x_10 = x_84; +goto _start; +} +} +else +{ +lean_object* x_104; size_t x_105; size_t x_106; +lean_dec(x_85); +lean_dec(x_83); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_79); +lean_ctor_set(x_104, 1, x_89); +lean_ctor_set(x_5, 1, x_104); +x_105 = 1; +x_106 = lean_usize_add(x_4, x_105); +x_4 = x_106; +x_10 = x_84; +goto _start; +} +} +else +{ +uint8_t x_108; lean_object* x_109; lean_object* x_110; size_t x_111; size_t x_112; +lean_dec(x_85); +lean_dec(x_83); +lean_dec(x_79); +lean_dec(x_13); +x_108 = 1; +x_109 = lean_box(x_108); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_80); +lean_ctor_set(x_5, 1, x_110); +x_111 = 1; +x_112 = lean_usize_add(x_4, x_111); +x_4 = x_112; +x_10 = x_84; +goto _start; +} +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_80); +lean_dec(x_79); +lean_free_object(x_5); +lean_dec(x_78); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_114 = lean_ctor_get(x_82, 0); +lean_inc(x_114); +x_115 = lean_ctor_get(x_82, 1); +lean_inc(x_115); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_116 = x_82; +} else { + lean_dec_ref(x_82); + x_116 = lean_box(0); +} +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(1, 2, 0); +} else { + x_117 = x_116; +} +lean_ctor_set(x_117, 0, x_114); +lean_ctor_set(x_117, 1, x_115); +return x_117; +} +} +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_118 = lean_ctor_get(x_5, 1); +x_119 = lean_ctor_get(x_5, 0); +lean_inc(x_118); +lean_inc(x_119); +lean_dec(x_5); +x_120 = lean_ctor_get(x_118, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_118, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_122 = x_118; +} else { + lean_dec_ref(x_118); + x_122 = lean_box(0); +} +x_123 = lean_array_uget(x_2, x_4); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_124 = lean_apply_6(x_123, x_1, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; uint8_t x_129; uint8_t x_130; +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_ctor_get(x_124, 1); +lean_inc(x_126); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_127 = x_124; +} else { + lean_dec_ref(x_124); + x_127 = lean_box(0); +} +x_128 = 0; +x_129 = lean_unbox(x_125); +x_130 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_129, x_128); +if (x_130 == 0) +{ +lean_object* x_131; uint8_t x_132; uint8_t x_133; uint8_t x_134; +x_131 = lean_array_push(x_121, x_13); +x_132 = 2; +x_133 = lean_unbox(x_125); +x_134 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_133, x_132); +if (x_134 == 0) +{ +uint8_t x_135; uint8_t x_136; uint8_t x_137; +x_135 = 1; +x_136 = lean_unbox(x_125); +lean_dec(x_125); +x_137 = l_Lean_Elab_WF_GuessLex_instDecidableEqGuessLexRel(x_136, x_135); +if (x_137 == 0) +{ +lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec(x_119); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +if (lean_is_scalar(x_122)) { + x_138 = lean_alloc_ctor(0, 2, 0); +} else { + x_138 = x_122; +} +lean_ctor_set(x_138, 0, x_120); +lean_ctor_set(x_138, 1, x_131); +x_139 = 0; +x_140 = lean_box(x_139); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_138); +if (lean_is_scalar(x_127)) { + x_142 = lean_alloc_ctor(0, 2, 0); +} else { + x_142 = x_127; +} +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_126); +return x_142; +} +else +{ +lean_object* x_143; lean_object* x_144; size_t x_145; size_t x_146; +lean_dec(x_127); +if (lean_is_scalar(x_122)) { + x_143 = lean_alloc_ctor(0, 2, 0); +} else { + x_143 = x_122; +} +lean_ctor_set(x_143, 0, x_120); +lean_ctor_set(x_143, 1, x_131); +x_144 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_144, 0, x_119); +lean_ctor_set(x_144, 1, x_143); +x_145 = 1; +x_146 = lean_usize_add(x_4, x_145); +x_4 = x_146; +x_5 = x_144; +x_10 = x_126; +goto _start; +} +} +else +{ +lean_object* x_148; lean_object* x_149; size_t x_150; size_t x_151; +lean_dec(x_127); +lean_dec(x_125); +if (lean_is_scalar(x_122)) { + x_148 = lean_alloc_ctor(0, 2, 0); +} else { + x_148 = x_122; +} +lean_ctor_set(x_148, 0, x_120); +lean_ctor_set(x_148, 1, x_131); +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_119); +lean_ctor_set(x_149, 1, x_148); +x_150 = 1; +x_151 = lean_usize_add(x_4, x_150); +x_4 = x_151; +x_5 = x_149; +x_10 = x_126; +goto _start; +} +} +else +{ +uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; size_t x_157; size_t x_158; +lean_dec(x_127); +lean_dec(x_125); +lean_dec(x_120); +lean_dec(x_13); +x_153 = 1; +x_154 = lean_box(x_153); +if (lean_is_scalar(x_122)) { + x_155 = lean_alloc_ctor(0, 2, 0); +} else { + x_155 = x_122; +} +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_121); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_119); +lean_ctor_set(x_156, 1, x_155); +x_157 = 1; +x_158 = lean_usize_add(x_4, x_157); +x_4 = x_158; +x_5 = x_156; +x_10 = x_126; +goto _start; +} +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_122); +lean_dec(x_121); +lean_dec(x_120); +lean_dec(x_119); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_160 = lean_ctor_get(x_124, 0); +lean_inc(x_160); +x_161 = lean_ctor_get(x_124, 1); +lean_inc(x_161); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_162 = x_124; +} else { + lean_dec_ref(x_124); + x_162 = lean_box(0); +} +if (lean_is_scalar(x_162)) { + x_163 = lean_alloc_ctor(1, 2, 0); +} else { + x_163 = x_162; +} +lean_ctor_set(x_163, 0, x_160); +lean_ctor_set(x_163, 1, x_161); +return x_163; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Array_eraseIdx___rarg(x_1, x_2); +x_13 = lean_array_push(x_3, x_4); +x_14 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8(x_12, x_5, x_13, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_14, 0, x_20); +return x_14; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_14, 0); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_14); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_21); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_22); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_14); +if (x_28 == 0) +{ +return x_14; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_14, 0); +x_30 = lean_ctor_get(x_14, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_14); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +uint8_t x_19; +x_19 = lean_nat_dec_lt(x_11, x_8); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_13); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_nat_dec_eq(x_10, x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_13); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_sub(x_10, x_23); +lean_dec(x_10); +x_25 = lean_array_fget(x_1, x_11); +x_26 = lean_array_get_size(x_2); +x_27 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_28 = 0; +x_29 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__2; +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_25); +x_30 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_guessLex___spec__9(x_25, x_2, x_27, x_28, x_29, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_unbox(x_33); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_25); +x_35 = lean_ctor_get(x_30, 1); +lean_inc(x_35); +lean_dec(x_30); +x_36 = lean_nat_add(x_11, x_9); +lean_dec(x_11); +lean_inc(x_6); +{ +lean_object* _tmp_9 = x_24; +lean_object* _tmp_10 = x_36; +lean_object* _tmp_11 = lean_box(0); +lean_object* _tmp_12 = x_6; +lean_object* _tmp_17 = x_35; +x_10 = _tmp_9; +x_11 = _tmp_10; +x_12 = _tmp_11; +x_13 = _tmp_12; +x_18 = _tmp_17; +} +goto _start; +} +else +{ +lean_object* x_38; uint8_t x_39; +x_38 = lean_ctor_get(x_31, 0); +lean_inc(x_38); +lean_dec(x_31); +x_39 = lean_unbox(x_38); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_32); +lean_dec(x_25); +x_40 = lean_ctor_get(x_30, 1); +lean_inc(x_40); +lean_dec(x_30); +x_41 = lean_nat_add(x_11, x_9); +lean_dec(x_11); +lean_inc(x_6); +{ +lean_object* _tmp_9 = x_24; +lean_object* _tmp_10 = x_41; +lean_object* _tmp_11 = lean_box(0); +lean_object* _tmp_12 = x_6; +lean_object* _tmp_17 = x_40; +x_10 = _tmp_9; +x_11 = _tmp_10; +x_12 = _tmp_11; +x_13 = _tmp_12; +x_18 = _tmp_17; +} +goto _start; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_30, 1); +lean_inc(x_43); +lean_dec(x_30); +x_44 = lean_ctor_get(x_32, 1); +lean_inc(x_44); +lean_dec(x_32); +x_45 = lean_box(0); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_3); +lean_inc(x_1); +x_46 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1(x_1, x_11, x_3, x_25, x_44, x_45, x_14, x_15, x_16, x_17, x_43); +lean_dec(x_44); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) +{ +uint8_t x_48; +lean_dec(x_24); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_48 = !lean_is_exclusive(x_46); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_46, 0); +lean_dec(x_49); +x_50 = lean_ctor_get(x_47, 0); +lean_inc(x_50); +lean_dec(x_47); +lean_ctor_set(x_46, 0, x_50); +return x_46; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_46, 1); +lean_inc(x_51); +lean_dec(x_46); +x_52 = lean_ctor_get(x_47, 0); +lean_inc(x_52); +lean_dec(x_47); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +return x_53; +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_46, 1); +lean_inc(x_54); +lean_dec(x_46); +x_55 = lean_ctor_get(x_47, 0); +lean_inc(x_55); +lean_dec(x_47); +x_56 = lean_nat_add(x_11, x_9); +lean_dec(x_11); +x_10 = x_24; +x_11 = x_56; +x_12 = lean_box(0); +x_13 = x_55; +x_18 = x_54; +goto _start; +} +} +else +{ +uint8_t x_58; +lean_dec(x_24); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_46); +if (x_58 == 0) +{ +return x_46; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_46, 0); +x_60 = lean_ctor_get(x_46, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_46); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +} +} +else +{ +uint8_t x_62; +lean_dec(x_25); +lean_dec(x_24); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_62 = !lean_is_exclusive(x_30); +if (x_62 == 0) +{ +return x_30; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_30, 0); +x_64 = lean_ctor_get(x_30, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_30); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +else +{ +lean_object* x_66; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_1); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_13); +lean_ctor_set(x_66, 1, x_18); +return x_66; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_array_get_size(x_1); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_unsigned_to_nat(1u); +lean_inc(x_10); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_10); +lean_ctor_set(x_13, 2, x_12); +x_14 = lean_box(0); +x_15 = l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4; +lean_inc(x_10); +x_16 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10(x_1, x_2, x_3, x_10, x_13, x_15, x_11, x_10, x_12, x_10, x_11, lean_box(0), x_15, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_13); +lean_dec(x_10); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_16, 0); +lean_dec(x_20); +lean_ctor_set(x_16, 0, x_14); +return x_16; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_16, 1); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_14); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_16, 0); +lean_dec(x_24); +x_25 = lean_ctor_get(x_18, 0); +lean_inc(x_25); +lean_dec(x_18); +lean_ctor_set(x_16, 0, x_25); +return x_16; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_dec(x_16); +x_27 = lean_ctor_get(x_18, 0); +lean_inc(x_27); +lean_dec(x_18); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_16); +if (x_29 == 0) +{ +return x_16; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_16); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = l_Array_isEmpty___rarg(x_2); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_box(0); +x_11 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__2(x_1, x_2, x_3, x_10, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_3); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_8); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1; +x_9 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8(x_1, x_2, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_ctor_get(x_5, 3); +lean_inc(x_8); +lean_dec(x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_WF_guessLex___spec__12(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_to_list(lean_box(0), x_5); +x_8 = lean_box(0); +x_9 = l_List_mapTR_loop___at_Lean_Meta_substCore___spec__6(x_7, x_8); +x_10 = l_Lean_MessageData_ofList(x_9); +lean_dec(x_9); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_10); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; +} +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_ctor_get(x_1, 0); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_1); +x_14 = lean_array_to_list(lean_box(0), x_12); +x_15 = lean_box(0); +x_16 = l_List_mapTR_loop___at_Lean_Meta_substCore___spec__6(x_14, x_15); +x_17 = l_Lean_MessageData_ofList(x_16); +lean_dec(x_16); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_2); +x_1 = x_13; +x_2 = x_18; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Elab_WF_guessLex___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Cannot find a decreasing lexicographic order", 44); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_guessLex___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_guessLex___lambda__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_2); +x_15 = l_Lean_Elab_WF_GuessLex_collectRecCalls(x_1, x_2, x_3, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; lean_object* x_26; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_array_get_size(x_16); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(x_4, x_19, x_5, x_16, x_10, x_11, x_12, x_13, x_17); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_array_get_size(x_21); +x_24 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(x_24, x_5, x_21); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_7); +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(x_2, x_6, x_5, x_7, x_10, x_11, x_12, x_13, x_22); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Elab_WF_GuessLex_generateMeasures(x_27, x_3, x_10, x_11, x_12, x_13, x_28); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_32 = l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7(x_30, x_25, x_10, x_11, x_12, x_13, x_31); +lean_dec(x_25); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_dec(x_7); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_Lean_Elab_WF_guessLex___lambda__1___closed__2; +x_36 = l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__1(x_35, x_10, x_11, x_12, x_13, x_34); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +return x_36; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_36, 0); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_36); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_41 = lean_ctor_get(x_32, 1); +lean_inc(x_41); +lean_dec(x_32); +x_42 = lean_ctor_get(x_33, 0); +lean_inc(x_42); +lean_dec(x_33); +x_43 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(x_6, x_5, x_7); +x_44 = l_Lean_Elab_WF_GuessLex_buildTermWF(x_43, x_8, x_42, x_10, x_11, x_12, x_13, x_41); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_43); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_44, 0); +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_44, 0, x_48); +return x_44; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_44, 0); +x_50 = lean_ctor_get(x_44, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_44); +x_51 = lean_box(0); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_50); +return x_53; +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +x_54 = !lean_is_exclusive(x_32); +if (x_54 == 0) +{ +return x_32; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_32, 0); +x_56 = lean_ctor_get(x_32, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_32); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +else +{ +uint8_t x_58; +lean_dec(x_25); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_3); +x_58 = !lean_is_exclusive(x_26); +if (x_58 == 0) +{ +return x_26; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_26, 0); +x_60 = lean_ctor_get(x_26, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_26); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +uint8_t x_62; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_62 = !lean_is_exclusive(x_15); +if (x_62 == 0) +{ +return x_15; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_15, 0); +x_64 = lean_ctor_get(x_15, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_15); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; +} +} +} +} +static lean_object* _init_l_Lean_Elab_WF_guessLex___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failed to prove termination, use `termination_by` to specify a well-founded relation", 84); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_guessLex___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_guessLex___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_WF_guessLex___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("varNames is: ", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_guessLex___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_guessLex___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; +x_28 = lean_array_get_size(x_1); +x_29 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_30 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_1); +lean_inc(x_3); +x_31 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__2(x_3, x_29, x_30, x_1, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_array_get_size(x_32); +x_35 = lean_usize_of_nat(x_34); +lean_dec(x_34); +lean_inc(x_32); +x_36 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__3(x_35, x_30, x_32); +x_37 = l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4; +x_38 = l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(x_37, x_5, x_6, x_7, x_8, x_33); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_unbox(x_39); +lean_dec(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_38, 1); +lean_inc(x_41); +lean_dec(x_38); +x_42 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_43 = l_Lean_Elab_WF_guessLex___lambda__1(x_2, x_3, x_36, x_4, x_30, x_29, x_1, x_32, x_42, x_5, x_6, x_7, x_8, x_41); +lean_dec(x_32); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_43, 0); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +lean_dec(x_45); +lean_ctor_set(x_43, 0, x_46); +return x_43; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_43, 0); +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_43); +x_49 = lean_ctor_get(x_47, 0); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_43, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_43, 1); +lean_inc(x_52); +lean_dec(x_43); +x_10 = x_51; +x_11 = x_52; +goto block_27; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_53 = lean_ctor_get(x_38, 1); +lean_inc(x_53); +lean_dec(x_38); +lean_inc(x_32); +x_54 = lean_array_to_list(lean_box(0), x_32); +x_55 = lean_box(0); +x_56 = l_List_mapTR_loop___at_Lean_Elab_WF_guessLex___spec__12(x_54, x_55); +x_57 = l_Lean_MessageData_ofList(x_56); +lean_dec(x_56); +x_58 = l_Lean_Elab_WF_guessLex___closed__4; +x_59 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5; +x_61 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(x_37, x_61, x_5, x_6, x_7, x_8, x_53); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_65 = l_Lean_Elab_WF_guessLex___lambda__1(x_2, x_3, x_36, x_4, x_30, x_29, x_1, x_32, x_63, x_5, x_6, x_7, x_8, x_64); +lean_dec(x_63); +lean_dec(x_32); +if (lean_obj_tag(x_65) == 0) +{ +uint8_t x_66; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_66 = !lean_is_exclusive(x_65); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_65, 0); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +lean_dec(x_67); +lean_ctor_set(x_65, 0, x_68); +return x_65; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_69 = lean_ctor_get(x_65, 0); +x_70 = lean_ctor_get(x_65, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_65); +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_70); +return x_72; +} +} +else +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_65, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_65, 1); +lean_inc(x_74); +lean_dec(x_65); +x_10 = x_73; +x_11 = x_74; +goto block_27; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_75 = lean_ctor_get(x_31, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_31, 1); +lean_inc(x_76); +lean_dec(x_31); +x_10 = x_75; +x_11 = x_76; +goto block_27; +} +block_27: +{ +uint8_t x_12; +x_12 = l_Lean_Exception_isRuntime(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_dec(x_10); +x_13 = l_Lean_Elab_WF_guessLex___closed__2; +x_14 = l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__1(x_13, x_5, x_6, x_7, x_8, x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = lean_ctor_get_uint8(x_7, sizeof(void*)*11); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_11); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_dec(x_10); +x_21 = l_Lean_Elab_WF_guessLex___closed__2; +x_22 = l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__1(x_21, x_5, x_6, x_7, x_8, x_11); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Elab_WF_guessLex___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__2(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__3(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__4(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__5(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; size_t x_11; lean_object* x_12; +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__6(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_guessLex___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_12 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_guessLex___spec__9(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_guessLex___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_WF_GuessLex_solve_go___at_Lean_Elab_WF_guessLex___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_WF_GuessLex_solve___at_Lean_Elab_WF_guessLex___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_guessLex___spec__11(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_guessLex___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = l_Lean_Elab_WF_guessLex___lambda__1(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_9); +lean_dec(x_8); +return x_17; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Util_HasConstCache(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_CasesOn(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Match_Match(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Tactic_Cleanup(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Tactic_Refl(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_Quotation(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_RecAppSyntax(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_Structural_Basic(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_WF_TerminationHint(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_WF_GuessLex(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Util_HasConstCache(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_CasesOn(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Match_Match(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Tactic_Cleanup(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Tactic_Refl(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_Quotation(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_RecAppSyntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_Structural_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_WF_TerminationHint(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_naryVarNames___spec__1___closed__2); +l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1 = _init_l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_naryVarNames___lambda__1___closed__1); +l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1 = _init_l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_withRecApps_processRec___rarg___closed__1); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__1); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__2); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__3 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__3(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__3); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__4 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__4(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__4); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__5___rarg___lambda__2___closed__5); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__1 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__1(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__1); +l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__2 = _init_l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__2(); +lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_Elab_WF_GuessLex_withRecApps_loop___spec__8___rarg___lambda__1___closed__2); +l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_withRecApps___rarg___lambda__1___closed__1); +l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__1 = _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__1); +l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__2 = _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__2); +l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3 = _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__3); +l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4 = _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__4); +l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__5 = _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__5); +l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__6 = _init_l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_withRecApps___rarg___closed__6); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__1); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__2); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__3 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__3(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__3); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__4 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__4(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__4); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__5 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__5(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__5); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__6 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__6(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__6); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__7 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__7(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__1___rarg___closed__7); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__1 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__1(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__1); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__2 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__2(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__2); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__3 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__3(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__3); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__4 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__4(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__4); +l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__5 = _init_l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__5(); +lean_mark_persistent(l_Lean_Loop_forIn_loop___at_Lean_Elab_WF_GuessLex_unpackArg___spec__2___rarg___closed__5); +l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__1 = _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__1); +l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2 = _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__2___closed__2); +l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__1 = _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__1); +l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__2 = _init_l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_collectRecCalls___lambda__4___closed__2); +l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_noConfusion___rarg___closed__1); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__1 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__1(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__1); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__2(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__2); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__3 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__3(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__3); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__4 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__4(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__4); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__5 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__5(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__5); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__6 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__6(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__6); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__7 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__7(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__7); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__8 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__8(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__8); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__9 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__9(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__9); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__10 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__10(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__10); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__11 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__11(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__11); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__12 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__12(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__12); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__13 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__13(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__13); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__14 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__14(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__14); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__15 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__15(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__15); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__16 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__16(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__16); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__17 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__17(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__17); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__18 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__18(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__18); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__19 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__19(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__19); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__20 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__20(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__20); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__21 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__21(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__21); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__22 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__22(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__22); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__23 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__23(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__23); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__24 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__24(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__24); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__25 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__25(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__25); +l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__26 = _init_l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__26(); +lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_GuessLex_0__Lean_Elab_WF_GuessLex_reprGuessLexRel____x40_Lean_Elab_PreDefinition_WF_GuessLex___hyg_3823____closed__26); +l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1 = _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instReprGuessLexRel___closed__1); +l_Lean_Elab_WF_GuessLex_instReprGuessLexRel = _init_l_Lean_Elab_WF_GuessLex_instReprGuessLexRel(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instReprGuessLexRel); +l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1 = _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__1); +l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2 = _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__2); +l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3 = _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__3); +l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4 = _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__4); +l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__5 = _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__5); +l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6 = _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__6); +l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__7 = _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__7); +l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8 = _init_l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_instToFormatGuessLexRel___closed__8); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__1 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__1); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__2 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__2); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__3 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__3); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__4 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__4); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__5 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__5); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__6 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__6); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__7 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__7); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__8 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__8(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__8); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__9 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__9(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__9); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__10 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__10(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__10); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__11 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__11(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__11); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__12 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__12(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__12); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__13 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__13(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__13); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__14 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__14(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__14); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__15 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__15(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__15); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__16 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__16(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__16); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__17 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__17(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__17); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__18 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__18(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__18); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__19 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__19(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__19); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__20 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__20(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__20); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__21 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__21(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__21); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__22 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__22(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__22); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__23 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__23(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__23); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__24 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__24(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__24); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__25 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__25(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__25); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__26 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__26(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__26); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__27 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__27(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__27); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__28 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__28(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__28); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__29 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__29(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__29); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__30 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__30(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__30); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__31 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__31(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__31); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__32 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__32(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__32); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__33 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__33(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__33); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__34 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__34(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__34); +l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__35 = _init_l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__35(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_GuessLexRel_toNatRel___closed__35); +l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__1 = _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__1); +l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__2 = _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__2); +l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__3 = _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__3); +l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__4 = _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__4); +l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__5 = _init_l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkSizeOf___closed__5); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__1); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__2___closed__2); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__3___closed__1); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__1); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__2); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__5___closed__3); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__1); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__2); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__3); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__4); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__5); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__6); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__7); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__8); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__9); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__10); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__11); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__12 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__12(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___lambda__8___closed__12); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__1); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__2); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__3 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__3(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__3); +l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4 = _init_l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_Elab_WF_GuessLex_evalRecCall___spec__3___closed__4); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__1 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__1); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__2 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__2); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__3 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__3); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__4); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__2___closed__5); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__1 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__1); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__2 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__2); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__3 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__3); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__4 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__4); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__5 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__5); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__6 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__6); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__7); +l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__8 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__8(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___lambda__3___closed__8); +l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___closed__1); +l_Lean_Elab_WF_GuessLex_evalRecCall___closed__2 = _init_l_Lean_Elab_WF_GuessLex_evalRecCall___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_evalRecCall___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__3); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__4 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__4); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__5 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__5(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__5); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__6 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__6(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__6); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__7 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__7(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_RecCallCache_pretty___spec__1___closed__7); +l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1 = _init_l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_generateCombinations_x3f_goUniform___closed__1); +l_Lean_Elab_WF_GuessLex_generateMeasures___closed__1 = _init_l_Lean_Elab_WF_GuessLex_generateMeasures___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_generateMeasures___closed__1); +l_Lean_Elab_WF_GuessLex_generateMeasures___closed__2 = _init_l_Lean_Elab_WF_GuessLex_generateMeasures___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_generateMeasures___closed__2); +l_Lean_Elab_WF_GuessLex_generateMeasures___closed__3 = _init_l_Lean_Elab_WF_GuessLex_generateMeasures___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_generateMeasures___closed__3); +l_Lean_Elab_WF_GuessLex_generateMeasures___closed__4 = _init_l_Lean_Elab_WF_GuessLex_generateMeasures___closed__4(); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_solve_go___spec__2___rarg___closed__2); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__1 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__1); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__2 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__2); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__3 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__3); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__4 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__4); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__5); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__6 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__6(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__6); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__7 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__7(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__7); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__8); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__9 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__9(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__9); +l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__10 = _init_l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__10(); +lean_mark_persistent(l_Lean_Elab_WF_GuessLex_mkTupleSyntax___closed__10); +l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__6); +l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__2___closed__7); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__1 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__1(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__1); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__2 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__2(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__2); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__3 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__3(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__3); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__4 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__4(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__4); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__5 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__5(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__5); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__6 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__6(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__6); +l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__7 = _init_l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__7(); +lean_mark_persistent(l_Std_Range_forIn_x27_loop___at_Lean_Elab_WF_GuessLex_buildTermWF___spec__4___closed__7); +l_Lean_Elab_WF_guessLex___lambda__1___closed__1 = _init_l_Lean_Elab_WF_guessLex___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_guessLex___lambda__1___closed__1); +l_Lean_Elab_WF_guessLex___lambda__1___closed__2 = _init_l_Lean_Elab_WF_guessLex___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_guessLex___lambda__1___closed__2); +l_Lean_Elab_WF_guessLex___closed__1 = _init_l_Lean_Elab_WF_guessLex___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_guessLex___closed__1); +l_Lean_Elab_WF_guessLex___closed__2 = _init_l_Lean_Elab_WF_guessLex___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_guessLex___closed__2); +l_Lean_Elab_WF_guessLex___closed__3 = _init_l_Lean_Elab_WF_guessLex___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_guessLex___closed__3); +l_Lean_Elab_WF_guessLex___closed__4 = _init_l_Lean_Elab_WF_guessLex___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_guessLex___closed__4); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Ite.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Ite.c index 8a88492ed614..6078c3129431 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Ite.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Ite.c @@ -31,7 +31,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_iteToDIte___lambda__1___boxed(lean_object*, static lean_object* l_Lean_Meta_iteToDIte___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_iteToDIte(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_iteToDIte___lambda__1___closed__1; extern lean_object* l_Lean_levelZero; extern lean_object* l_Lean_instInhabitedExpr; @@ -404,7 +404,7 @@ lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; x_7 = l_Lean_Meta_iteToDIte___closed__1; x_8 = l_Lean_Meta_iteToDIte___closed__2; x_9 = 0; -x_10 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_7, x_8, x_9, x_2, x_3, x_4, x_5, x_6); +x_10 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_7, x_8, x_9, x_9, x_2, x_3, x_4, x_5, x_6); return x_10; } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c index 154f63f06ca4..ee38b8a19895 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Main.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.PreDefinition.WF.Main -// Imports: Init Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.WF.TerminationHint Lean.Elab.PreDefinition.WF.PackDomain Lean.Elab.PreDefinition.WF.PackMutual Lean.Elab.PreDefinition.WF.Rel Lean.Elab.PreDefinition.WF.Fix Lean.Elab.PreDefinition.WF.Eqns Lean.Elab.PreDefinition.WF.Ite +// Imports: Init Lean.Elab.PreDefinition.Basic Lean.Elab.PreDefinition.WF.TerminationHint Lean.Elab.PreDefinition.WF.PackDomain Lean.Elab.PreDefinition.WF.PackMutual Lean.Elab.PreDefinition.WF.Preprocess Lean.Elab.PreDefinition.WF.Rel Lean.Elab.PreDefinition.WF.Fix Lean.Elab.PreDefinition.WF.Eqns Lean.Elab.PreDefinition.WF.Ite Lean.Elab.PreDefinition.WF.GuessLex #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -15,36 +15,30 @@ extern "C" { #endif lean_object* l_Lean_Expr_bindingName_x21(lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__5; +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__8; lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedPreDefinition; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__10; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__6; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__8; -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__13; lean_object* l_Lean_Elab_WF_mkUnaryArg_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_getFixedPrefix___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__2(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_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__11; -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__12; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__3___closed__7; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__5; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__14; -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__10; +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2; lean_object* l_Lean_Expr_sort___override(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___closed__1; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__16; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); @@ -52,49 +46,55 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinitio LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__2; uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__8; lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__15; static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__1; lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__16; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__3___closed__8; lean_object* l_Lean_Elab_addAndCompilePartialRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__4; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withCommonTelescope_go___spec__1(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__4; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__5; -static lean_object* l_Lean_Elab_wfRecursion___closed__5; uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__10; -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2; -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__14; +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__18; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_withCommonTelescope_go___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__9; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__1___closed__1; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instBEqExpr; -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__17; +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__1; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_withCommonTelescope_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_wfRecursion___lambda__2___closed__2; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__9; lean_object* l_Lean_Meta_unfoldDeclsFrom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4___closed__1; +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__11; +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__7; lean_object* l_Lean_Meta_iteToDIte___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__2; lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__3___closed__3; -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__1; -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__8; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__6; lean_object* l_instHashableArray___rarg___boxed(lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__17; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instApplicativeReaderT___rarg(lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_applyAttributesOf(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__2; lean_object* l_instMonadControlT___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_wfRecursion___lambda__6___closed__2; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__3___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -102,48 +102,50 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Meta_whnfCore_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Command_mkInstanceName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_wfRecursion___lambda__6___closed__1; lean_object* l_Lean_Meta_iteToDIte___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_withCommonTelescope___rarg___closed__1; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__2___closed__1; lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_WF_mkFix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__9; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_addNonRec___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_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__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_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__17; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___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*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__3___closed__5; -LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___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_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__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_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__9; +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_withCommonTelescope_go___rarg(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_wfRecursion___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__5(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_wfRecursion___lambda__5(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__7; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___closed__1; extern lean_object* l_Lean_Expr_instHashableExpr; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___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_wfRecursion___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__2; extern lean_object* l_Lean_levelZero; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__1; lean_object* l_Lean_Elab_abstractNestedProofs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__13; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__3___closed__2; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_WF_registerEqnsInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -152,67 +154,68 @@ lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_ uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withCommonTelescope(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_getFixedPrefix___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_WF_preprocess___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__3; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__3___closed__4; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__17; LEAN_EXPORT lean_object* l_Lean_Elab_getFixedPrefix(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__4; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__6; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__3___closed__6; -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__19; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_wfRecursion___closed__4; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__1; lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___spec__1(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___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_withCommonTelescope_go___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum(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_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_withCommonTelescope_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_binderInfo(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_wfRecursion___lambda__6___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_getFixedPrefix___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__5; +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withCommonTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_wfRecursion___lambda__1___closed__1; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_addAndCompileUnsafe___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_WF_preprocess___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___boxed(lean_object**); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__3; lean_object* l_List_mapTR_loop___at_Lean_Elab_addAndCompileUnsafe___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___closed__2; +lean_object* l_Lean_Elab_WF_guessLex(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constLevels_x21(lean_object*); lean_object* l_instMonadControlT__1___rarg(lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__15; lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__12; lean_object* l_Lean_Elab_WF_elabWFRel___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__9; +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_getFixedPrefix___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__18; lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_wfRecursion___lambda__6___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__2; lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_wfRecursion___closed__3; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__13; +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163_(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_withFixedPrefix___spec__1(size_t, size_t, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__7; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_473_(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__4; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__11; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_wfRecursion___closed__2; lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__16; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addAsAxiom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__6; @@ -221,63 +224,70 @@ lean_object* l_instMonadControlReaderT___lambda__2(lean_object*, lean_object*, l LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_getFixedPrefix___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__1; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__11; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__1___closed__3; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__7; lean_object* l_Lean_Elab_WF_packMutual(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_wfRecursion___closed__6; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__5; extern lean_object* l_Lean_Core_instMonadCoreM; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_withCommonTelescope_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__12; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_withCommonTelescope_go___spec__3(lean_object*, size_t, size_t); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_wfRecursion___lambda__1___closed__2; +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_enableInfoTree___at_Lean_Elab_addAndCompilePartialRec___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__6; size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__8; lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__15; static lean_object* l_Lean_Elab_wfRecursion___closed__1; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__14; lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__7; -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__18; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__14; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017_(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__11; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__15; +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__16; lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withCommonTelescope_go(lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__4; static lean_object* l_Lean_Elab_getFixedPrefix___lambda__2___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__19; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__4; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___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* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__12; lean_object* l_Lean_Elab_WF_packDomain(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__8; lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_CasesOnApp_addArg___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instMonadControlReaderT___lambda__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__18; static lean_object* _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__1() { _start: { @@ -326,7 +336,7 @@ static lean_object* _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDef lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__4; x_2 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__5; -x_3 = lean_unsigned_to_nat(33u); +x_3 = lean_unsigned_to_nat(35u); x_4 = lean_unsigned_to_nat(12u); x_5 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -985,7 +995,7 @@ static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDef lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__4; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__1___closed__1; -x_3 = lean_unsigned_to_nat(39u); +x_3 = lean_unsigned_to_nat(41u); x_4 = lean_unsigned_to_nat(102u); x_5 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___lambda__1___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4214,7 +4224,190 @@ lean_dec(x_1); return x_8; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_preprocess___lambda__1___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_preprocess___lambda__2___boxed), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_lt(x_2, x_1); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec(x_9); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_3); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_array_uget(x_3, x_2); +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_array_uset(x_3, x_2, x_14); +x_16 = !lean_is_exclusive(x_13); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +x_19 = lean_ctor_get(x_13, 2); +x_20 = lean_ctor_get(x_13, 3); +x_21 = lean_ctor_get(x_13, 4); +x_22 = lean_ctor_get(x_13, 5); +x_23 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__1; +x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__2; +lean_inc(x_9); +lean_inc(x_8); +x_25 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_22, x_23, x_24, x_8, x_9, x_10); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_ctor_set(x_13, 5, x_26); +x_28 = 1; +x_29 = lean_usize_add(x_2, x_28); +x_30 = lean_array_uset(x_15, x_2, x_13); +x_2 = x_29; +x_3 = x_30; +x_10 = x_27; +goto _start; +} +else +{ +uint8_t x_32; +lean_free_object(x_13); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +x_32 = !lean_is_exclusive(x_25); +if (x_32 == 0) +{ +return x_25; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_25, 0); +x_34 = lean_ctor_get(x_25, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_25); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +else +{ +lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_36 = lean_ctor_get(x_13, 0); +x_37 = lean_ctor_get_uint8(x_13, sizeof(void*)*6); +x_38 = lean_ctor_get(x_13, 1); +x_39 = lean_ctor_get(x_13, 2); +x_40 = lean_ctor_get(x_13, 3); +x_41 = lean_ctor_get(x_13, 4); +x_42 = lean_ctor_get(x_13, 5); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_36); +lean_dec(x_13); +x_43 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__1; +x_44 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__2; +lean_inc(x_9); +lean_inc(x_8); +x_45 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_42, x_43, x_44, x_8, x_9, x_10); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_48, 0, x_36); +lean_ctor_set(x_48, 1, x_38); +lean_ctor_set(x_48, 2, x_39); +lean_ctor_set(x_48, 3, x_40); +lean_ctor_set(x_48, 4, x_41); +lean_ctor_set(x_48, 5, x_46); +lean_ctor_set_uint8(x_48, sizeof(void*)*6, x_37); +x_49 = 1; +x_50 = lean_usize_add(x_2, x_49); +x_51 = lean_array_uset(x_15, x_2, x_48); +x_2 = x_50; +x_3 = x_51; +x_10 = x_47; +goto _start; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_41); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_38); +lean_dec(x_36); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +x_53 = lean_ctor_get(x_45, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_45, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_55 = x_45; +} else { + lean_dec_ref(x_45); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(1, 2, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +return x_56; +} +} +} +} +} +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__1() { _start: { lean_object* x_1; @@ -4222,21 +4415,21 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__1; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__3() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4244,22 +4437,22 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__4() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__3; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__5() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4267,7 +4460,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__6() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__6() { _start: { lean_object* x_1; @@ -4275,11 +4468,11 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_InfoCacheKey_instHashableInfoCacheK return x_1; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__7() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4287,7 +4480,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__8() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__8() { _start: { lean_object* x_1; @@ -4295,21 +4488,21 @@ x_1 = lean_alloc_closure((void*)(l_Lean_instBEqLocalInstance___boxed), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__9() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__8; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__8; x_2 = lean_alloc_closure((void*)(l_Array_instBEqArray___rarg___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__10() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__9; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__9; x_2 = l_Lean_Expr_instBEqExpr; x_3 = lean_alloc_closure((void*)(l_instBEqProd___rarg), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -4317,7 +4510,7 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__11() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__11() { _start: { lean_object* x_1; @@ -4325,21 +4518,21 @@ x_1 = lean_alloc_closure((void*)(l_Lean_instHashableLocalInstance___boxed), 1, 0 return x_1; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__12() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__11; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__11; x_2 = lean_alloc_closure((void*)(l_instHashableArray___rarg___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__13() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__12; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__12; x_2 = l_Lean_Expr_instHashableExpr; x_3 = lean_alloc_closure((void*)(l_instHashableProd___rarg___boxed), 3, 2); lean_closure_set(x_3, 0, x_1); @@ -4347,11 +4540,11 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__14() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4359,7 +4552,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__15() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -4370,7 +4563,7 @@ lean_closure_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__16() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -4381,11 +4574,11 @@ lean_closure_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__17() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4393,11 +4586,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__18() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__17; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__17; x_2 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -4406,14 +4599,14 @@ lean_ctor_set(x_2, 3, x_1); return x_2; } } -static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__19() { +static lean_object* _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__5; -x_2 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__7; -x_3 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__14; -x_4 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__18; +x_1 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__5; +x_2 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__7; +x_3 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__14; +x_4 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__18; x_5 = lean_alloc_ctor(0, 7, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -4425,7 +4618,7 @@ lean_ctor_set(x_5, 6, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -4443,7 +4636,7 @@ x_13 = lean_ctor_get(x_10, 4); lean_dec(x_13); x_14 = lean_ctor_get(x_10, 0); lean_dec(x_14); -x_15 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__4; +x_15 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__4; lean_ctor_set(x_10, 4, x_15); lean_ctor_set(x_10, 0, x_1); x_16 = lean_st_ref_set(x_7, x_10, x_11); @@ -4462,7 +4655,7 @@ if (x_21 == 0) lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; x_22 = lean_ctor_get(x_19, 1); lean_dec(x_22); -x_23 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__19; +x_23 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__19; lean_ctor_set(x_19, 1, x_23); x_24 = lean_st_ref_set(x_5, x_19, x_20); x_25 = !lean_is_exclusive(x_24); @@ -4498,7 +4691,7 @@ lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); lean_dec(x_19); -x_34 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__19; +x_34 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__19; x_35 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_35, 0, x_31); lean_ctor_set(x_35, 1, x_34); @@ -4540,7 +4733,7 @@ lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); lean_dec(x_10); -x_46 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__4; +x_46 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__4; x_47 = lean_alloc_ctor(0, 7, 0); lean_ctor_set(x_47, 0, x_1); lean_ctor_set(x_47, 1, x_41); @@ -4575,7 +4768,7 @@ if (lean_is_exclusive(x_51)) { lean_dec_ref(x_51); x_56 = lean_box(0); } -x_57 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__19; +x_57 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__19; if (lean_is_scalar(x_56)) { x_58 = lean_alloc_ctor(0, 4, 0); } else { @@ -4608,7 +4801,7 @@ return x_63; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -4682,7 +4875,7 @@ return x_26; } } } -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3___closed__1() { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -4691,7 +4884,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4715,7 +4908,7 @@ else lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_dec(x_4); x_14 = lean_array_uget(x_1, x_3); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3___closed__1; +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4___closed__1; x_16 = lean_array_push(x_15, x_14); x_17 = 1; lean_inc(x_10); @@ -4771,7 +4964,7 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -4872,7 +5065,7 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4937,7 +5130,7 @@ return x_24; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__1() { _start: { lean_object* x_1; @@ -4945,7 +5138,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_iteToDIte___lambda__2___boxed), 6, return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__2() { _start: { lean_object* x_1; @@ -4953,7 +5146,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_iteToDIte___lambda__1___boxed), 6, return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -4986,14 +5179,14 @@ x_19 = lean_ctor_get(x_13, 2); x_20 = lean_ctor_get(x_13, 3); x_21 = lean_ctor_get(x_13, 4); x_22 = lean_ctor_get(x_13, 5); -x_23 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__1; -x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__2; +x_23 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__1; +x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__2; x_25 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_26 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_22, x_23, x_24, x_25, x_6, x_7, x_8, x_9, x_10); +x_26 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_22, x_23, x_24, x_25, x_25, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; @@ -5062,14 +5255,14 @@ lean_inc(x_40); lean_inc(x_39); lean_inc(x_37); lean_dec(x_13); -x_44 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__1; -x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__2; +x_44 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__1; +x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__2; x_46 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_47 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_43, x_44, x_45, x_46, x_6, x_7, x_8, x_9, x_10); +x_47 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_43, x_44, x_45, x_46, x_46, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_47) == 0) { lean_object* x_48; lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; lean_object* x_53; @@ -5208,7 +5401,7 @@ lean_dec(x_29); x_32 = lean_ctor_get(x_30, 0); lean_inc(x_32); lean_dec(x_30); -x_33 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_31); +x_33 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_31); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -5311,7 +5504,7 @@ lean_inc(x_55); x_56 = lean_ctor_get(x_26, 1); lean_inc(x_56); lean_dec(x_26); -x_57 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_56); +x_57 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_56); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -5352,7 +5545,7 @@ lean_inc(x_62); x_63 = lean_ctor_get(x_21, 1); lean_inc(x_63); lean_dec(x_21); -x_64 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_63); +x_64 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_63); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -5396,7 +5589,7 @@ lean_inc(x_69); x_70 = lean_ctor_get(x_19, 1); lean_inc(x_70); lean_dec(x_19); -x_71 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_70); +x_71 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_70); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -5585,7 +5778,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2(x_16, x_2, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_14); +x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3(x_16, x_2, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_14); if (lean_obj_tag(x_17) == 0) { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; @@ -5613,7 +5806,7 @@ x_23 = lean_array_get_size(x_18); x_24 = lean_usize_of_nat(x_23); lean_dec(x_23); x_25 = lean_box(0); -x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3(x_18, x_24, x_2, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_22); +x_26 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4(x_18, x_24, x_2, x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_22); lean_dec(x_18); if (lean_obj_tag(x_26) == 0) { @@ -5756,288 +5949,437 @@ return x_46; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__5(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; -lean_dec(x_4); -x_12 = lean_array_get_size(x_1); -x_13 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_14 = 0; -lean_inc(x_10); -lean_inc(x_9); -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_addAndCompileUnsafe___spec__1(x_13, x_14, x_1, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_15) == 0) +lean_object* x_14; +lean_dec(x_6); +lean_inc(x_12); +lean_inc(x_11); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_addAndCompileUnsafe___spec__1(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); +lean_dec(x_14); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_2); -x_18 = l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef(x_16, x_2, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_18) == 0) +lean_inc(x_4); +x_17 = l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_isOnlyOneUnaryDef(x_15, x_4, x_9, x_10, x_11, x_12, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_19; uint8_t x_20; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_unbox(x_19); -lean_dec(x_19); -if (x_20 == 0) +lean_object* x_18; uint8_t x_19; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_unbox(x_18); +lean_dec(x_18); +if (x_19 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_21 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_ctor_get(x_5, 3); lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_ctor_get(x_3, 3); -lean_inc(x_22); -x_23 = lean_box(0); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_22); -lean_ctor_set(x_24, 1, x_23); -x_25 = 0; -x_26 = lean_box(x_25); -lean_inc(x_3); -x_27 = lean_alloc_closure((void*)(l_Lean_Elab_addNonRec___boxed), 10, 3); -lean_closure_set(x_27, 0, x_3); -lean_closure_set(x_27, 1, x_26); -lean_closure_set(x_27, 2, x_24); +x_22 = lean_box(0); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = 0; +x_25 = lean_box(x_24); +lean_inc(x_5); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_addNonRec___boxed), 10, 3); +lean_closure_set(x_26, 0, x_5); +lean_closure_set(x_26, 1, x_25); +lean_closure_set(x_26, 2, x_23); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_28 = l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__4(x_25, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_21); -if (lean_obj_tag(x_28) == 0) +x_27 = l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__5(x_24, x_26, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_28, 1); -lean_inc(x_29); -lean_dec(x_28); +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); +lean_inc(x_4); lean_inc(x_5); -lean_inc(x_2); -lean_inc(x_3); -lean_inc(x_16); -x_30 = l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs(x_16, x_3, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_29); -if (lean_obj_tag(x_30) == 0) +lean_inc(x_15); +x_29 = l___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs(x_15, x_5, x_4, x_7, x_8, x_9, x_10, x_11, x_12, x_28); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_30, 0); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); +lean_dec(x_29); +x_32 = l_Lean_Elab_wfRecursion___lambda__4(x_15, x_2, x_5, x_4, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_31); lean_dec(x_30); -x_33 = l_Lean_Elab_wfRecursion___lambda__4(x_16, x_14, x_3, x_2, x_31, x_5, x_6, x_7, x_8, x_9, x_10, x_32); -lean_dec(x_31); -return x_33; +return x_32; } else { -uint8_t x_34; -lean_dec(x_16); +uint8_t x_33; +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_34 = !lean_is_exclusive(x_30); -if (x_34 == 0) +lean_dec(x_4); +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) { -return x_30; +return x_29; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_30, 0); -x_36 = lean_ctor_get(x_30, 1); -lean_inc(x_36); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_29, 0); +x_35 = lean_ctor_get(x_29, 1); lean_inc(x_35); -lean_dec(x_30); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_inc(x_34); +lean_dec(x_29); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } else { -uint8_t x_38; -lean_dec(x_16); +uint8_t x_37; +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_38 = !lean_is_exclusive(x_28); -if (x_38 == 0) +lean_dec(x_4); +x_37 = !lean_is_exclusive(x_27); +if (x_37 == 0) { -return x_28; +return x_27; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_28, 0); -x_40 = lean_ctor_get(x_28, 1); -lean_inc(x_40); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_27, 0); +x_39 = lean_ctor_get(x_27, 1); lean_inc(x_39); -lean_dec(x_28); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_inc(x_38); +lean_dec(x_27); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; -x_42 = lean_ctor_get(x_18, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; +x_41 = lean_ctor_get(x_17, 1); +lean_inc(x_41); +lean_dec(x_17); +x_42 = lean_ctor_get(x_5, 3); lean_inc(x_42); -lean_dec(x_18); -x_43 = lean_ctor_get(x_3, 3); -lean_inc(x_43); -x_44 = lean_box(0); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -x_46 = 0; +x_43 = lean_box(0); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = 0; +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); lean_inc(x_5); -lean_inc(x_3); -x_47 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_3, x_46, x_45, x_46, x_5, x_6, x_7, x_8, x_9, x_10, x_42); -if (lean_obj_tag(x_47) == 0) +x_46 = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(x_5, x_45, x_44, x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_41); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_47, 0); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); +lean_dec(x_46); +x_49 = l_Lean_Elab_wfRecursion___lambda__4(x_15, x_2, x_5, x_4, x_47, x_7, x_8, x_9, x_10, x_11, x_12, x_48); lean_dec(x_47); -x_50 = l_Lean_Elab_wfRecursion___lambda__4(x_16, x_14, x_3, x_2, x_48, x_5, x_6, x_7, x_8, x_9, x_10, x_49); -lean_dec(x_48); -return x_50; +return x_49; } else { -uint8_t x_51; -lean_dec(x_16); +uint8_t x_50; +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_51 = !lean_is_exclusive(x_47); -if (x_51 == 0) +lean_dec(x_4); +x_50 = !lean_is_exclusive(x_46); +if (x_50 == 0) { -return x_47; +return x_46; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_47, 0); -x_53 = lean_ctor_get(x_47, 1); -lean_inc(x_53); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_46, 0); +x_52 = lean_ctor_get(x_46, 1); lean_inc(x_52); -lean_dec(x_47); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_inc(x_51); +lean_dec(x_46); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } } else { -uint8_t x_55; -lean_dec(x_16); +uint8_t x_54; +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_55 = !lean_is_exclusive(x_18); -if (x_55 == 0) +lean_dec(x_4); +x_54 = !lean_is_exclusive(x_17); +if (x_54 == 0) { -return x_18; +return x_17; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_18, 0); -x_57 = lean_ctor_get(x_18, 1); -lean_inc(x_57); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_17, 0); +x_56 = lean_ctor_get(x_17, 1); lean_inc(x_56); -lean_dec(x_18); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_inc(x_55); +lean_dec(x_17); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } else { -uint8_t x_59; +uint8_t x_58; +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -x_59 = !lean_is_exclusive(x_15); -if (x_59 == 0) +lean_dec(x_4); +x_58 = !lean_is_exclusive(x_14); +if (x_58 == 0) { -return x_15; +return x_14; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_15, 0); -x_61 = lean_ctor_get(x_15, 1); -lean_inc(x_61); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_14, 0); +x_60 = lean_ctor_get(x_14, 1); lean_inc(x_60); -lean_dec(x_15); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +lean_inc(x_59); +lean_dec(x_14); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +} +static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(">> ", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__6___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_wfRecursion___lambda__6___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__6___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" :=\n", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_wfRecursion___lambda__6___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_wfRecursion___lambda__6___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_1, 4); +lean_inc(x_15); +lean_inc(x_2); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_2); +lean_inc(x_2); +lean_inc(x_4); +lean_inc(x_15); +x_17 = lean_alloc_closure((void*)(l_Lean_Elab_wfRecursion___lambda__3), 15, 6); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_3); +lean_closure_set(x_17, 2, x_15); +lean_closure_set(x_17, 3, x_4); +lean_closure_set(x_17, 4, x_2); +lean_closure_set(x_17, 5, x_7); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_18 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_15, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__4; +x_22 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_20); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_unbox(x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_box(0); +x_27 = l_Lean_Elab_wfRecursion___lambda__5(x_5, x_6, x_4, x_2, x_19, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_25); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); +lean_dec(x_22); +x_29 = lean_ctor_get(x_19, 3); +lean_inc(x_29); +x_30 = l_Lean_MessageData_ofName(x_29); +x_31 = l_Lean_Elab_wfRecursion___lambda__6___closed__2; +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = l_Lean_Elab_wfRecursion___lambda__6___closed__4; +x_34 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_ctor_get(x_19, 5); +lean_inc(x_35); +x_36 = l_Lean_MessageData_ofExpr(x_35); +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__6; +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_21, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_28); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Elab_wfRecursion___lambda__5(x_5, x_6, x_4, x_2, x_19, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_42); +return x_43; } } +else +{ +uint8_t x_44; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_2); +x_44 = !lean_is_exclusive(x_18); +if (x_44 == 0) +{ +return x_18; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_18, 0); +x_46 = lean_ctor_get(x_18, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_18); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -6046,7 +6388,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_3); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7(x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -6189,7 +6531,7 @@ static lean_object* _init_l_Lean_Elab_wfRecursion___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes(">> ", 3); +x_1 = lean_mk_string_from_bytes("fixed prefix: ", 14); return x_1; } } @@ -6202,459 +6544,442 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_wfRecursion___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" :=\n", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_wfRecursion___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_wfRecursion___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_wfRecursion___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("fixed prefix: ", 14); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_wfRecursion___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_wfRecursion___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_49 = lean_array_get_size(x_1); -x_50 = lean_usize_of_nat(x_49); -lean_dec(x_49); -x_51 = 0; -x_52 = lean_st_ref_get(x_9, x_10); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_ctor_get(x_53, 0); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_box(0); +lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_11 = lean_array_get_size(x_1); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; lean_inc(x_9); lean_inc(x_8); -x_57 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__5(x_1, x_50, x_51, x_56, x_4, x_5, x_6, x_7, x_8, x_9, x_54); -if (lean_obj_tag(x_57) == 0) +x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1(x_12, x_13, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_58; lean_object* x_59; -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); +lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_array_get_size(x_15); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_36 = lean_st_ref_get(x_9, x_16); +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get(x_37, 0); +lean_inc(x_39); +lean_dec(x_37); +x_40 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +x_41 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__6(x_15, x_18, x_13, x_40, x_4, x_5, x_6, x_7, x_8, x_9, x_38); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_1); -x_59 = l_Lean_Elab_getFixedPrefix(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_58); -if (lean_obj_tag(x_59) == 0) +lean_inc(x_15); +x_43 = l_Lean_Elab_getFixedPrefix(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_42); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_60 = lean_ctor_get(x_59, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__4; -x_63 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_62, x_4, x_5, x_6, x_7, x_8, x_9, x_61); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_unbox(x_64); -lean_dec(x_64); -if (x_65 == 0) +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__4; +x_47 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_46, x_4, x_5, x_6, x_7, x_8, x_9, x_45); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_unbox(x_48); +lean_dec(x_48); +if (x_49 == 0) { -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_63, 1); -lean_inc(x_66); -lean_dec(x_63); +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +lean_dec(x_47); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_1); -x_67 = l_Lean_Elab_wfRecursion___lambda__6(x_50, x_51, x_1, x_60, x_56, x_4, x_5, x_6, x_7, x_8, x_9, x_66); -if (lean_obj_tag(x_67) == 0) +lean_inc(x_15); +x_51 = l_Lean_Elab_wfRecursion___lambda__7(x_18, x_13, x_15, x_44, x_40, x_4, x_5, x_6, x_7, x_8, x_9, x_50); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_69); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_11 = x_68; -x_12 = x_71; -goto block_48; +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_53); +x_55 = lean_ctor_get(x_54, 1); +lean_inc(x_55); +lean_dec(x_54); +x_19 = x_52; +x_20 = x_55; +goto block_35; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +lean_dec(x_15); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_72 = lean_ctor_get(x_67, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_67, 1); -lean_inc(x_73); -lean_dec(x_67); -x_74 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_73); +x_56 = lean_ctor_get(x_51, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_51, 1); +lean_inc(x_57); +lean_dec(x_51); +x_58 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_57); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_75 = !lean_is_exclusive(x_74); -if (x_75 == 0) +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) { -lean_object* x_76; -x_76 = lean_ctor_get(x_74, 0); -lean_dec(x_76); -lean_ctor_set_tag(x_74, 1); -lean_ctor_set(x_74, 0, x_72); -return x_74; +lean_object* x_60; +x_60 = lean_ctor_get(x_58, 0); +lean_dec(x_60); +lean_ctor_set_tag(x_58, 1); +lean_ctor_set(x_58, 0, x_56); +return x_58; } else { -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_74, 1); -lean_inc(x_77); -lean_dec(x_74); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_72); -lean_ctor_set(x_78, 1, x_77); -return x_78; +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_58, 1); +lean_inc(x_61); +lean_dec(x_58); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_56); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_79 = lean_ctor_get(x_63, 1); -lean_inc(x_79); -lean_dec(x_63); -lean_inc(x_60); -x_80 = l_Nat_repr(x_60); -x_81 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_81, 0, x_80); -x_82 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_82, 0, x_81); -x_83 = l_Lean_Elab_wfRecursion___closed__6; -x_84 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -x_85 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__6; -x_86 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_62, x_86, x_4, x_5, x_6, x_7, x_8, x_9, x_79); -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_dec(x_87); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_63 = lean_ctor_get(x_47, 1); +lean_inc(x_63); +lean_dec(x_47); +lean_inc(x_44); +x_64 = l_Nat_repr(x_44); +x_65 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = l_Lean_Elab_wfRecursion___closed__2; +x_68 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__6; +x_70 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +x_71 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_46, x_70, x_4, x_5, x_6, x_7, x_8, x_9, x_63); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_1); -x_90 = l_Lean_Elab_wfRecursion___lambda__6(x_50, x_51, x_1, x_60, x_88, x_4, x_5, x_6, x_7, x_8, x_9, x_89); -lean_dec(x_88); -if (lean_obj_tag(x_90) == 0) +lean_inc(x_15); +x_74 = l_Lean_Elab_wfRecursion___lambda__7(x_18, x_13, x_15, x_44, x_72, x_4, x_5, x_6, x_7, x_8, x_9, x_73); +lean_dec(x_72); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_92); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_11 = x_91; -x_12 = x_94; -goto block_48; +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_76); +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_19 = x_75; +x_20 = x_78; +goto block_35; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +lean_dec(x_15); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_95 = lean_ctor_get(x_90, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_90, 1); -lean_inc(x_96); -lean_dec(x_90); -x_97 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_96); +x_79 = lean_ctor_get(x_74, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_74, 1); +lean_inc(x_80); +lean_dec(x_74); +x_81 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_80); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_98 = !lean_is_exclusive(x_97); -if (x_98 == 0) +x_82 = !lean_is_exclusive(x_81); +if (x_82 == 0) { -lean_object* x_99; -x_99 = lean_ctor_get(x_97, 0); -lean_dec(x_99); -lean_ctor_set_tag(x_97, 1); -lean_ctor_set(x_97, 0, x_95); -return x_97; +lean_object* x_83; +x_83 = lean_ctor_get(x_81, 0); +lean_dec(x_83); +lean_ctor_set_tag(x_81, 1); +lean_ctor_set(x_81, 0, x_79); +return x_81; } else { -lean_object* x_100; lean_object* x_101; -x_100 = lean_ctor_get(x_97, 1); -lean_inc(x_100); -lean_dec(x_97); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_95); -lean_ctor_set(x_101, 1, x_100); -return x_101; +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_79); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } } } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; +lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +lean_dec(x_15); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_102 = lean_ctor_get(x_59, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_59, 1); -lean_inc(x_103); -lean_dec(x_59); -x_104 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_103); +x_86 = lean_ctor_get(x_43, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_43, 1); +lean_inc(x_87); +lean_dec(x_43); +x_88 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_87); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_105 = !lean_is_exclusive(x_104); -if (x_105 == 0) +x_89 = !lean_is_exclusive(x_88); +if (x_89 == 0) { -lean_object* x_106; -x_106 = lean_ctor_get(x_104, 0); -lean_dec(x_106); -lean_ctor_set_tag(x_104, 1); -lean_ctor_set(x_104, 0, x_102); -return x_104; +lean_object* x_90; +x_90 = lean_ctor_get(x_88, 0); +lean_dec(x_90); +lean_ctor_set_tag(x_88, 1); +lean_ctor_set(x_88, 0, x_86); +return x_88; } else { -lean_object* x_107; lean_object* x_108; -x_107 = lean_ctor_get(x_104, 1); -lean_inc(x_107); -lean_dec(x_104); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_102); -lean_ctor_set(x_108, 1, x_107); -return x_108; +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_88, 1); +lean_inc(x_91); +lean_dec(x_88); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_86); +lean_ctor_set(x_92, 1, x_91); +return x_92; } } } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +lean_dec(x_15); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_109 = lean_ctor_get(x_57, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_57, 1); -lean_inc(x_110); -lean_dec(x_57); -x_111 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_55, x_4, x_5, x_6, x_7, x_8, x_9, x_110); +x_93 = lean_ctor_get(x_41, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_41, 1); +lean_inc(x_94); +lean_dec(x_41); +x_95 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_94); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_112 = !lean_is_exclusive(x_111); -if (x_112 == 0) +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) { -lean_object* x_113; -x_113 = lean_ctor_get(x_111, 0); -lean_dec(x_113); -lean_ctor_set_tag(x_111, 1); -lean_ctor_set(x_111, 0, x_109); -return x_111; +lean_object* x_97; +x_97 = lean_ctor_get(x_95, 0); +lean_dec(x_97); +lean_ctor_set_tag(x_95, 1); +lean_ctor_set(x_95, 0, x_93); +return x_95; } else { -lean_object* x_114; lean_object* x_115; -x_114 = lean_ctor_get(x_111, 1); -lean_inc(x_114); -lean_dec(x_111); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_109); -lean_ctor_set(x_115, 1, x_114); -return x_115; +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_95, 1); +lean_inc(x_98); +lean_dec(x_95); +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_93); +lean_ctor_set(x_99, 1, x_98); +return x_99; } } -block_48: +block_35: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_ctor_get(x_13, 4); -lean_inc(x_15); -lean_inc(x_14); -x_16 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_16, 0, x_14); -lean_inc(x_14); -lean_inc(x_1); -lean_inc(x_15); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_wfRecursion___lambda__3), 15, 6); -lean_closure_set(x_17, 0, x_13); -lean_closure_set(x_17, 1, x_3); -lean_closure_set(x_17, 2, x_15); -lean_closure_set(x_17, 3, x_1); -lean_closure_set(x_17, 4, x_14); -lean_closure_set(x_17, 5, x_2); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_18 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_15, x_16, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_12); -if (lean_obj_tag(x_18) == 0) +lean_inc(x_3); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_15); +x_23 = l_Lean_Elab_WF_guessLex(x_15, x_21, x_22, x_3, x_6, x_7, x_8, x_9, x_20); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__4; -x_22 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_unbox(x_23); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); lean_dec(x_23); -if (x_24 == 0) +x_26 = l_Lean_Elab_wfRecursion___lambda__6(x_21, x_22, x_3, x_15, x_18, x_13, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_25); +return x_26; +} +else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); +uint8_t x_27; lean_dec(x_22); -x_26 = lean_box(0); -x_27 = l_Lean_Elab_wfRecursion___lambda__5(x_1, x_14, x_19, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_25); -return x_27; +lean_dec(x_21); +lean_dec(x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_27 = !lean_is_exclusive(x_23); +if (x_27 == 0) +{ +return x_23; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_dec(x_22); -x_29 = lean_ctor_get(x_19, 3); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); lean_inc(x_29); -x_30 = l_Lean_MessageData_ofName(x_29); -x_31 = l_Lean_Elab_wfRecursion___closed__2; -x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -x_33 = l_Lean_Elab_wfRecursion___closed__4; -x_34 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_ctor_get(x_19, 5); -lean_inc(x_35); -x_36 = l_Lean_MessageData_ofExpr(x_35); -x_37 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__6; -x_39 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_21, x_39, x_4, x_5, x_6, x_7, x_8, x_9, x_28); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Elab_wfRecursion___lambda__5(x_1, x_14, x_19, x_41, x_4, x_5, x_6, x_7, x_8, x_9, x_42); -return x_43; +lean_inc(x_28); +lean_dec(x_23); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} } } else { -uint8_t x_44; -lean_dec(x_14); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_19, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_19, 1); +lean_inc(x_32); +lean_dec(x_19); +x_33 = lean_ctor_get(x_2, 0); +lean_inc(x_33); +lean_dec(x_2); +x_34 = l_Lean_Elab_wfRecursion___lambda__6(x_31, x_32, x_3, x_15, x_18, x_13, x_33, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +return x_34; +} +} +} +else +{ +uint8_t x_100; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1); -x_44 = !lean_is_exclusive(x_18); -if (x_44 == 0) +lean_dec(x_3); +lean_dec(x_2); +x_100 = !lean_is_exclusive(x_14); +if (x_100 == 0) { -return x_18; +return x_14; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_18, 0); -x_46 = lean_ctor_get(x_18, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_18); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_14, 0); +x_102 = lean_ctor_get(x_14, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_14); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; } } } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_13; +} } -LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -6664,7 +6989,7 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -6672,13 +6997,13 @@ x_11 = lean_unbox_usize(x_1); lean_dec(x_1); x_12 = lean_unbox_usize(x_2); lean_dec(x_2); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__2(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__3(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); lean_dec(x_4); return x_13; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -6686,22 +7011,22 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__4(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Elab_withEnableInfoTree___at_Lean_Elab_wfRecursion___spec__5(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -6709,7 +7034,7 @@ x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6718,7 +7043,7 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -6726,7 +7051,7 @@ x_11 = lean_unbox_usize(x_1); lean_dec(x_1); x_12 = lean_unbox_usize(x_2); lean_dec(x_2); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); lean_dec(x_4); return x_13; @@ -6752,7 +7077,31 @@ lean_dec(x_5); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_15 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_16 = l_Lean_Elab_wfRecursion___lambda__5(x_14, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = l_Lean_Elab_wfRecursion___lambda__6(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_wfRecursion___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -6760,14 +7109,14 @@ x_13 = lean_unbox_usize(x_1); lean_dec(x_1); x_14 = lean_unbox_usize(x_2); lean_dec(x_2); -x_15 = l_Lean_Elab_wfRecursion___lambda__6(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Lean_Elab_wfRecursion___lambda__7(x_13, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); return x_15; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__1() { _start: { lean_object* x_1; @@ -6775,27 +7124,27 @@ x_1 = lean_mk_string_from_bytes("Lean", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__3() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__2; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__2; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__4() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__4() { _start: { lean_object* x_1; @@ -6803,17 +7152,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__5() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__3; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__4; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__3; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__6() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__6() { _start: { lean_object* x_1; @@ -6821,37 +7170,37 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__7() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__5; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__6; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__5; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__8() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__7; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__1; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__7; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__9() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__8; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__8; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__10() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__10() { _start: { lean_object* x_1; @@ -6859,17 +7208,17 @@ x_1 = lean_mk_string_from_bytes("PreDefinition", 13); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__11() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__9; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__10; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__9; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__12() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__12() { _start: { lean_object* x_1; @@ -6877,17 +7226,17 @@ x_1 = lean_mk_string_from_bytes("WF", 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__13() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__11; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__12; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__11; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__14() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__14() { _start: { lean_object* x_1; @@ -6895,17 +7244,17 @@ x_1 = lean_mk_string_from_bytes("Main", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__15() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__13; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__14; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__13; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__16() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__16() { _start: { lean_object* x_1; @@ -6913,33 +7262,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__17() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__15; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__16; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__15; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__16; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__18() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__17; -x_2 = lean_unsigned_to_nat(3017u); +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__17; +x_2 = lean_unsigned_to_nat(3163u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs___spec__1___closed__4; x_3 = 0; -x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__18; +x_4 = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__18; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -6949,10 +7298,12 @@ lean_object* initialize_Lean_Elab_PreDefinition_Basic(uint8_t builtin, lean_obje lean_object* initialize_Lean_Elab_PreDefinition_WF_TerminationHint(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_WF_PackDomain(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_WF_PackMutual(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_WF_Preprocess(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_WF_Rel(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_WF_Fix(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_WF_Eqns(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_PreDefinition_WF_Ite(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_PreDefinition_WF_GuessLex(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_WF_Main(uint8_t builtin, lean_object* w) { lean_object * res; @@ -6973,6 +7324,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_WF_PackMutual(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_WF_Preprocess(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_WF_Rel(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -6985,6 +7339,9 @@ lean_dec_ref(res); res = initialize_Lean_Elab_PreDefinition_WF_Ite(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Elab_PreDefinition_WF_GuessLex(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__1 = _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__1); l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__2 = _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_Main_0__Lean_Elab_addNonRecPreDefs_mkSum___spec__1___closed__2(); @@ -7061,50 +7418,54 @@ l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___closed__2 = _ lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_getFixedPrefix___spec__3___closed__2); l_Lean_Elab_getFixedPrefix___lambda__2___closed__1 = _init_l_Lean_Elab_getFixedPrefix___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_getFixedPrefix___lambda__2___closed__1); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__1 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__1(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__1); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__2); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__3 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__3(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__3); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__4 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__4(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__4); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__5 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__5(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__5); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__6 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__6(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__6); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__7 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__7(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__7); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__8 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__8(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__8); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__9 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__9(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__9); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__10 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__10(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__10); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__11 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__11(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__11); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__12 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__12(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__12); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__13 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__13(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__13); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__14 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__14(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__14); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__15 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__15(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__15); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__16 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__16(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__16); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__17 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__17(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__17); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__18 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__18(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__18); -l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__19 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__19(); -lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__1___closed__19); -l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__3___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__6___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__1___closed__2); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__1 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__1(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__1); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__2); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__3 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__3(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__3); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__4 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__4(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__4); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__5 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__5(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__5); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__6 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__6(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__6); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__7 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__7(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__7); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__8 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__8(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__8); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__9 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__9(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__9); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__10 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__10(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__10); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__11 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__11(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__11); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__12 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__12(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__12); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__13 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__13(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__13); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__14 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__14(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__14); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__15 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__15(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__15); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__16 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__16(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__16); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__17 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__17(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__17); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__18 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__18(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__18); +l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__19 = _init_l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__19(); +lean_mark_persistent(l_Lean_setEnv___at_Lean_Elab_wfRecursion___spec__2___closed__19); +l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_wfRecursion___spec__4___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_wfRecursion___spec__7___closed__2); l_Lean_Elab_wfRecursion___lambda__1___closed__1 = _init_l_Lean_Elab_wfRecursion___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__1___closed__1); l_Lean_Elab_wfRecursion___lambda__1___closed__2 = _init_l_Lean_Elab_wfRecursion___lambda__1___closed__2(); @@ -7113,55 +7474,55 @@ l_Lean_Elab_wfRecursion___lambda__2___closed__1 = _init_l_Lean_Elab_wfRecursion_ lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__2___closed__1); l_Lean_Elab_wfRecursion___lambda__2___closed__2 = _init_l_Lean_Elab_wfRecursion___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__2___closed__2); +l_Lean_Elab_wfRecursion___lambda__6___closed__1 = _init_l_Lean_Elab_wfRecursion___lambda__6___closed__1(); +lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__6___closed__1); +l_Lean_Elab_wfRecursion___lambda__6___closed__2 = _init_l_Lean_Elab_wfRecursion___lambda__6___closed__2(); +lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__6___closed__2); +l_Lean_Elab_wfRecursion___lambda__6___closed__3 = _init_l_Lean_Elab_wfRecursion___lambda__6___closed__3(); +lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__6___closed__3); +l_Lean_Elab_wfRecursion___lambda__6___closed__4 = _init_l_Lean_Elab_wfRecursion___lambda__6___closed__4(); +lean_mark_persistent(l_Lean_Elab_wfRecursion___lambda__6___closed__4); l_Lean_Elab_wfRecursion___closed__1 = _init_l_Lean_Elab_wfRecursion___closed__1(); lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__1); l_Lean_Elab_wfRecursion___closed__2 = _init_l_Lean_Elab_wfRecursion___closed__2(); lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__2); -l_Lean_Elab_wfRecursion___closed__3 = _init_l_Lean_Elab_wfRecursion___closed__3(); -lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__3); -l_Lean_Elab_wfRecursion___closed__4 = _init_l_Lean_Elab_wfRecursion___closed__4(); -lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__4); -l_Lean_Elab_wfRecursion___closed__5 = _init_l_Lean_Elab_wfRecursion___closed__5(); -lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__5); -l_Lean_Elab_wfRecursion___closed__6 = _init_l_Lean_Elab_wfRecursion___closed__6(); -lean_mark_persistent(l_Lean_Elab_wfRecursion___closed__6); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__2); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__3(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__3); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__4(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__4); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__5(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__6(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__6); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__7(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__7); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__8(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__8); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__9(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__9); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__10 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__10(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__10); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__11 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__11(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__11); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__12 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__12(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__12); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__13 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__13(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__13); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__14 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__14(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__14); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__15 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__15(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__15); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__16 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__16(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__16); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__17 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__17(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__17); -l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__18 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__18(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017____closed__18); -if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3017_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__2); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__3 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__3(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__3); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__4 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__4(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__4); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__5 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__5(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__5); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__6 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__6(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__6); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__7 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__7(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__7); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__8 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__8(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__8); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__9 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__9(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__9); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__10 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__10(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__10); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__11 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__11(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__11); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__12 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__12(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__12); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__13 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__13(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__13); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__14 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__14(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__14); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__15 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__15(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__15); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__16 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__16(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__16); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__17 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__17(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__17); +l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__18 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__18(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163____closed__18); +if (builtin) {res = l_Lean_Elab_initFn____x40_Lean_Elab_PreDefinition_WF_Main___hyg_3163_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c index 63dc2c61ce3e..38a4fe8db422 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackDomain.c @@ -30,6 +30,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_packDomain___spec static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_packDomain___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_WF_packDomain_packApplications_visit___lambda__5(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_throwMaxRecDepthAt___at_Lean_Elab_WF_packDomain_packApplications_visit___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_mkUnaryArg_go___closed__10; extern lean_object* l_Lean_maxRecDepthErrorMessage; @@ -129,7 +130,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_packDomain_packApplications(lean_object* LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_WF_packDomain_packApplications_visit___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_packDomain___closed__1; -lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_packDomain___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_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_PackDomain_0__Lean_Elab_WF_mkPSigmaCasesOn_go___spec__1___closed__1; lean_object* l_Lean_Expr_appFn_x21(lean_object*); @@ -209,6 +209,7 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_PackDomain_0__Lean_El static lean_object* l_Lean_Elab_WF_mkUnaryArg_go___closed__9; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_packDomain_packApplications_visit___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_packDomain___spec__2___lambda__3___closed__1; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2002,7 +2003,7 @@ lean_closure_set(x_56, 2, x_2); lean_closure_set(x_56, 3, x_3); lean_closure_set(x_56, 4, x_50); lean_closure_set(x_56, 5, x_55); -x_57 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_57 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_57, 0, x_54); lean_closure_set(x_57, 1, x_56); lean_inc(x_5); @@ -2097,7 +2098,7 @@ lean_closure_set(x_80, 2, x_2); lean_closure_set(x_80, 3, x_3); lean_closure_set(x_80, 4, x_74); lean_closure_set(x_80, 5, x_79); -x_81 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_81 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_81, 0, x_78); lean_closure_set(x_81, 1, x_80); lean_inc(x_5); @@ -2192,7 +2193,7 @@ lean_closure_set(x_103, 2, x_3); lean_closure_set(x_103, 3, x_100); lean_closure_set(x_103, 4, x_101); lean_closure_set(x_103, 5, x_98); -x_104 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_104 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_104, 0, x_102); lean_closure_set(x_104, 1, x_103); lean_inc(x_5); @@ -2275,7 +2276,7 @@ lean_closure_set(x_123, 2, x_3); lean_closure_set(x_123, 3, x_122); x_124 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packDomain_packApplications_visit___lambda__6___boxed), 8, 1); lean_closure_set(x_124, 0, x_121); -x_125 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_125 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_125, 0, x_123); lean_closure_set(x_125, 1, x_124); lean_inc(x_5); @@ -2361,7 +2362,7 @@ lean_closure_set(x_145, 3, x_144); x_146 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packDomain_packApplications_visit___lambda__7___boxed), 9, 2); lean_closure_set(x_146, 0, x_142); lean_closure_set(x_146, 1, x_143); -x_147 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_147 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_147, 0, x_145); lean_closure_set(x_147, 1, x_146); lean_inc(x_5); @@ -2715,7 +2716,7 @@ lean_closure_set(x_223, 2, x_2); lean_closure_set(x_223, 3, x_3); lean_closure_set(x_223, 4, x_217); lean_closure_set(x_223, 5, x_222); -x_224 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_224 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_224, 0, x_221); lean_closure_set(x_224, 1, x_223); lean_inc(x_5); @@ -2810,7 +2811,7 @@ lean_closure_set(x_246, 2, x_2); lean_closure_set(x_246, 3, x_3); lean_closure_set(x_246, 4, x_240); lean_closure_set(x_246, 5, x_245); -x_247 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_247 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_247, 0, x_244); lean_closure_set(x_247, 1, x_246); lean_inc(x_5); @@ -2905,7 +2906,7 @@ lean_closure_set(x_268, 2, x_3); lean_closure_set(x_268, 3, x_265); lean_closure_set(x_268, 4, x_266); lean_closure_set(x_268, 5, x_263); -x_269 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_269 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_269, 0, x_267); lean_closure_set(x_269, 1, x_268); lean_inc(x_5); @@ -2988,7 +2989,7 @@ lean_closure_set(x_287, 2, x_3); lean_closure_set(x_287, 3, x_286); x_288 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packDomain_packApplications_visit___lambda__6___boxed), 8, 1); lean_closure_set(x_288, 0, x_285); -x_289 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_289 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_289, 0, x_287); lean_closure_set(x_289, 1, x_288); lean_inc(x_5); @@ -3074,7 +3075,7 @@ lean_closure_set(x_308, 3, x_307); x_309 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packDomain_packApplications_visit___lambda__7___boxed), 9, 2); lean_closure_set(x_309, 0, x_305); lean_closure_set(x_309, 1, x_306); -x_310 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); +x_310 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); lean_closure_set(x_310, 0, x_308); lean_closure_set(x_310, 1, x_309); lean_inc(x_5); @@ -13508,7 +13509,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l_Lean_Elab_WF_mkUnaryArg_go___closed__4; x_2 = l_Lean_Elab_WF_packDomain_packApplications___lambda__1___closed__1; x_3 = lean_unsigned_to_nat(127u); -x_4 = lean_unsigned_to_nat(49u); +x_4 = lean_unsigned_to_nat(58u); x_5 = l___private_Lean_Elab_PreDefinition_WF_PackDomain_0__Lean_Elab_WF_mkPSigmaCasesOn_go___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -13538,20 +13539,20 @@ x_21 = l_Array_toSubarray___rarg(x_17, x_11, x_2); x_22 = l_Array_ofSubarray___rarg(x_21); if (x_19 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = l_Lean_Elab_instInhabitedPreDefinition; -x_55 = l___private_Init_Util_0__outOfBounds___rarg(x_54); -x_23 = x_55; -goto block_53; +lean_object* x_61; lean_object* x_62; +x_61 = l_Lean_Elab_instInhabitedPreDefinition; +x_62 = l___private_Init_Util_0__outOfBounds___rarg(x_61); +x_23 = x_62; +goto block_60; } else { -lean_object* x_56; -x_56 = lean_array_fget(x_1, x_4); -x_23 = x_56; -goto block_53; +lean_object* x_63; +x_63 = lean_array_fget(x_1, x_4); +x_23 = x_63; +goto block_60; } -block_53: +block_60: { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_24 = lean_ctor_get(x_23, 3); @@ -13567,93 +13568,106 @@ lean_inc(x_26); x_27 = lean_infer_type(x_26, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_27) == 0) { -lean_object* x_28; +lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -if (lean_obj_tag(x_28) == 7) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_array_get_size(x_17); -x_32 = l_Array_toSubarray___rarg(x_17, x_2, x_31); -x_33 = l_Array_ofSubarray___rarg(x_32); -x_34 = l_Lean_Elab_WF_mkUnaryArg_go(x_33, x_11, x_30, x_5, x_6, x_7, x_8, x_29); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_30 = lean_whnf(x_28, x_5, x_6, x_7, x_8, x_29); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +if (lean_obj_tag(x_31) == 7) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); lean_dec(x_30); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_array_get_size(x_17); +x_35 = l_Array_toSubarray___rarg(x_17, x_2, x_34); +x_36 = l_Array_ofSubarray___rarg(x_35); +x_37 = l_Lean_Elab_WF_mkUnaryArg_go(x_36, x_11, x_33, x_5, x_6, x_7, x_8, x_32); lean_dec(x_33); -if (lean_obj_tag(x_34) == 0) +lean_dec(x_36); +if (lean_obj_tag(x_37) == 0) { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) +uint8_t x_38; +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -x_37 = l_Lean_Expr_app___override(x_26, x_36); -lean_ctor_set(x_34, 0, x_37); -return x_34; +lean_object* x_39; lean_object* x_40; +x_39 = lean_ctor_get(x_37, 0); +x_40 = l_Lean_Expr_app___override(x_26, x_39); +lean_ctor_set(x_37, 0, x_40); +return x_37; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_34, 0); -x_39 = lean_ctor_get(x_34, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_34); -x_40 = l_Lean_Expr_app___override(x_26, x_38); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_37, 0); +x_42 = lean_ctor_get(x_37, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_37); +x_43 = l_Lean_Expr_app___override(x_26, x_41); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +return x_44; } } else { -uint8_t x_42; +uint8_t x_45; lean_dec(x_26); -x_42 = !lean_is_exclusive(x_34); -if (x_42 == 0) +x_45 = !lean_is_exclusive(x_37); +if (x_45 == 0) { -return x_34; +return x_37; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_34, 0); -x_44 = lean_ctor_get(x_34, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_34); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_37, 0); +x_47 = lean_ctor_get(x_37, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_37); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_28); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_31); lean_dec(x_26); lean_dec(x_17); lean_dec(x_2); -x_46 = lean_ctor_get(x_27, 1); -lean_inc(x_46); -lean_dec(x_27); -x_47 = l_Lean_Elab_WF_packDomain_packApplications___lambda__1___closed__2; -x_48 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_47, x_5, x_6, x_7, x_8, x_46); -return x_48; +x_49 = lean_ctor_get(x_30, 1); +lean_inc(x_49); +lean_dec(x_30); +x_50 = l_Lean_Elab_WF_packDomain_packApplications___lambda__1___closed__2; +x_51 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_50, x_5, x_6, x_7, x_8, x_49); +return x_51; } } else { -uint8_t x_49; +uint8_t x_52; lean_dec(x_26); lean_dec(x_17); lean_dec(x_8); @@ -13661,23 +13675,53 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); -x_49 = !lean_is_exclusive(x_27); -if (x_49 == 0) +x_52 = !lean_is_exclusive(x_30); +if (x_52 == 0) +{ +return x_30; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_30, 0); +x_54 = lean_ctor_get(x_30, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_30); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +uint8_t x_56; +lean_dec(x_26); +lean_dec(x_17); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_56 = !lean_is_exclusive(x_27); +if (x_56 == 0) { return x_27; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_27, 0); -x_51 = lean_ctor_get(x_27, 1); -lean_inc(x_51); -lean_inc(x_50); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_27, 0); +x_58 = lean_ctor_get(x_27, 1); +lean_inc(x_58); +lean_inc(x_57); lean_dec(x_27); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c index 39e16807153a..795ecddf0035 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/PackMutual.c @@ -31,6 +31,7 @@ lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__7; @@ -56,7 +57,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_withFixedPrefi lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_casesOnSuffix; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__4(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_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__11; @@ -74,16 +75,19 @@ LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__4___boxed(lean_obje size_t lean_usize_of_nat(lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___lambda__2___closed__7; lean_object* l_Array_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Meta_whnfCore_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_withAppN___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_packValues_go___closed__3; lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___lambda__2___closed__9; -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewDomain___spec__1___closed__3; lean_object* lean_array_pop(lean_object*); @@ -100,7 +104,7 @@ lean_object* l_Lean_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewDomain___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewDomain(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); @@ -123,12 +127,15 @@ lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleA LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainLevel___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_packMutual___lambda__2___closed__2; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__2; static lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__1; uint8_t l_Lean_Expr_binderInfo(lean_object*); +lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_withAppN___lambda__2___closed__2; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___lambda__2___closed__8; lean_object* l_Lean_Expr_constLevels_x21(lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); @@ -147,6 +154,8 @@ lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_withFixedPrefix___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__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_EXPORT lean_object* l_Lean_Elab_WF_withAppN___lambda__1(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_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -168,6 +177,7 @@ lean_object* l_Array_ofSubarray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_withFixedPrefix_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__9; lean_object* l_Array_back___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_packValues___spec__1___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); @@ -180,7 +190,7 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinitio LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___lambda__2___closed__4; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_getCodomainsLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1479,43 +1489,137 @@ return x_8; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; uint8_t x_12; -lean_inc(x_5); -x_11 = lean_array_push(x_1, x_5); -x_12 = lean_nat_dec_lt(x_2, x_3); -if (x_12 == 0) +uint8_t x_11; +x_11 = lean_nat_dec_lt(x_1, x_2); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Lean_instInhabitedExpr; +x_13 = l___private_Init_Util_0__outOfBounds___rarg(x_12); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_14 = lean_whnf(x_13, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; -x_13 = l_Lean_instInhabitedExpr; -x_14 = l___private_Init_Util_0__outOfBounds___rarg(x_13); -x_15 = l_Lean_Expr_bindingBody_x21(x_14); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); lean_dec(x_14); -x_16 = lean_expr_instantiate1(x_15, x_5); -lean_dec(x_5); +lean_inc(x_5); +x_17 = lean_array_push(x_3, x_5); +x_18 = l_Lean_Expr_bindingBody_x21(x_15); lean_dec(x_15); -x_17 = 0; -x_18 = 1; -x_19 = 1; -x_20 = l_Lean_Meta_mkLambdaFVars(x_11, x_16, x_17, x_18, x_19, x_6, x_7, x_8, x_9, x_10); -return x_20; +x_19 = lean_expr_instantiate1(x_18, x_5); +lean_dec(x_5); +lean_dec(x_18); +x_20 = 0; +x_21 = 1; +x_22 = 1; +x_23 = l_Lean_Meta_mkLambdaFVars(x_17, x_19, x_20, x_21, x_22, x_6, x_7, x_8, x_9, x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_23; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; -x_21 = lean_array_fget(x_4, x_2); -x_22 = l_Lean_Expr_bindingBody_x21(x_21); -lean_dec(x_21); -x_23 = lean_expr_instantiate1(x_22, x_5); +uint8_t x_24; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_22); -x_24 = 0; -x_25 = 1; -x_26 = 1; -x_27 = l_Lean_Meta_mkLambdaFVars(x_11, x_23, x_24, x_25, x_26, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +x_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) +{ +return x_14; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_14); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); return x_27; } } } +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_array_fget(x_4, x_1); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_29 = lean_whnf(x_28, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +lean_inc(x_5); +x_32 = lean_array_push(x_3, x_5); +x_33 = l_Lean_Expr_bindingBody_x21(x_30); +lean_dec(x_30); +x_34 = lean_expr_instantiate1(x_33, x_5); +lean_dec(x_5); +lean_dec(x_33); +x_35 = 0; +x_36 = 1; +x_37 = 1; +x_38 = l_Lean_Meta_mkLambdaFVars(x_32, x_34, x_35, x_36, x_37, x_6, x_7, x_8, x_9, x_31); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_38; +} +else +{ +uint8_t x_39; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_39 = !lean_is_exclusive(x_29); +if (x_39 == 0) +{ +return x_29; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_29, 0); +x_41 = lean_ctor_get(x_29, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_29); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -1690,322 +1794,418 @@ lean_dec(x_12); if (x_13 == 0) { uint8_t x_14; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_2); x_14 = lean_nat_dec_lt(x_4, x_10); lean_dec(x_10); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_4); lean_dec(x_1); x_15 = l_Lean_instInhabitedExpr; x_16 = l___private_Init_Util_0__outOfBounds___rarg(x_15); -x_17 = l_Lean_Expr_bindingBody_x21(x_16); -lean_dec(x_16); -x_18 = lean_expr_instantiate1(x_17, x_3); +x_17 = lean_whnf(x_16, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = l_Lean_Expr_bindingBody_x21(x_19); +lean_dec(x_19); +x_21 = lean_expr_instantiate1(x_20, x_3); lean_dec(x_3); +lean_dec(x_20); +lean_ctor_set(x_17, 0, x_21); +return x_17; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); +lean_inc(x_22); lean_dec(x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_9); -return x_19; +x_24 = l_Lean_Expr_bindingBody_x21(x_22); +lean_dec(x_22); +x_25 = lean_expr_instantiate1(x_24, x_3); +lean_dec(x_3); +lean_dec(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_23); +return x_26; +} +} +else +{ +uint8_t x_27; +lean_dec(x_3); +x_27 = !lean_is_exclusive(x_17); +if (x_27 == 0) +{ +return x_17; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_array_fget(x_1, x_4); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_17, 0); +x_29 = lean_ctor_get(x_17, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_17); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_array_fget(x_1, x_4); lean_dec(x_4); lean_dec(x_1); -x_21 = l_Lean_Expr_bindingBody_x21(x_20); -lean_dec(x_20); -x_22 = lean_expr_instantiate1(x_21, x_3); +x_32 = lean_whnf(x_31, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_32) == 0) +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_32, 0); +x_35 = l_Lean_Expr_bindingBody_x21(x_34); +lean_dec(x_34); +x_36 = lean_expr_instantiate1(x_35, x_3); lean_dec(x_3); -lean_dec(x_21); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_9); -return x_23; +lean_dec(x_35); +lean_ctor_set(x_32, 0, x_36); +return x_32; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_32, 0); +x_38 = lean_ctor_get(x_32, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_32); +x_39 = l_Lean_Expr_bindingBody_x21(x_37); +lean_dec(x_37); +x_40 = lean_expr_instantiate1(x_39, x_3); +lean_dec(x_3); +lean_dec(x_39); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +else +{ +uint8_t x_42; +lean_dec(x_3); +x_42 = !lean_is_exclusive(x_32); +if (x_42 == 0) +{ +return x_32; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_32, 0); +x_44 = lean_ctor_get(x_32, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_32); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} } } else { -lean_object* x_24; +lean_object* x_46; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_3); -x_24 = lean_infer_type(x_3, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_24) == 0) +x_46 = lean_infer_type(x_3, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_27 = l_Lean_Meta_whnfD(x_25, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_27) == 0) +x_49 = l_Lean_Meta_whnfD(x_47, x_5, x_6, x_7, x_8, x_48); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewDomain___spec__1___closed__2; -x_31 = lean_unsigned_to_nat(2u); -x_32 = l_Lean_Expr_isAppOfArity(x_28, x_30, x_31); -if (x_32 == 0) +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewDomain___spec__1___closed__2; +x_53 = lean_unsigned_to_nat(2u); +x_54 = l_Lean_Expr_isAppOfArity(x_50, x_52, x_53); +if (x_54 == 0) { -lean_object* x_33; lean_object* x_34; -lean_dec(x_28); +lean_object* x_55; lean_object* x_56; +lean_dec(x_50); lean_dec(x_10); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_33 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__6; -x_34 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_33, x_5, x_6, x_7, x_8, x_29); -return x_34; +x_55 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__6; +x_56 = l_panic___at_Lean_Meta_whnfCore_go___spec__1(x_55, x_5, x_6, x_7, x_8, x_51); +return x_56; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; -x_35 = lean_unsigned_to_nat(0u); -x_36 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_28, x_35); -x_37 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__7; -lean_inc(x_36); -x_38 = lean_mk_array(x_36, x_37); -x_39 = lean_nat_sub(x_36, x_11); -lean_dec(x_36); -lean_inc(x_28); -x_40 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_28, x_38, x_39); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; uint8_t x_74; uint8_t x_75; lean_object* x_76; +x_57 = lean_unsigned_to_nat(0u); +x_58 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_50, x_57); +x_59 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__7; +lean_inc(x_58); +x_60 = lean_mk_array(x_58, x_59); +x_61 = lean_nat_sub(x_58, x_11); +lean_dec(x_58); +lean_inc(x_50); +x_62 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_50, x_60, x_61); lean_inc(x_2); -x_41 = l_Lean_Level_succ___override(x_2); -x_42 = l_Lean_Expr_getAppFn(x_28); -lean_dec(x_28); -x_43 = l_Lean_Expr_constLevels_x21(x_42); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_41); -lean_ctor_set(x_44, 1, x_43); -x_45 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__8; -x_46 = l_Lean_Expr_const___override(x_45, x_44); -lean_inc(x_40); -x_47 = l_Lean_mkAppN(x_46, x_40); -x_48 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__9; +x_63 = l_Lean_Level_succ___override(x_2); +x_64 = l_Lean_Expr_getAppFn(x_50); +lean_dec(x_50); +x_65 = l_Lean_Expr_constLevels_x21(x_64); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_65); +x_67 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__8; +x_68 = l_Lean_Expr_const___override(x_67, x_66); +lean_inc(x_62); +x_69 = l_Lean_mkAppN(x_68, x_62); +x_70 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__9; lean_inc(x_3); -x_49 = lean_array_push(x_48, x_3); +x_71 = lean_array_push(x_70, x_3); lean_inc(x_2); -x_50 = l_Lean_Expr_sort___override(x_2); -x_51 = 0; -x_52 = 1; -x_53 = 1; -x_54 = l_Lean_Meta_mkLambdaFVars(x_49, x_50, x_51, x_52, x_53, x_5, x_6, x_7, x_8, x_29); -if (lean_obj_tag(x_54) == 0) -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = l_Lean_Expr_app___override(x_47, x_55); -x_58 = l_Lean_Expr_app___override(x_57, x_3); -x_59 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__11; -x_60 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_59, x_7, x_8, x_56); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_array_get_size(x_40); -x_64 = lean_nat_dec_lt(x_35, x_63); +x_72 = l_Lean_Expr_sort___override(x_2); +x_73 = 0; +x_74 = 1; +x_75 = 1; +x_76 = l_Lean_Meta_mkLambdaFVars(x_71, x_72, x_73, x_74, x_75, x_5, x_6, x_7, x_8, x_51); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = l_Lean_Expr_app___override(x_69, x_77); +x_80 = l_Lean_Expr_app___override(x_79, x_3); +x_81 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__11; +x_82 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_81, x_7, x_8, x_78); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +lean_dec(x_82); +x_85 = lean_array_get_size(x_62); +x_86 = lean_nat_dec_lt(x_57, x_85); lean_inc(x_1); lean_inc(x_4); -x_65 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__1___boxed), 10, 4); -lean_closure_set(x_65, 0, x_48); -lean_closure_set(x_65, 1, x_4); -lean_closure_set(x_65, 2, x_10); -lean_closure_set(x_65, 3, x_1); -if (x_64 == 0) +x_87 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__1___boxed), 10, 4); +lean_closure_set(x_87, 0, x_4); +lean_closure_set(x_87, 1, x_10); +lean_closure_set(x_87, 2, x_70); +lean_closure_set(x_87, 3, x_1); +if (x_86 == 0) { -lean_object* x_109; lean_object* x_110; -x_109 = l_Lean_instInhabitedExpr; -x_110 = l___private_Init_Util_0__outOfBounds___rarg(x_109); -x_66 = x_110; -goto block_108; +lean_object* x_131; lean_object* x_132; +x_131 = l_Lean_instInhabitedExpr; +x_132 = l___private_Init_Util_0__outOfBounds___rarg(x_131); +x_88 = x_132; +goto block_130; } else { -lean_object* x_111; -x_111 = lean_array_fget(x_40, x_35); -x_66 = x_111; -goto block_108; +lean_object* x_133; +x_133 = lean_array_fget(x_62, x_57); +x_88 = x_133; +goto block_130; } -block_108: +block_130: { -uint8_t x_67; uint8_t x_68; lean_object* x_69; -x_67 = 0; -x_68 = 0; +uint8_t x_89; uint8_t x_90; lean_object* x_91; +x_89 = 0; +x_90 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_69 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(x_61, x_67, x_66, x_65, x_68, x_5, x_6, x_7, x_8, x_62); -if (lean_obj_tag(x_69) == 0) +x_91 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(x_83, x_89, x_88, x_87, x_90, x_5, x_6, x_7, x_8, x_84); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_59, x_7, x_8, x_71); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_nat_dec_lt(x_11, x_63); -lean_dec(x_63); -x_76 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__2___boxed), 10, 4); -lean_closure_set(x_76, 0, x_4); -lean_closure_set(x_76, 1, x_1); -lean_closure_set(x_76, 2, x_2); -lean_closure_set(x_76, 3, x_48); -if (x_75 == 0) +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +x_93 = lean_ctor_get(x_91, 1); +lean_inc(x_93); +lean_dec(x_91); +x_94 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_81, x_7, x_8, x_93); +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); +lean_inc(x_96); +lean_dec(x_94); +x_97 = lean_nat_dec_lt(x_11, x_85); +lean_dec(x_85); +x_98 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__2___boxed), 10, 4); +lean_closure_set(x_98, 0, x_4); +lean_closure_set(x_98, 1, x_1); +lean_closure_set(x_98, 2, x_2); +lean_closure_set(x_98, 3, x_70); +if (x_97 == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -lean_dec(x_40); -x_77 = l_Lean_instInhabitedExpr; -x_78 = l___private_Init_Util_0__outOfBounds___rarg(x_77); -x_79 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(x_73, x_67, x_78, x_76, x_68, x_5, x_6, x_7, x_8, x_74); -if (lean_obj_tag(x_79) == 0) +lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_62); +x_99 = l_Lean_instInhabitedExpr; +x_100 = l___private_Init_Util_0__outOfBounds___rarg(x_99); +x_101 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(x_95, x_89, x_100, x_98, x_90, x_5, x_6, x_7, x_8, x_96); +if (lean_obj_tag(x_101) == 0) { -uint8_t x_80; -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) +uint8_t x_102; +x_102 = !lean_is_exclusive(x_101); +if (x_102 == 0) { -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_79, 0); -x_82 = l_Lean_mkAppB(x_58, x_70, x_81); -lean_ctor_set(x_79, 0, x_82); -return x_79; +lean_object* x_103; lean_object* x_104; +x_103 = lean_ctor_get(x_101, 0); +x_104 = l_Lean_mkAppB(x_80, x_92, x_103); +lean_ctor_set(x_101, 0, x_104); +return x_101; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_83 = lean_ctor_get(x_79, 0); -x_84 = lean_ctor_get(x_79, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_79); -x_85 = l_Lean_mkAppB(x_58, x_70, x_83); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_84); -return x_86; +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_105 = lean_ctor_get(x_101, 0); +x_106 = lean_ctor_get(x_101, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_101); +x_107 = l_Lean_mkAppB(x_80, x_92, x_105); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +return x_108; } } else { -uint8_t x_87; -lean_dec(x_70); -lean_dec(x_58); -x_87 = !lean_is_exclusive(x_79); -if (x_87 == 0) +uint8_t x_109; +lean_dec(x_92); +lean_dec(x_80); +x_109 = !lean_is_exclusive(x_101); +if (x_109 == 0) { -return x_79; +return x_101; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_79, 0); -x_89 = lean_ctor_get(x_79, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_79); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_101, 0); +x_111 = lean_ctor_get(x_101, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_101); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; } } } else { -lean_object* x_91; lean_object* x_92; -x_91 = lean_array_fget(x_40, x_11); -lean_dec(x_40); -x_92 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(x_73, x_67, x_91, x_76, x_68, x_5, x_6, x_7, x_8, x_74); -if (lean_obj_tag(x_92) == 0) +lean_object* x_113; lean_object* x_114; +x_113 = lean_array_fget(x_62, x_11); +lean_dec(x_62); +x_114 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(x_95, x_89, x_113, x_98, x_90, x_5, x_6, x_7, x_8, x_96); +if (lean_obj_tag(x_114) == 0) { -uint8_t x_93; -x_93 = !lean_is_exclusive(x_92); -if (x_93 == 0) +uint8_t x_115; +x_115 = !lean_is_exclusive(x_114); +if (x_115 == 0) { -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_92, 0); -x_95 = l_Lean_mkAppB(x_58, x_70, x_94); -lean_ctor_set(x_92, 0, x_95); -return x_92; +lean_object* x_116; lean_object* x_117; +x_116 = lean_ctor_get(x_114, 0); +x_117 = l_Lean_mkAppB(x_80, x_92, x_116); +lean_ctor_set(x_114, 0, x_117); +return x_114; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_96 = lean_ctor_get(x_92, 0); -x_97 = lean_ctor_get(x_92, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_92); -x_98 = l_Lean_mkAppB(x_58, x_70, x_96); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_98); -lean_ctor_set(x_99, 1, x_97); -return x_99; +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_118 = lean_ctor_get(x_114, 0); +x_119 = lean_ctor_get(x_114, 1); +lean_inc(x_119); +lean_inc(x_118); +lean_dec(x_114); +x_120 = l_Lean_mkAppB(x_80, x_92, x_118); +x_121 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +return x_121; } } else { -uint8_t x_100; -lean_dec(x_70); -lean_dec(x_58); -x_100 = !lean_is_exclusive(x_92); -if (x_100 == 0) +uint8_t x_122; +lean_dec(x_92); +lean_dec(x_80); +x_122 = !lean_is_exclusive(x_114); +if (x_122 == 0) { -return x_92; +return x_114; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_92, 0); -x_102 = lean_ctor_get(x_92, 1); -lean_inc(x_102); -lean_inc(x_101); -lean_dec(x_92); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -return x_103; +lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_123 = lean_ctor_get(x_114, 0); +x_124 = lean_ctor_get(x_114, 1); +lean_inc(x_124); +lean_inc(x_123); +lean_dec(x_114); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_123); +lean_ctor_set(x_125, 1, x_124); +return x_125; } } } } else { -uint8_t x_104; -lean_dec(x_63); -lean_dec(x_58); -lean_dec(x_40); +uint8_t x_126; +lean_dec(x_85); +lean_dec(x_80); +lean_dec(x_62); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -2013,32 +2213,32 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_104 = !lean_is_exclusive(x_69); -if (x_104 == 0) +x_126 = !lean_is_exclusive(x_91); +if (x_126 == 0) { -return x_69; +return x_91; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_69, 0); -x_106 = lean_ctor_get(x_69, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_69); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; +lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_127 = lean_ctor_get(x_91, 0); +x_128 = lean_ctor_get(x_91, 1); +lean_inc(x_128); +lean_inc(x_127); +lean_dec(x_91); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +return x_129; } } } } else { -uint8_t x_112; -lean_dec(x_47); -lean_dec(x_40); +uint8_t x_134; +lean_dec(x_69); +lean_dec(x_62); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -2048,30 +2248,30 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_112 = !lean_is_exclusive(x_54); -if (x_112 == 0) +x_134 = !lean_is_exclusive(x_76); +if (x_134 == 0) { -return x_54; +return x_76; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_54, 0); -x_114 = lean_ctor_get(x_54, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_54); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_76, 0); +x_136 = lean_ctor_get(x_76, 1); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_76); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; } } } } else { -uint8_t x_116; +uint8_t x_138; lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -2081,29 +2281,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_116 = !lean_is_exclusive(x_27); -if (x_116 == 0) +x_138 = !lean_is_exclusive(x_49); +if (x_138 == 0) { -return x_27; +return x_49; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_27, 0); -x_118 = lean_ctor_get(x_27, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_27); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_49, 0); +x_140 = lean_ctor_get(x_49, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_49); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +return x_141; } } } else { -uint8_t x_120; +uint8_t x_142; lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); @@ -2113,23 +2313,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_120 = !lean_is_exclusive(x_24); -if (x_120 == 0) +x_142 = !lean_is_exclusive(x_46); +if (x_142 == 0) { -return x_24; +return x_46; } else { -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_24, 0); -x_122 = lean_ctor_get(x_24, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_24); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -return x_123; +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_46, 0); +x_144 = lean_ctor_get(x_46, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_46); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; } } } @@ -2138,15 +2338,11 @@ return x_123; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; -x_11 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); +lean_object* x_11; +x_11 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); +lean_dec(x_1); return x_11; } } @@ -2848,11 +3044,289 @@ x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_PackMutua return x_6; } } +LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +lean_inc(x_2); +x_10 = l_Array_append___rarg(x_1, x_2); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_11 = lean_apply_6(x_3, x_10, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = 0; +x_15 = 1; +x_16 = 1; +x_17 = l_Lean_Meta_mkLambdaFVars(x_2, x_12, x_14, x_15, x_16, x_5, x_6, x_7, x_8, x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_11); +if (x_18 == 0) +{ +return x_11; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_11, 0); +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_11); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +static lean_object* _init_l_Lean_Elab_WF_withAppN___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Failed to eta-expand partial application", 40); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_withAppN___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_WF_withAppN___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; uint8_t x_12; +lean_dec(x_5); +x_11 = lean_array_get_size(x_4); +x_12 = lean_nat_dec_lt(x_11, x_3); +lean_dec(x_3); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = l_Lean_Elab_WF_withAppN___lambda__1(x_1, x_4, x_2, x_13, x_6, x_7, x_8, x_9, x_10); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_15 = l_Lean_Elab_WF_withAppN___lambda__2___closed__2; +x_16 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_15, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +return x_16; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_16); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_9); +x_11 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__7; +lean_inc(x_10); +x_12 = lean_mk_array(x_10, x_11); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_10, x_13); +lean_dec(x_10); +lean_inc(x_2); +x_15 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_12, x_14); +x_16 = lean_array_get_size(x_15); +x_17 = lean_nat_dec_le(x_1, x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_nat_sub(x_1, x_16); +lean_dec(x_16); +lean_dec(x_1); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_infer_type(x_2, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_18); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_18); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_WF_withAppN___lambda__2), 10, 3); +lean_closure_set(x_23, 0, x_15); +lean_closure_set(x_23, 1, x_3); +lean_closure_set(x_23, 2, x_18); +x_24 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(x_20, x_22, x_23, x_4, x_5, x_6, x_7, x_21); +return x_24; +} +else +{ +uint8_t x_25; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_16); +lean_dec(x_2); +lean_inc(x_1); +lean_inc(x_15); +x_29 = l_Array_toSubarray___rarg(x_15, x_9, x_1); +x_30 = l_Array_ofSubarray___rarg(x_29); +x_31 = lean_apply_6(x_3, x_30, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_array_get_size(x_15); +x_35 = l_Array_toSubarray___rarg(x_15, x_1, x_34); +x_36 = l_Array_ofSubarray___rarg(x_35); +x_37 = l_Lean_mkAppN(x_33, x_36); +lean_ctor_set(x_31, 0, x_37); +return x_31; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_38 = lean_ctor_get(x_31, 0); +x_39 = lean_ctor_get(x_31, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_31); +x_40 = lean_array_get_size(x_15); +x_41 = l_Array_toSubarray___rarg(x_15, x_1, x_40); +x_42 = l_Array_ofSubarray___rarg(x_41); +x_43 = l_Lean_mkAppN(x_38, x_42); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_39); +return x_44; +} +} +else +{ +uint8_t x_45; +lean_dec(x_15); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_31); +if (x_45 == 0) +{ +return x_31; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_31, 0); +x_47 = lean_ctor_get(x_31, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_31); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_withAppN___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_WF_withAppN___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} static lean_object* _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("args.size == 2\n ", 25); +x_1 = lean_mk_string_from_bytes("args.size == 2\n ", 27); return x_1; } } @@ -2880,8 +3354,8 @@ static lean_object* _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDef lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__4; x_2 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__3; -x_3 = lean_unsigned_to_nat(115u); -x_4 = lean_unsigned_to_nat(10u); +x_3 = lean_unsigned_to_nat(131u); +x_4 = lean_unsigned_to_nat(12u); x_5 = l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; @@ -3383,7 +3857,153 @@ x_4 = lean_name_eq(x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_unsigned_to_nat(0u); +lean_inc(x_1); +lean_inc(x_7); +x_14 = l_Array_toSubarray___rarg(x_7, x_13, x_1); +x_15 = lean_array_get_size(x_7); +x_16 = lean_nat_dec_lt(x_1, x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_dec(x_7); +lean_dec(x_1); +x_17 = l_Lean_instInhabitedExpr; +x_18 = l___private_Init_Util_0__outOfBounds___rarg(x_17); +x_19 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg(x_2, x_3, x_18, x_13, x_4, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_19, 0); +x_22 = l_Lean_Expr_const___override(x_5, x_6); +x_23 = l_Array_ofSubarray___rarg(x_14); +x_24 = l_Lean_mkAppN(x_22, x_23); +x_25 = l_Lean_Expr_app___override(x_24, x_21); +lean_ctor_set(x_19, 0, x_25); +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = l_Lean_Expr_const___override(x_5, x_6); +x_29 = l_Array_ofSubarray___rarg(x_14); +x_30 = l_Lean_mkAppN(x_28, x_29); +x_31 = l_Lean_Expr_app___override(x_30, x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_27); +return x_32; +} +} +else +{ +uint8_t x_33; +lean_dec(x_14); +lean_dec(x_6); +lean_dec(x_5); +x_33 = !lean_is_exclusive(x_19); +if (x_33 == 0) +{ +return x_19; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_19, 0); +x_35 = lean_ctor_get(x_19, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_19); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_array_fget(x_7, x_1); +lean_dec(x_1); +lean_dec(x_7); +x_38 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg(x_2, x_3, x_37, x_13, x_4, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_38) == 0) +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_40 = lean_ctor_get(x_38, 0); +x_41 = l_Lean_Expr_const___override(x_5, x_6); +x_42 = l_Array_ofSubarray___rarg(x_14); +x_43 = l_Lean_mkAppN(x_41, x_42); +x_44 = l_Lean_Expr_app___override(x_43, x_40); +lean_ctor_set(x_38, 0, x_44); +return x_38; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_45 = lean_ctor_get(x_38, 0); +x_46 = lean_ctor_get(x_38, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_38); +x_47 = l_Lean_Expr_const___override(x_5, x_6); +x_48 = l_Array_ofSubarray___rarg(x_14); +x_49 = l_Lean_mkAppN(x_47, x_48); +x_50 = l_Lean_Expr_app___override(x_49, x_45); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_46); +return x_51; +} +} +else +{ +uint8_t x_52; +lean_dec(x_14); +lean_dec(x_6); +lean_dec(x_5); +x_52 = !lean_is_exclusive(x_38); +if (x_52 == 0) +{ +return x_38; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_38, 0); +x_54 = lean_ctor_get(x_38, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_38); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -3413,242 +4033,84 @@ return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_21 = lean_ctor_get(x_18, 0); lean_inc(x_21); lean_dec(x_18); -x_22 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_17); -x_23 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__7; -lean_inc(x_22); -x_24 = lean_mk_array(x_22, x_23); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_sub(x_22, x_25); -lean_dec(x_22); -x_27 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_24, x_26); -lean_inc(x_4); -lean_inc(x_27); -x_28 = l_Array_toSubarray___rarg(x_27, x_17, x_4); -x_29 = lean_array_get_size(x_27); -x_30 = lean_nat_dec_lt(x_4, x_29); -lean_dec(x_29); -x_31 = lean_nat_add(x_4, x_25); -x_32 = lean_array_get_size(x_27); -lean_inc(x_27); -x_33 = l_Array_toSubarray___rarg(x_27, x_31, x_32); -if (x_30 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_27); -lean_dec(x_4); -x_34 = l_Lean_instInhabitedExpr; -x_35 = l___private_Init_Util_0__outOfBounds___rarg(x_34); -x_36 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg(x_3, x_21, x_35, x_17, x_5, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_21); -lean_dec(x_3); -if (lean_obj_tag(x_36) == 0) -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_38 = lean_ctor_get(x_36, 0); -x_39 = l_Lean_Expr_const___override(x_6, x_14); -x_40 = l_Array_ofSubarray___rarg(x_28); -x_41 = l_Lean_mkAppN(x_39, x_40); -x_42 = l_Lean_Expr_app___override(x_41, x_38); -x_43 = l_Array_ofSubarray___rarg(x_33); -x_44 = l_Lean_mkAppN(x_42, x_43); -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_36, 0, x_45); -return x_36; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_46 = lean_ctor_get(x_36, 0); -x_47 = lean_ctor_get(x_36, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_36); -x_48 = l_Lean_Expr_const___override(x_6, x_14); -x_49 = l_Array_ofSubarray___rarg(x_28); -x_50 = l_Lean_mkAppN(x_48, x_49); -x_51 = l_Lean_Expr_app___override(x_50, x_46); -x_52 = l_Array_ofSubarray___rarg(x_33); -x_53 = l_Lean_mkAppN(x_51, x_52); -x_54 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_47); -return x_55; -} -} -else -{ -uint8_t x_56; -lean_dec(x_33); -lean_dec(x_28); -lean_dec(x_14); -lean_dec(x_6); -x_56 = !lean_is_exclusive(x_36); -if (x_56 == 0) +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_add(x_4, x_22); +x_24 = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__3___boxed), 12, 6); +lean_closure_set(x_24, 0, x_4); +lean_closure_set(x_24, 1, x_3); +lean_closure_set(x_24, 2, x_21); +lean_closure_set(x_24, 3, x_5); +lean_closure_set(x_24, 4, x_6); +lean_closure_set(x_24, 5, x_14); +x_25 = l_Lean_Elab_WF_withAppN(x_23, x_2, x_24, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_25) == 0) { -return x_36; -} -else +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_36, 0); -x_58 = lean_ctor_get(x_36, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_36); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_25, 0, x_28); +return x_25; } else { -lean_object* x_60; lean_object* x_61; -x_60 = lean_array_fget(x_27, x_4); -lean_dec(x_4); -lean_dec(x_27); -x_61 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg(x_3, x_21, x_60, x_17, x_5, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_21); -lean_dec(x_3); -if (lean_obj_tag(x_61) == 0) -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_63 = lean_ctor_get(x_61, 0); -x_64 = l_Lean_Expr_const___override(x_6, x_14); -x_65 = l_Array_ofSubarray___rarg(x_28); -x_66 = l_Lean_mkAppN(x_64, x_65); -x_67 = l_Lean_Expr_app___override(x_66, x_63); -x_68 = l_Array_ofSubarray___rarg(x_33); -x_69 = l_Lean_mkAppN(x_67, x_68); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_61, 0, x_70); -return x_61; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_71 = lean_ctor_get(x_61, 0); -x_72 = lean_ctor_get(x_61, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_61); -x_73 = l_Lean_Expr_const___override(x_6, x_14); -x_74 = l_Array_ofSubarray___rarg(x_28); -x_75 = l_Lean_mkAppN(x_73, x_74); -x_76 = l_Lean_Expr_app___override(x_75, x_71); -x_77 = l_Array_ofSubarray___rarg(x_33); -x_78 = l_Lean_mkAppN(x_76, x_77); -x_79 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_79, 0, x_78); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_72); -return x_80; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_25, 0); +x_30 = lean_ctor_get(x_25, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_25); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +return x_32; } } else { -uint8_t x_81; -lean_dec(x_33); -lean_dec(x_28); -lean_dec(x_14); -lean_dec(x_6); -x_81 = !lean_is_exclusive(x_61); -if (x_81 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_25); +if (x_33 == 0) { -return x_61; +return x_25; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_61, 0); -x_83 = lean_ctor_get(x_61, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_61); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; -} -} -} -} -} +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_25, 0); +x_35 = lean_ctor_get(x_25, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_25); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; uint8_t x_13; -lean_dec(x_6); -x_12 = l_Lean_Expr_getAppFn(x_1); -x_13 = l_Lean_Expr_isConst(x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_1); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_11); -return x_15; } -else -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_box(0); -x_17 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__3(x_12, x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11); -return x_17; } } } LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_11 = lean_unsigned_to_nat(0u); -x_12 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_5, x_11); -x_13 = lean_unsigned_to_nat(1u); -x_14 = lean_nat_add(x_1, x_13); -x_15 = lean_nat_dec_lt(x_12, x_14); -lean_dec(x_14); -lean_dec(x_12); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_box(0); -x_17 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__4(x_5, x_2, x_1, x_3, x_4, x_16, x_6, x_7, x_8, x_9, x_10); -return x_17; -} -else +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_Expr_getAppFn(x_5); +x_12 = l_Lean_Expr_isConst(x_11); +if (x_12 == 0) { -lean_object* x_18; lean_object* x_19; +lean_object* x_13; lean_object* x_14; +lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -3657,12 +4119,19 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_18 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_18, 0, x_5); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_10); -return x_19; +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_5); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__4(x_11, x_5, x_2, x_1, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10); +return x_16; } } } @@ -3690,6 +4159,16 @@ x_4 = lean_box(x_3); return x_4; } } +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_withFixedPrefix_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -4038,30 +4517,80 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +if (x_9 == 0) { -return x_3; +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_8); +return x_10; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l_Lean_Expr_bindingDomain_x21(x_5); -lean_dec(x_5); -x_9 = 1; -x_10 = lean_usize_add(x_2, x_9); -x_11 = lean_array_uset(x_7, x_2, x_8); -x_2 = x_10; -x_3 = x_11; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_array_uget(x_3, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_3, x_2, x_12); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_14 = lean_whnf(x_11, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Expr_bindingDomain_x21(x_15); +lean_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_2, x_18); +x_20 = lean_array_uset(x_13, x_2, x_17); +x_2 = x_19; +x_3 = x_20; +x_8 = x_16; goto _start; } +else +{ +uint8_t x_22; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_22 = !lean_is_exclusive(x_14); +if (x_22 == 0) +{ +return x_14; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_14, 0); +x_24 = lean_ctor_get(x_14, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_14); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +} } } static lean_object* _init_l_Lean_Elab_WF_packMutual___lambda__1___closed__1() { @@ -4228,7 +4757,7 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_46 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_25, x_45, x_44, x_18, x_9, x_10, x_11, x_12, x_43); +x_46 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_25, x_45, x_44, x_18, x_19, x_9, x_10, x_11, x_12, x_43); if (lean_obj_tag(x_46) == 0) { lean_object* x_47; lean_object* x_48; lean_object* x_49; @@ -4427,7 +4956,7 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_78 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_25, x_77, x_76, x_18, x_9, x_10, x_11, x_12, x_75); +x_78 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_25, x_77, x_76, x_18, x_19, x_9, x_10, x_11, x_12, x_75); if (lean_obj_tag(x_78) == 0) { lean_object* x_79; lean_object* x_80; lean_object* x_81; @@ -4682,50 +5211,62 @@ return x_114; LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; x_12 = lean_array_get_size(x_5); x_13 = lean_usize_of_nat(x_12); lean_dec(x_12); x_14 = 0; -lean_inc(x_5); -x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(x_13, x_14, x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_16 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewDomain(x_15, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_16) == 0) +lean_inc(x_5); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(x_13, x_14, x_5, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__11; -x_20 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_19, x_9, x_10, x_18); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packMutual___lambda__2___boxed), 13, 7); -lean_closure_set(x_23, 0, x_1); -lean_closure_set(x_23, 1, x_5); -lean_closure_set(x_23, 2, x_4); -lean_closure_set(x_23, 3, x_6); -lean_closure_set(x_23, 4, x_2); -lean_closure_set(x_23, 5, x_3); -lean_closure_set(x_23, 6, x_17); -x_24 = 0; -x_25 = 0; -x_26 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(x_21, x_24, x_17, x_23, x_25, x_7, x_8, x_9, x_10, x_22); -return x_26; +lean_dec(x_15); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_18 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewDomain(x_16, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; uint8_t x_27; lean_object* x_28; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_mkNewCoDomain_go___closed__11; +x_22 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_21, x_9, x_10, x_20); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +lean_inc(x_19); +x_25 = lean_alloc_closure((void*)(l_Lean_Elab_WF_packMutual___lambda__2___boxed), 13, 7); +lean_closure_set(x_25, 0, x_1); +lean_closure_set(x_25, 1, x_5); +lean_closure_set(x_25, 2, x_4); +lean_closure_set(x_25, 3, x_6); +lean_closure_set(x_25, 4, x_2); +lean_closure_set(x_25, 5, x_3); +lean_closure_set(x_25, 6, x_19); +x_26 = 0; +x_27 = 0; +x_28 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_forallTelescopeCompatibleAux___spec__15___rarg(x_23, x_26, x_19, x_25, x_27, x_7, x_8, x_9, x_10, x_24); +return x_28; } else { -uint8_t x_27; +uint8_t x_29; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -4736,23 +5277,56 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_16); -if (x_27 == 0) +x_29 = !lean_is_exclusive(x_18); +if (x_29 == 0) { -return x_16; +return x_18; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_16, 0); -x_29 = lean_ctor_get(x_16, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_16); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_18, 0); +x_31 = lean_ctor_get(x_18, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_18); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +uint8_t x_33; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_15); +if (x_33 == 0) +{ +return x_15; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_15, 0); +x_35 = lean_ctor_get(x_15, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_15); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } @@ -4823,16 +5397,16 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); +x_10 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(x_4, x_5, x_3); -return x_6; +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_packMutual___spec__1(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Elab_WF_packMutual___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -4955,6 +5529,10 @@ l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__L lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_packValues___spec__1___closed__3); l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_packValues___spec__1___closed__4 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_packValues___spec__1___closed__4(); lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_packValues___spec__1___closed__4); +l_Lean_Elab_WF_withAppN___lambda__2___closed__1 = _init_l_Lean_Elab_WF_withAppN___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_withAppN___lambda__2___closed__1); +l_Lean_Elab_WF_withAppN___lambda__2___closed__2 = _init_l_Lean_Elab_WF_withAppN___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_withAppN___lambda__2___closed__2); l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__1 = _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__1(); lean_mark_persistent(l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__1); l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__2 = _init_l_Lean_Expr_withAppAux___at___private_Lean_Elab_PreDefinition_WF_PackMutual_0__Lean_Elab_WF_post_mkNewArg___spec__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Preprocess.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Preprocess.c new file mode 100644 index 000000000000..a7474aa1d45b --- /dev/null +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Preprocess.c @@ -0,0 +1,195 @@ +// Lean compiler output +// Module: Lean.Elab.PreDefinition.WF.Preprocess +// Imports: Init Lean.Meta.Transform Lean.Elab.RecAppSyntax +#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_Expr_mdata___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_preprocess___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_preprocess___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_preprocess___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +extern lean_object* l___private_Lean_Elab_RecAppSyntax_0__Lean_recAppKey; +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_KVMap_contains(lean_object*, lean_object*); +static lean_object* _init_l_Lean_Elab_WF_preprocess___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = l_Lean_Elab_WF_preprocess___lambda__1___closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 10) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_5, 1); +lean_inc(x_8); +lean_dec(x_5); +x_9 = l___private_Lean_Elab_RecAppSyntax_0__Lean_recAppKey; +x_10 = l_Lean_KVMap_contains(x_7, x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_1); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_4); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_13 = l_Lean_Expr_app___override(x_8, x_6); +x_14 = l_Lean_Expr_mdata___override(x_7, x_13); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_4); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_1); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_4); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_4); +return x_20; +} +} +} +static lean_object* _init_l_Lean_Elab_WF_preprocess___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_preprocess___lambda__1___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_WF_preprocess___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_preprocess___lambda__2___boxed), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = l_Lean_Elab_WF_preprocess___closed__1; +x_6 = l_Lean_Elab_WF_preprocess___closed__2; +x_7 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_1, x_5, x_6, x_2, x_3, x_4); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_WF_preprocess___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_preprocess___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_WF_preprocess___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Transform(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Elab_RecAppSyntax(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_WF_Preprocess(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Transform(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Elab_RecAppSyntax(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Elab_WF_preprocess___lambda__1___closed__1 = _init_l_Lean_Elab_WF_preprocess___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_preprocess___lambda__1___closed__1); +l_Lean_Elab_WF_preprocess___closed__1 = _init_l_Lean_Elab_WF_preprocess___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_preprocess___closed__1); +l_Lean_Elab_WF_preprocess___closed__2 = _init_l_Lean_Elab_WF_preprocess___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_preprocess___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c index 7992f5e83f76..9f43c7485755 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Rel.c @@ -13,43 +13,28 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___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_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_generateCombinations_x3f_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__4; lean_object* l___private_Init_Util_0__outOfBounds___rarg(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*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___closed__9; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__7; -static lean_object* l_Lean_Elab_WF_elabWFRel_guess___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_generateCombinations_x3f___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__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_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__11; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_guess___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__9; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems(lean_object*); +static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__1; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___closed__8; lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__2; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); @@ -59,215 +44,138 @@ lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Expr_mvar___override(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__9; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__8; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_generateCombinations_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel_guess___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_guess___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__2; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__2; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1___lambda__1___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_Lean_Elab_WF_elabWFRel_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6(lean_object*); +static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__3; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go(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_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_getForbiddenByTrivialSizeOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_guess___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__3; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_guess___spec__4(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Expr_isLit(lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_Elab_WF_generateCombinations_x3f_isForbidden(lean_object*, lean_object*, lean_object*); -lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_guess(lean_object*); -lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__1; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_synthInstance(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; -lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTR_loop___at_Lean_Meta_substCore___spec__6(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_getForbiddenByTrivialSizeOf___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6___rarg___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_Lean_Elab_WF_elabWFRel___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel_guess___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___closed__5; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); lean_object* l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5___lambda__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_Elab_WF_elabWFRel_generateElements(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_throwError___at_Lean_Elab_WF_elabWFRel___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___closed__1; static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__12; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_generateCombinations_x3f_go___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__3; -static lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___closed__1; -static lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___closed__3; -static lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___closed__6; lean_object* l_Lean_LocalDecl_userName(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___boxed(lean_object**); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_getForbiddenByTrivialSizeOf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___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_Lean_Elab_WF_elabWFRel___rarg(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_Elab_WF_generateCombinations_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__10; -lean_object* lean_environment_main_module(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__1; -lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_generateCombinations_x3f_isForbidden___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__2(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__4; -lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_generateCombinations_x3f_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_WF_instInhabitedTerminationByElement; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___spec__1___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__5; -static lean_object* l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__5; lean_object* l_Lean_Meta_Cases_cases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_guess___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__1; lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__11; lean_object* l_Array_back___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go(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_Elab_WF_elabWFRel_go(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_guess___spec__4___rarg___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__3(lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__4; size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_guess___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedName; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__3___rarg___lambda__1(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_observing_x3f___at_Lean_Elab_WF_elabWFRel_guess___spec__3(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_generateCombinations_x3f_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___closed__2; lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Elab_WF_elabWFRel_guess___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__2___closed__2; lean_object* l_Lean_MVarId_rename(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -uint8_t l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___closed__6; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel_go___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Exception_isRuntime(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_SavedState_restore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_String_toSubstring_x27(lean_object*); -static lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___closed__7; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__3; -static lean_object* l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__1; -static lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___closed__2; lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_Elab_WF_elabWFRel___rarg___closed__4; -static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_WF_getNumCandidateArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { @@ -3080,634 +2988,470 @@ lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_array_get_size(x_2); -x_10 = lean_nat_sub(x_9, x_1); -lean_dec(x_9); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; -x_10 = lean_usize_dec_lt(x_3, x_2); -if (x_10 == 0) -{ -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_4); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_12 = lean_array_uget(x_4, x_3); -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_array_uset(x_4, x_3, x_13); -x_15 = lean_ctor_get(x_12, 5); -lean_inc(x_15); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 5); +x_10 = lean_ctor_get(x_2, 2); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); lean_dec(x_12); -lean_inc(x_1); -x_16 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1___lambda__1___boxed), 8, 1); -lean_closure_set(x_16, 0, x_1); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_17 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_15, x_16, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = 1; -x_21 = lean_usize_add(x_3, x_20); -x_22 = lean_array_uset(x_14, x_3, x_18); -x_3 = x_21; -x_4 = x_22; -x_9 = x_19; -goto _start; -} -else -{ -uint8_t x_24; -lean_dec(x_14); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_17); -if (x_24 == 0) +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) { -return x_17; +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_17, 0); -x_26 = lean_ctor_get(x_17, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_17); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_getNumCandidateArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1(lean_object* x_1) { _start: { -lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; -x_8 = lean_array_get_size(x_2); -x_9 = lean_usize_of_nat(x_8); -lean_dec(x_8); -x_10 = 0; -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1(x_1, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7); -return x_11; +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1___rarg___boxed), 8, 0); +return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; -x_9 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 5); +x_10 = lean_ctor_get(x_2, 2); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); lean_dec(x_2); -lean_dec(x_1); -return x_9; -} +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: +else { -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_getNumCandidateArgs___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); -return x_12; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} } } -static lean_object* _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__1() { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__2(lean_object* x_1) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("SizeOf", 6); -return x_1; +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__2___rarg___boxed), 8, 0); +return x_2; } } -static lean_object* _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__2() { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("sizeOf", 6); -return x_1; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 5); +x_10 = lean_ctor_get(x_2, 2); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} } } -static lean_object* _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__3() { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__3(lean_object* x_1) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__1; -x_2 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__2; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__3___rarg___boxed), 8, 0); +return x_2; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; -x_10 = lean_usize_dec_lt(x_3, x_2); -if (x_10 == 0) +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_st_ref_take(x_6, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec(x_10); +x_14 = !lean_is_exclusive(x_11); +if (x_14 == 0) { -lean_object* x_11; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_4); -lean_ctor_set(x_11, 1, x_9); -return x_11; -} -else +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_11, 0); +lean_dec(x_15); +x_16 = !lean_is_exclusive(x_12); +if (x_16 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_12 = lean_ctor_get(x_1, 0); -x_13 = lean_array_uget(x_12, x_3); -x_14 = lean_ctor_get(x_4, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_4, 1); -lean_inc(x_15); -if (lean_is_exclusive(x_4)) { - lean_ctor_release(x_4, 0); - lean_ctor_release(x_4, 1); - x_16 = x_4; -} else { - lean_dec_ref(x_4); - x_16 = lean_box(0); -} -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -x_19 = lean_ctor_get(x_14, 2); -lean_inc(x_19); -x_20 = lean_nat_dec_lt(x_17, x_18); +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_17 = lean_ctor_get(x_12, 7); +x_18 = l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_17, x_1, x_2); +lean_ctor_set(x_12, 7, x_18); +x_19 = lean_st_ref_set(x_6, x_11, x_13); +x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -if (lean_is_scalar(x_16)) { - x_21 = lean_alloc_ctor(0, 2, 0); -} else { - x_21 = x_16; -} -lean_ctor_set(x_21, 0, x_14); -lean_ctor_set(x_21, 1, x_15); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_9); -return x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +x_22 = lean_box(0); +lean_ctor_set(x_19, 0, x_22); +return x_19; } else { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_14); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_24 = lean_ctor_get(x_14, 2); -lean_dec(x_24); -x_25 = lean_ctor_get(x_14, 1); -lean_dec(x_25); -x_26 = lean_ctor_get(x_14, 0); -lean_dec(x_26); -x_27 = lean_nat_add(x_17, x_19); -lean_ctor_set(x_14, 0, x_27); -x_44 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; -x_45 = lean_array_push(x_44, x_13); -x_46 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__3; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_47 = l_Lean_Meta_mkAppM(x_46, x_45, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_50 = l_Lean_Meta_whnfD(x_48, x_5, x_6, x_7, x_8, x_49); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_16); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Expr_isLit(x_51); -lean_dec(x_51); -if (x_53 == 0) -{ -lean_object* x_54; size_t x_55; size_t x_56; -lean_dec(x_17); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_14); -lean_ctor_set(x_54, 1, x_15); -x_55 = 1; -x_56 = lean_usize_add(x_3, x_55); -x_3 = x_56; -x_4 = x_54; -x_9 = x_52; -goto _start; +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_dec(x_19); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; +} } else { -lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; -x_58 = lean_array_push(x_15, x_17); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_14); -lean_ctor_set(x_59, 1, x_58); -x_60 = 1; -x_61 = lean_usize_add(x_3, x_60); -x_3 = x_61; -x_4 = x_59; -x_9 = x_52; -goto _start; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_26 = lean_ctor_get(x_12, 0); +x_27 = lean_ctor_get(x_12, 1); +x_28 = lean_ctor_get(x_12, 2); +x_29 = lean_ctor_get(x_12, 3); +x_30 = lean_ctor_get(x_12, 4); +x_31 = lean_ctor_get(x_12, 5); +x_32 = lean_ctor_get(x_12, 6); +x_33 = lean_ctor_get(x_12, 7); +x_34 = lean_ctor_get(x_12, 8); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_12); +x_35 = l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_33, x_1, x_2); +x_36 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_36, 0, x_26); +lean_ctor_set(x_36, 1, x_27); +lean_ctor_set(x_36, 2, x_28); +lean_ctor_set(x_36, 3, x_29); +lean_ctor_set(x_36, 4, x_30); +lean_ctor_set(x_36, 5, x_31); +lean_ctor_set(x_36, 6, x_32); +lean_ctor_set(x_36, 7, x_35); +lean_ctor_set(x_36, 8, x_34); +lean_ctor_set(x_11, 0, x_36); +x_37 = lean_st_ref_set(x_6, x_11, x_13); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_39 = x_37; +} else { + lean_dec_ref(x_37); + x_39 = lean_box(0); } +x_40 = lean_box(0); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; } -else -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_50, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_50, 1); -lean_inc(x_64); -lean_dec(x_50); -x_28 = x_63; -x_29 = x_64; -goto block_43; +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; } } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_47, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_47, 1); -lean_inc(x_66); -lean_dec(x_47); -x_28 = x_65; -x_29 = x_66; -goto block_43; -} -block_43: -{ -uint8_t x_30; -x_30 = l_Lean_Exception_isRuntime(x_28); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; -lean_dec(x_28); -x_31 = lean_array_push(x_15, x_17); -if (lean_is_scalar(x_16)) { - x_32 = lean_alloc_ctor(0, 2, 0); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_42 = lean_ctor_get(x_11, 1); +x_43 = lean_ctor_get(x_11, 2); +x_44 = lean_ctor_get(x_11, 3); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_11); +x_45 = lean_ctor_get(x_12, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_12, 1); +lean_inc(x_46); +x_47 = lean_ctor_get(x_12, 2); +lean_inc(x_47); +x_48 = lean_ctor_get(x_12, 3); +lean_inc(x_48); +x_49 = lean_ctor_get(x_12, 4); +lean_inc(x_49); +x_50 = lean_ctor_get(x_12, 5); +lean_inc(x_50); +x_51 = lean_ctor_get(x_12, 6); +lean_inc(x_51); +x_52 = lean_ctor_get(x_12, 7); +lean_inc(x_52); +x_53 = lean_ctor_get(x_12, 8); +lean_inc(x_53); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + lean_ctor_release(x_12, 2); + lean_ctor_release(x_12, 3); + lean_ctor_release(x_12, 4); + lean_ctor_release(x_12, 5); + lean_ctor_release(x_12, 6); + lean_ctor_release(x_12, 7); + lean_ctor_release(x_12, 8); + x_54 = x_12; } else { - x_32 = x_16; -} -lean_ctor_set(x_32, 0, x_14); -lean_ctor_set(x_32, 1, x_31); -x_33 = 1; -x_34 = lean_usize_add(x_3, x_33); -x_3 = x_34; -x_4 = x_32; -x_9 = x_29; -goto _start; + lean_dec_ref(x_12); + x_54 = lean_box(0); } -else -{ -uint8_t x_36; -x_36 = lean_ctor_get_uint8(x_7, sizeof(void*)*11); -if (x_36 == 0) -{ -lean_object* x_37; -lean_dec(x_14); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_28); -lean_ctor_set(x_37, 1, x_29); -return x_37; +x_55 = l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_52, x_1, x_2); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 9, 0); +} else { + x_56 = x_54; } -else -{ -lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; -lean_dec(x_28); -x_38 = lean_array_push(x_15, x_17); -if (lean_is_scalar(x_16)) { - x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_45); +lean_ctor_set(x_56, 1, x_46); +lean_ctor_set(x_56, 2, x_47); +lean_ctor_set(x_56, 3, x_48); +lean_ctor_set(x_56, 4, x_49); +lean_ctor_set(x_56, 5, x_50); +lean_ctor_set(x_56, 6, x_51); +lean_ctor_set(x_56, 7, x_55); +lean_ctor_set(x_56, 8, x_53); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_42); +lean_ctor_set(x_57, 2, x_43); +lean_ctor_set(x_57, 3, x_44); +x_58 = lean_st_ref_set(x_6, x_57, x_13); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; } else { - x_39 = x_16; + lean_dec_ref(x_58); + x_60 = lean_box(0); } -lean_ctor_set(x_39, 0, x_14); -lean_ctor_set(x_39, 1, x_38); -x_40 = 1; -x_41 = lean_usize_add(x_3, x_40); -x_3 = x_41; -x_4 = x_39; -x_9 = x_29; -goto _start; +x_61 = lean_box(0); +if (lean_is_scalar(x_60)) { + x_62 = lean_alloc_ctor(0, 2, 0); +} else { + x_62 = x_60; } +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_59); +return x_62; } } } -else +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_14); -x_67 = lean_nat_add(x_17, x_19); -x_68 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_18); -lean_ctor_set(x_68, 2, x_19); -x_85 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; -x_86 = lean_array_push(x_85, x_13); -x_87 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__3; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_88 = l_Lean_Meta_mkAppM(x_87, x_86, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_88) == 0) +lean_object* x_10; +lean_inc(x_1); +x_10 = l_Lean_MVarId_getType(x_1, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_2, 3); +lean_inc(x_13); +lean_dec(x_2); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_11); +x_15 = lean_box(0); +x_16 = 1; +x_17 = lean_box(x_16); +x_18 = lean_box(x_16); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_19, 0, x_13); +lean_closure_set(x_19, 1, x_14); +lean_closure_set(x_19, 2, x_17); +lean_closure_set(x_19, 3, x_18); +lean_closure_set(x_19, 4, x_15); +x_20 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_91 = l_Lean_Meta_whnfD(x_89, x_5, x_6, x_7, x_8, x_90); -if (lean_obj_tag(x_91) == 0) -{ -lean_object* x_92; lean_object* x_93; uint8_t x_94; -lean_dec(x_16); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec(x_91); -x_94 = l_Lean_Expr_isLit(x_92); -lean_dec(x_92); -if (x_94 == 0) +lean_inc(x_4); +lean_inc(x_3); +x_21 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_19, x_20, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_95; size_t x_96; size_t x_97; -lean_dec(x_17); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_68); -lean_ctor_set(x_95, 1, x_15); -x_96 = 1; -x_97 = lean_usize_add(x_3, x_96); -x_3 = x_97; -x_4 = x_95; -x_9 = x_93; -goto _start; -} -else -{ -lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; -x_99 = lean_array_push(x_15, x_17); -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_68); -lean_ctor_set(x_100, 1, x_99); -x_101 = 1; -x_102 = lean_usize_add(x_3, x_101); -x_3 = x_102; -x_4 = x_100; -x_9 = x_93; -goto _start; -} -} -else -{ -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_91, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_91, 1); -lean_inc(x_105); -lean_dec(x_91); -x_69 = x_104; -x_70 = x_105; -goto block_84; -} -} -else -{ -lean_object* x_106; lean_object* x_107; -x_106 = lean_ctor_get(x_88, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_88, 1); -lean_inc(x_107); -lean_dec(x_88); -x_69 = x_106; -x_70 = x_107; -goto block_84; -} -block_84: -{ -uint8_t x_71; -x_71 = l_Lean_Exception_isRuntime(x_69); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; size_t x_74; size_t x_75; -lean_dec(x_69); -x_72 = lean_array_push(x_15, x_17); -if (lean_is_scalar(x_16)) { - x_73 = lean_alloc_ctor(0, 2, 0); -} else { - x_73 = x_16; -} -lean_ctor_set(x_73, 0, x_68); -lean_ctor_set(x_73, 1, x_72); -x_74 = 1; -x_75 = lean_usize_add(x_3, x_74); -x_3 = x_75; -x_4 = x_73; -x_9 = x_70; -goto _start; -} -else -{ -uint8_t x_77; -x_77 = lean_ctor_get_uint8(x_7, sizeof(void*)*11); -if (x_77 == 0) -{ -lean_object* x_78; -lean_dec(x_68); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel___spec__4(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_23); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_69); -lean_ctor_set(x_78, 1, x_70); -return x_78; +lean_dec(x_4); +lean_dec(x_3); +return x_24; } else { -lean_object* x_79; lean_object* x_80; size_t x_81; size_t x_82; -lean_dec(x_69); -x_79 = lean_array_push(x_15, x_17); -if (lean_is_scalar(x_16)) { - x_80 = lean_alloc_ctor(0, 2, 0); -} else { - x_80 = x_16; -} -lean_ctor_set(x_80, 0, x_68); -lean_ctor_set(x_80, 1, x_79); -x_81 = 1; -x_82 = lean_usize_add(x_3, x_81); -x_3 = x_82; -x_4 = x_80; -x_9 = x_70; -goto _start; -} -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_getForbiddenByTrivialSizeOf___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; size_t x_20; lean_object* x_21; -x_9 = lean_array_get_size(x_2); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_9); -lean_ctor_set(x_12, 2, x_11); -x_13 = lean_array_get_size(x_2); -x_14 = l_Array_toSubarray___rarg(x_2, x_1, x_13); -x_15 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__1; -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_12); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_ctor_get(x_14, 2); -lean_inc(x_17); -x_18 = lean_usize_of_nat(x_17); -lean_dec(x_17); -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -x_20 = lean_usize_of_nat(x_19); -lean_dec(x_19); -x_21 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1(x_14, x_18, x_20, x_16, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_14); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +uint8_t x_25; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) { -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -lean_ctor_set(x_21, 0, x_24); return x_21; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_ctor_get(x_21, 0); -x_26 = lean_ctor_get(x_21, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_21, 0); +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); lean_dec(x_21); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_26); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); return x_28; } } +} else { uint8_t x_29; -x_29 = !lean_is_exclusive(x_21); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_10); if (x_29 == 0) { -return x_21; +return x_10; } else { lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_21, 0); -x_31 = lean_ctor_get(x_21, 1); +x_30 = lean_ctor_get(x_10, 0); +x_31 = lean_ctor_get(x_10, 1); lean_inc(x_31); lean_inc(x_30); -lean_dec(x_21); +lean_dec(x_10); x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -3716,3824 +3460,541 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_getForbiddenByTrivialSizeOf(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_ctor_get(x_2, 5); -lean_inc(x_8); -lean_dec(x_2); -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_WF_getForbiddenByTrivialSizeOf___lambda__1___boxed), 8, 1); -lean_closure_set(x_9, 0, x_1); -x_10 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_8, x_9, x_3, x_4, x_5, x_6, x_7); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_4, x_3); +if (x_13 == 0) { -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_11 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_12 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_14; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_getForbiddenByTrivialSizeOf___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_WF_getForbiddenByTrivialSizeOf___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_3); -return x_9; -} +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_12); +return x_14; } -LEAN_EXPORT uint8_t l_Lean_Elab_WF_generateCombinations_x3f_isForbidden(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: +else { -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_1); -x_5 = lean_nat_dec_lt(x_2, x_4); -lean_dec(x_4); -if (x_5 == 0) +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_array_uget(x_2, x_4); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = !lean_is_exclusive(x_5); +if (x_19 == 0) { -uint8_t x_6; -x_6 = 0; -return x_6; -} -else +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_20 = lean_ctor_get(x_5, 0); +x_21 = lean_ctor_get(x_5, 1); +lean_dec(x_21); +x_22 = lean_ctor_get(x_16, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_16, 1); +lean_inc(x_23); +x_24 = lean_ctor_get(x_16, 2); +lean_inc(x_24); +x_25 = lean_nat_dec_lt(x_23, x_24); +if (x_25 == 0) { -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_fget(x_1, x_2); -x_8 = l_Array_contains___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__2(x_7, x_3); +lean_object* x_26; +lean_dec(x_24); +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); -return x_8; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_generateCombinations_x3f_isForbidden___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_Elab_WF_generateCombinations_x3f_isForbidden(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); +lean_dec(x_6); lean_dec(x_1); -x_5 = lean_box(x_4); -return x_5; -} +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_5); +lean_ctor_set(x_26, 1, x_12); +return x_26; } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_generateCombinations_x3f_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = lean_nat_dec_le(x_7, x_6); -if (x_12 == 0) +else { -lean_object* x_13; uint8_t x_14; -x_13 = lean_unsigned_to_nat(0u); -x_14 = lean_nat_dec_eq(x_5, x_13); -if (x_14 == 0) +uint8_t x_27; +x_27 = !lean_is_exclusive(x_16); +if (x_27 == 0) { -lean_object* x_15; lean_object* x_16; uint8_t x_17; -lean_dec(x_9); -x_15 = lean_unsigned_to_nat(1u); -x_16 = lean_nat_sub(x_5, x_15); -lean_dec(x_5); -x_17 = l_Lean_Elab_WF_generateCombinations_x3f_isForbidden(x_1, x_4, x_6); -if (x_17 == 0) +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_28 = lean_ctor_get(x_16, 2); +lean_dec(x_28); +x_29 = lean_ctor_get(x_16, 1); +lean_dec(x_29); +x_30 = lean_ctor_get(x_16, 0); +lean_dec(x_30); +x_31 = lean_array_fget(x_22, x_23); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_add(x_23, x_32); +lean_dec(x_23); +lean_ctor_set(x_16, 1, x_33); +x_34 = lean_ctor_get(x_20, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_20, 1); +lean_inc(x_35); +x_36 = lean_ctor_get(x_20, 2); +lean_inc(x_36); +x_37 = lean_nat_dec_lt(x_35, x_36); +if (x_37 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_nat_add(x_4, x_15); -lean_inc(x_6); -lean_inc(x_10); -x_19 = lean_array_push(x_10, x_6); -x_20 = l_Lean_Elab_WF_generateCombinations_x3f_go(x_1, x_2, x_3, x_18, x_19, x_11); +lean_object* x_38; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_31); lean_dec(x_18); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); -x_22 = !lean_is_exclusive(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_20, 0); -lean_dec(x_23); -x_24 = lean_box(0); -lean_ctor_set(x_20, 0, x_24); -return x_20; +lean_dec(x_1); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_5); +lean_ctor_set(x_38, 1, x_12); +return x_38; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -lean_dec(x_20); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -return x_27; -} -} -else +uint8_t x_39; +x_39 = !lean_is_exclusive(x_20); +if (x_39 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_21); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); -lean_dec(x_20); -x_29 = lean_nat_add(x_6, x_8); -lean_dec(x_6); -x_30 = lean_box(0); -x_5 = x_16; -x_6 = x_29; -x_9 = x_30; -x_11 = x_28; -goto _start; -} -} -else +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_20, 2); +lean_dec(x_40); +x_41 = lean_ctor_get(x_20, 1); +lean_dec(x_41); +x_42 = lean_ctor_get(x_20, 0); +lean_dec(x_42); +x_43 = lean_array_fget(x_34, x_35); +x_44 = lean_nat_add(x_35, x_32); +lean_dec(x_35); +lean_ctor_set(x_20, 1, x_44); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_43); +lean_inc(x_1); +x_45 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary(x_31, x_1, x_18, x_17, x_43, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_32; lean_object* x_33; -x_32 = lean_nat_add(x_6, x_8); -lean_dec(x_6); -x_33 = lean_box(0); -x_5 = x_16; -x_6 = x_32; -x_9 = x_33; +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +lean_inc(x_46); +x_48 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5___lambda__1), 9, 2); +lean_closure_set(x_48, 0, x_46); +lean_closure_set(x_48, 1, x_43); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_49 = l_Lean_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_46, x_48, x_6, x_7, x_8, x_9, x_10, x_11, x_47); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; size_t x_51; size_t x_52; +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); +x_51 = 1; +x_52 = lean_usize_add(x_4, x_51); +x_4 = x_52; +x_12 = x_50; goto _start; } -} else { -lean_object* x_35; lean_object* x_36; +uint8_t x_54; +lean_dec(x_20); +lean_dec(x_16); +lean_free_object(x_5); +lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_9); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_11); -return x_36; -} +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_49); +if (x_54 == 0) +{ +return x_49; } else { -lean_object* x_37; lean_object* x_38; -lean_dec(x_10); -lean_dec(x_6); -lean_dec(x_5); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_9); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_11); -return x_38; -} -} +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_49, 0); +x_56 = lean_ctor_get(x_49, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_49); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } -static lean_object* _init_l_Lean_Elab_WF_generateCombinations_x3f_go___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_generateCombinations_x3f_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_array_get_size(x_2); -x_8 = lean_nat_dec_lt(x_4, x_7); -lean_dec(x_7); -if (x_8 == 0) +else { -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = lean_array_push(x_6, x_5); -x_10 = lean_array_get_size(x_9); -x_11 = lean_nat_dec_lt(x_3, x_10); +uint8_t x_58; +lean_dec(x_20); +lean_dec(x_43); +lean_dec(x_16); +lean_free_object(x_5); +lean_dec(x_11); lean_dec(x_10); -if (x_11 == 0) +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_45); +if (x_58 == 0) { -lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_Elab_WF_generateCombinations_x3f_go___closed__1; -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_9); -return x_13; +return x_45; } else { -lean_object* x_14; lean_object* x_15; -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_9); -return x_15; +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_45, 0); +x_60 = lean_ctor_get(x_45, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_45); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_array_fget(x_2, x_4); -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_box(0); -lean_inc(x_16); -x_20 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_generateCombinations_x3f_go___spec__1(x_1, x_2, x_3, x_4, x_16, x_17, x_16, x_18, x_19, x_5, x_6); -lean_dec(x_16); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -if (lean_obj_tag(x_21) == 0) -{ -uint8_t x_22; -x_22 = !lean_is_exclusive(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_20, 0); -lean_dec(x_23); -x_24 = lean_box(0); -lean_ctor_set(x_20, 0, x_24); -return x_20; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_dec(x_20); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -return x_27; -} -} -else +x_62 = lean_array_fget(x_34, x_35); +x_63 = lean_nat_add(x_35, x_32); +lean_dec(x_35); +x_64 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_64, 0, x_34); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_36); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_62); +lean_inc(x_1); +x_65 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary(x_31, x_1, x_18, x_17, x_62, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_65) == 0) { -uint8_t x_28; -lean_dec(x_21); -x_28 = !lean_is_exclusive(x_20); -if (x_28 == 0) +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +lean_inc(x_66); +x_68 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5___lambda__1), 9, 2); +lean_closure_set(x_68, 0, x_66); +lean_closure_set(x_68, 1, x_62); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_69 = l_Lean_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_66, x_68, x_6, x_7, x_8, x_9, x_10, x_11, x_67); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_20, 0); -lean_dec(x_29); -x_30 = l_Lean_Elab_WF_generateCombinations_x3f_go___closed__1; -lean_ctor_set(x_20, 0, x_30); -return x_20; +lean_object* x_70; size_t x_71; size_t x_72; +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +lean_ctor_set(x_5, 0, x_64); +x_71 = 1; +x_72 = lean_usize_add(x_4, x_71); +x_4 = x_72; +x_12 = x_70; +goto _start; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_20, 1); -lean_inc(x_31); -lean_dec(x_20); -x_32 = l_Lean_Elab_WF_generateCombinations_x3f_go___closed__1; -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -return x_33; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_generateCombinations_x3f_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_generateCombinations_x3f_go___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_64); +lean_dec(x_16); +lean_free_object(x_5); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_dec(x_6); lean_dec(x_1); -return x_12; +x_74 = lean_ctor_get(x_69, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_69, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_76 = x_69; +} else { + lean_dec_ref(x_69); + x_76 = lean_box(0); } +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_generateCombinations_x3f_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_WF_generateCombinations_x3f_go(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_7; +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_generateCombinations_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: +else { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_unsigned_to_nat(0u); -x_5 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__1; -x_6 = l_Lean_Elab_WF_generateCombinations_x3f_go(x_1, x_2, x_3, x_4, x_5, x_5); -x_7 = lean_ctor_get(x_6, 1); -lean_inc(x_7); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_dec(x_64); +lean_dec(x_62); +lean_dec(x_16); +lean_free_object(x_5); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_generateCombinations_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_WF_generateCombinations_x3f(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 5); -x_10 = lean_ctor_get(x_2, 2); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; +x_78 = lean_ctor_get(x_65, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_65, 1); +lean_inc(x_79); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + x_80 = x_65; +} else { + lean_dec_ref(x_65); + x_80 = lean_box(0); } -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(1, 2, 0); +} else { + x_81 = x_80; } +lean_ctor_set(x_81, 0, x_78); +lean_ctor_set(x_81, 1, x_79); +return x_81; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__1___rarg___boxed), 8, 0); -return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: +else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 5); -x_10 = lean_ctor_get(x_2, 2); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +lean_dec(x_16); +x_82 = lean_array_fget(x_22, x_23); +x_83 = lean_unsigned_to_nat(1u); +x_84 = lean_nat_add(x_23, x_83); +lean_dec(x_23); +x_85 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_85, 0, x_22); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_85, 2, x_24); +x_86 = lean_ctor_get(x_20, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_20, 1); +lean_inc(x_87); +x_88 = lean_ctor_get(x_20, 2); +lean_inc(x_88); +x_89 = lean_nat_dec_lt(x_87, x_88); +if (x_89 == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; +lean_object* x_90; +lean_dec(x_88); +lean_dec(x_87); +lean_dec(x_86); +lean_dec(x_82); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +lean_ctor_set(x_5, 1, x_85); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_5); +lean_ctor_set(x_90, 1, x_12); +return x_90; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2___rarg___boxed), 8, 0); -return x_2; +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + lean_ctor_release(x_20, 2); + x_91 = x_20; +} else { + lean_dec_ref(x_20); + x_91 = lean_box(0); } +x_92 = lean_array_fget(x_86, x_87); +x_93 = lean_nat_add(x_87, x_83); +lean_dec(x_87); +if (lean_is_scalar(x_91)) { + x_94 = lean_alloc_ctor(0, 3, 0); +} else { + x_94 = x_91; } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 5); -x_10 = lean_ctor_get(x_2, 2); -lean_inc(x_10); +lean_ctor_set(x_94, 0, x_86); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set(x_94, 2, x_88); +lean_inc(x_11); lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_92); +lean_inc(x_1); +x_95 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary(x_82, x_1, x_18, x_17, x_92, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_95) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3___rarg___boxed), 8, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel_go___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_10 = lean_st_ref_take(x_6, x_9); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_10, 1); -lean_inc(x_13); -lean_dec(x_10); -x_14 = !lean_is_exclusive(x_11); -if (x_14 == 0) -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_11, 0); -lean_dec(x_15); -x_16 = !lean_is_exclusive(x_12); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_ctor_get(x_12, 7); -x_18 = l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_17, x_1, x_2); -lean_ctor_set(x_12, 7, x_18); -x_19 = lean_st_ref_set(x_6, x_11, x_13); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -x_22 = lean_box(0); -lean_ctor_set(x_19, 0, x_22); -return x_19; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_19, 1); -lean_inc(x_23); -lean_dec(x_19); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -return x_25; -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_26 = lean_ctor_get(x_12, 0); -x_27 = lean_ctor_get(x_12, 1); -x_28 = lean_ctor_get(x_12, 2); -x_29 = lean_ctor_get(x_12, 3); -x_30 = lean_ctor_get(x_12, 4); -x_31 = lean_ctor_get(x_12, 5); -x_32 = lean_ctor_get(x_12, 6); -x_33 = lean_ctor_get(x_12, 7); -x_34 = lean_ctor_get(x_12, 8); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_12); -x_35 = l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_33, x_1, x_2); -x_36 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_36, 0, x_26); -lean_ctor_set(x_36, 1, x_27); -lean_ctor_set(x_36, 2, x_28); -lean_ctor_set(x_36, 3, x_29); -lean_ctor_set(x_36, 4, x_30); -lean_ctor_set(x_36, 5, x_31); -lean_ctor_set(x_36, 6, x_32); -lean_ctor_set(x_36, 7, x_35); -lean_ctor_set(x_36, 8, x_34); -lean_ctor_set(x_11, 0, x_36); -x_37 = lean_st_ref_set(x_6, x_11, x_13); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -if (lean_is_exclusive(x_37)) { - lean_ctor_release(x_37, 0); - lean_ctor_release(x_37, 1); - x_39 = x_37; -} else { - lean_dec_ref(x_37); - x_39 = lean_box(0); -} -x_40 = lean_box(0); -if (lean_is_scalar(x_39)) { - x_41 = lean_alloc_ctor(0, 2, 0); -} else { - x_41 = x_39; -} -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_38); -return x_41; -} -} -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_42 = lean_ctor_get(x_11, 1); -x_43 = lean_ctor_get(x_11, 2); -x_44 = lean_ctor_get(x_11, 3); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_11); -x_45 = lean_ctor_get(x_12, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_12, 1); -lean_inc(x_46); -x_47 = lean_ctor_get(x_12, 2); -lean_inc(x_47); -x_48 = lean_ctor_get(x_12, 3); -lean_inc(x_48); -x_49 = lean_ctor_get(x_12, 4); -lean_inc(x_49); -x_50 = lean_ctor_get(x_12, 5); -lean_inc(x_50); -x_51 = lean_ctor_get(x_12, 6); -lean_inc(x_51); -x_52 = lean_ctor_get(x_12, 7); -lean_inc(x_52); -x_53 = lean_ctor_get(x_12, 8); -lean_inc(x_53); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - lean_ctor_release(x_12, 1); - lean_ctor_release(x_12, 2); - lean_ctor_release(x_12, 3); - lean_ctor_release(x_12, 4); - lean_ctor_release(x_12, 5); - lean_ctor_release(x_12, 6); - lean_ctor_release(x_12, 7); - lean_ctor_release(x_12, 8); - x_54 = x_12; -} else { - lean_dec_ref(x_12); - x_54 = lean_box(0); -} -x_55 = l_Lean_PersistentHashMap_insert___at_Lean_MVarId_assign___spec__1(x_52, x_1, x_2); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 9, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_45); -lean_ctor_set(x_56, 1, x_46); -lean_ctor_set(x_56, 2, x_47); -lean_ctor_set(x_56, 3, x_48); -lean_ctor_set(x_56, 4, x_49); -lean_ctor_set(x_56, 5, x_50); -lean_ctor_set(x_56, 6, x_51); -lean_ctor_set(x_56, 7, x_55); -lean_ctor_set(x_56, 8, x_53); -x_57 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_42); -lean_ctor_set(x_57, 2, x_43); -lean_ctor_set(x_57, 3, x_44); -x_58 = lean_st_ref_set(x_6, x_57, x_13); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_60 = x_58; -} else { - lean_dec_ref(x_58); - x_60 = lean_box(0); -} -x_61 = lean_box(0); -if (lean_is_scalar(x_60)) { - x_62 = lean_alloc_ctor(0, 2, 0); -} else { - x_62 = x_60; -} -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_59); -return x_62; -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -lean_inc(x_1); -x_10 = l_Lean_MVarId_getType(x_1, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_11 = lean_ctor_get(x_10, 0); +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +lean_inc(x_96); +x_98 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5___lambda__1), 9, 2); +lean_closure_set(x_98, 0, x_96); +lean_closure_set(x_98, 1, x_92); lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_ctor_get(x_2, 3); -lean_inc(x_13); -lean_dec(x_2); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_11); -x_15 = lean_box(0); -x_16 = 1; -x_17 = lean_box(x_16); -x_18 = lean_box(x_16); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_19, 0, x_13); -lean_closure_set(x_19, 1, x_14); -lean_closure_set(x_19, 2, x_17); -lean_closure_set(x_19, 3, x_18); -lean_closure_set(x_19, 4, x_15); -x_20 = 0; +lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_21 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_19, x_20, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_12); -if (lean_obj_tag(x_21) == 0) +x_99 = l_Lean_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_96, x_98, x_6, x_7, x_8, x_9, x_10, x_11, x_97); +if (lean_obj_tag(x_99) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel_go___spec__4(x_1, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_24; -} -else -{ -uint8_t x_25; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_25 = !lean_is_exclusive(x_21); -if (x_25 == 0) -{ -return x_21; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_21, 0); -x_27 = lean_ctor_get(x_21, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_21); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -else -{ -uint8_t x_29; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_29 = !lean_is_exclusive(x_10); -if (x_29 == 0) -{ -return x_10; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_10, 0); -x_31 = lean_ctor_get(x_10, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_10); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_4, x_3); -if (x_13 == 0) -{ -lean_object* x_14; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_5); -lean_ctor_set(x_14, 1, x_12); -return x_14; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_array_uget(x_2, x_4); -x_16 = lean_ctor_get(x_5, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = !lean_is_exclusive(x_5); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_20 = lean_ctor_get(x_5, 0); -x_21 = lean_ctor_get(x_5, 1); -lean_dec(x_21); -x_22 = lean_ctor_get(x_16, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_16, 1); -lean_inc(x_23); -x_24 = lean_ctor_get(x_16, 2); -lean_inc(x_24); -x_25 = lean_nat_dec_lt(x_23, x_24); -if (x_25 == 0) -{ -lean_object* x_26; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_5); -lean_ctor_set(x_26, 1, x_12); -return x_26; -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_16); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_28 = lean_ctor_get(x_16, 2); -lean_dec(x_28); -x_29 = lean_ctor_get(x_16, 1); -lean_dec(x_29); -x_30 = lean_ctor_get(x_16, 0); -lean_dec(x_30); -x_31 = lean_array_fget(x_22, x_23); -x_32 = lean_unsigned_to_nat(1u); -x_33 = lean_nat_add(x_23, x_32); -lean_dec(x_23); -lean_ctor_set(x_16, 1, x_33); -x_34 = lean_ctor_get(x_20, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_20, 1); -lean_inc(x_35); -x_36 = lean_ctor_get(x_20, 2); -lean_inc(x_36); -x_37 = lean_nat_dec_lt(x_35, x_36); -if (x_37 == 0) -{ -lean_object* x_38; -lean_dec(x_36); -lean_dec(x_35); -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_5); -lean_ctor_set(x_38, 1, x_12); -return x_38; -} -else -{ -uint8_t x_39; -x_39 = !lean_is_exclusive(x_20); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_40 = lean_ctor_get(x_20, 2); -lean_dec(x_40); -x_41 = lean_ctor_get(x_20, 1); -lean_dec(x_41); -x_42 = lean_ctor_get(x_20, 0); -lean_dec(x_42); -x_43 = lean_array_fget(x_34, x_35); -x_44 = lean_nat_add(x_35, x_32); -lean_dec(x_35); -lean_ctor_set(x_20, 1, x_44); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_43); -lean_inc(x_1); -x_45 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary(x_31, x_1, x_18, x_17, x_43, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -lean_inc(x_46); -x_48 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5___lambda__1), 9, 2); -lean_closure_set(x_48, 0, x_46); -lean_closure_set(x_48, 1, x_43); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_49 = l_Lean_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_46, x_48, x_6, x_7, x_8, x_9, x_10, x_11, x_47); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; size_t x_51; size_t x_52; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = 1; -x_52 = lean_usize_add(x_4, x_51); -x_4 = x_52; -x_12 = x_50; +lean_object* x_100; size_t x_101; size_t x_102; +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +lean_dec(x_99); +lean_ctor_set(x_5, 1, x_85); +lean_ctor_set(x_5, 0, x_94); +x_101 = 1; +x_102 = lean_usize_add(x_4, x_101); +x_4 = x_102; +x_12 = x_100; goto _start; } -else -{ -uint8_t x_54; -lean_dec(x_20); -lean_dec(x_16); -lean_free_object(x_5); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_49); -if (x_54 == 0) -{ -return x_49; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_49, 0); -x_56 = lean_ctor_get(x_49, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_49); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -else -{ -uint8_t x_58; -lean_dec(x_20); -lean_dec(x_43); -lean_dec(x_16); -lean_free_object(x_5); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_58 = !lean_is_exclusive(x_45); -if (x_58 == 0) -{ -return x_45; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_45, 0); -x_60 = lean_ctor_get(x_45, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_45); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; -} -} -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -lean_dec(x_20); -x_62 = lean_array_fget(x_34, x_35); -x_63 = lean_nat_add(x_35, x_32); -lean_dec(x_35); -x_64 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_64, 0, x_34); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set(x_64, 2, x_36); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_62); -lean_inc(x_1); -x_65 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary(x_31, x_1, x_18, x_17, x_62, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -lean_inc(x_66); -x_68 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5___lambda__1), 9, 2); -lean_closure_set(x_68, 0, x_66); -lean_closure_set(x_68, 1, x_62); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_69 = l_Lean_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_66, x_68, x_6, x_7, x_8, x_9, x_10, x_11, x_67); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; size_t x_71; size_t x_72; -x_70 = lean_ctor_get(x_69, 1); -lean_inc(x_70); -lean_dec(x_69); -lean_ctor_set(x_5, 0, x_64); -x_71 = 1; -x_72 = lean_usize_add(x_4, x_71); -x_4 = x_72; -x_12 = x_70; -goto _start; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -lean_dec(x_64); -lean_dec(x_16); -lean_free_object(x_5); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_74 = lean_ctor_get(x_69, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_69, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - x_76 = x_69; -} else { - lean_dec_ref(x_69); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(1, 2, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_74); -lean_ctor_set(x_77, 1, x_75); -return x_77; -} -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -lean_dec(x_64); -lean_dec(x_62); -lean_dec(x_16); -lean_free_object(x_5); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_78 = lean_ctor_get(x_65, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_65, 1); -lean_inc(x_79); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_80 = x_65; -} else { - lean_dec_ref(x_65); - x_80 = lean_box(0); -} -if (lean_is_scalar(x_80)) { - x_81 = lean_alloc_ctor(1, 2, 0); -} else { - x_81 = x_80; -} -lean_ctor_set(x_81, 0, x_78); -lean_ctor_set(x_81, 1, x_79); -return x_81; -} -} -} -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; -lean_dec(x_16); -x_82 = lean_array_fget(x_22, x_23); -x_83 = lean_unsigned_to_nat(1u); -x_84 = lean_nat_add(x_23, x_83); -lean_dec(x_23); -x_85 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_85, 0, x_22); -lean_ctor_set(x_85, 1, x_84); -lean_ctor_set(x_85, 2, x_24); -x_86 = lean_ctor_get(x_20, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_20, 1); -lean_inc(x_87); -x_88 = lean_ctor_get(x_20, 2); -lean_inc(x_88); -x_89 = lean_nat_dec_lt(x_87, x_88); -if (x_89 == 0) -{ -lean_object* x_90; -lean_dec(x_88); -lean_dec(x_87); -lean_dec(x_86); -lean_dec(x_82); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -lean_ctor_set(x_5, 1, x_85); -x_90 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_90, 0, x_5); -lean_ctor_set(x_90, 1, x_12); -return x_90; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - lean_ctor_release(x_20, 2); - x_91 = x_20; -} else { - lean_dec_ref(x_20); - x_91 = lean_box(0); -} -x_92 = lean_array_fget(x_86, x_87); -x_93 = lean_nat_add(x_87, x_83); -lean_dec(x_87); -if (lean_is_scalar(x_91)) { - x_94 = lean_alloc_ctor(0, 3, 0); -} else { - x_94 = x_91; -} -lean_ctor_set(x_94, 0, x_86); -lean_ctor_set(x_94, 1, x_93); -lean_ctor_set(x_94, 2, x_88); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_92); -lean_inc(x_1); -x_95 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary(x_82, x_1, x_18, x_17, x_92, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_95) == 0) -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -lean_inc(x_96); -x_98 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5___lambda__1), 9, 2); -lean_closure_set(x_98, 0, x_96); -lean_closure_set(x_98, 1, x_92); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_99 = l_Lean_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_96, x_98, x_6, x_7, x_8, x_9, x_10, x_11, x_97); -if (lean_obj_tag(x_99) == 0) -{ -lean_object* x_100; size_t x_101; size_t x_102; -x_100 = lean_ctor_get(x_99, 1); -lean_inc(x_100); -lean_dec(x_99); -lean_ctor_set(x_5, 1, x_85); -lean_ctor_set(x_5, 0, x_94); -x_101 = 1; -x_102 = lean_usize_add(x_4, x_101); -x_4 = x_102; -x_12 = x_100; -goto _start; -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -lean_dec(x_94); -lean_dec(x_85); -lean_free_object(x_5); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_104 = lean_ctor_get(x_99, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_99, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_99)) { - lean_ctor_release(x_99, 0); - lean_ctor_release(x_99, 1); - x_106 = x_99; -} else { - lean_dec_ref(x_99); - x_106 = lean_box(0); -} -if (lean_is_scalar(x_106)) { - x_107 = lean_alloc_ctor(1, 2, 0); -} else { - x_107 = x_106; -} -lean_ctor_set(x_107, 0, x_104); -lean_ctor_set(x_107, 1, x_105); -return x_107; -} -} -else -{ -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -lean_dec(x_94); -lean_dec(x_92); -lean_dec(x_85); -lean_free_object(x_5); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_108 = lean_ctor_get(x_95, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_95, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_95)) { - lean_ctor_release(x_95, 0); - lean_ctor_release(x_95, 1); - x_110 = x_95; -} else { - lean_dec_ref(x_95); - x_110 = lean_box(0); -} -if (lean_is_scalar(x_110)) { - x_111 = lean_alloc_ctor(1, 2, 0); -} else { - x_111 = x_110; -} -lean_ctor_set(x_111, 0, x_108); -lean_ctor_set(x_111, 1, x_109); -return x_111; -} -} -} -} -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_112 = lean_ctor_get(x_5, 0); -lean_inc(x_112); -lean_dec(x_5); -x_113 = lean_ctor_get(x_16, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_16, 1); -lean_inc(x_114); -x_115 = lean_ctor_get(x_16, 2); -lean_inc(x_115); -x_116 = lean_nat_dec_lt(x_114, x_115); -if (x_116 == 0) -{ -lean_object* x_117; lean_object* x_118; -lean_dec(x_115); -lean_dec(x_114); -lean_dec(x_113); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_112); -lean_ctor_set(x_117, 1, x_16); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_12); -return x_118; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - lean_ctor_release(x_16, 2); - x_119 = x_16; -} else { - lean_dec_ref(x_16); - x_119 = lean_box(0); -} -x_120 = lean_array_fget(x_113, x_114); -x_121 = lean_unsigned_to_nat(1u); -x_122 = lean_nat_add(x_114, x_121); -lean_dec(x_114); -if (lean_is_scalar(x_119)) { - x_123 = lean_alloc_ctor(0, 3, 0); -} else { - x_123 = x_119; -} -lean_ctor_set(x_123, 0, x_113); -lean_ctor_set(x_123, 1, x_122); -lean_ctor_set(x_123, 2, x_115); -x_124 = lean_ctor_get(x_112, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_112, 1); -lean_inc(x_125); -x_126 = lean_ctor_get(x_112, 2); -lean_inc(x_126); -x_127 = lean_nat_dec_lt(x_125, x_126); -if (x_127 == 0) -{ -lean_object* x_128; lean_object* x_129; -lean_dec(x_126); -lean_dec(x_125); -lean_dec(x_124); -lean_dec(x_120); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_112); -lean_ctor_set(x_128, 1, x_123); -x_129 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_12); -return x_129; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - lean_ctor_release(x_112, 2); - x_130 = x_112; -} else { - lean_dec_ref(x_112); - x_130 = lean_box(0); -} -x_131 = lean_array_fget(x_124, x_125); -x_132 = lean_nat_add(x_125, x_121); -lean_dec(x_125); -if (lean_is_scalar(x_130)) { - x_133 = lean_alloc_ctor(0, 3, 0); -} else { - x_133 = x_130; -} -lean_ctor_set(x_133, 0, x_124); -lean_ctor_set(x_133, 1, x_132); -lean_ctor_set(x_133, 2, x_126); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_131); -lean_inc(x_1); -x_134 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary(x_120, x_1, x_18, x_17, x_131, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_134) == 0) -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -lean_inc(x_135); -x_137 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5___lambda__1), 9, 2); -lean_closure_set(x_137, 0, x_135); -lean_closure_set(x_137, 1, x_131); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_138 = l_Lean_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_135, x_137, x_6, x_7, x_8, x_9, x_10, x_11, x_136); -if (lean_obj_tag(x_138) == 0) -{ -lean_object* x_139; lean_object* x_140; size_t x_141; size_t x_142; -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -lean_dec(x_138); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_133); -lean_ctor_set(x_140, 1, x_123); -x_141 = 1; -x_142 = lean_usize_add(x_4, x_141); -x_4 = x_142; -x_5 = x_140; -x_12 = x_139; -goto _start; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_133); -lean_dec(x_123); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_144 = lean_ctor_get(x_138, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_138, 1); -lean_inc(x_145); -if (lean_is_exclusive(x_138)) { - lean_ctor_release(x_138, 0); - lean_ctor_release(x_138, 1); - x_146 = x_138; -} else { - lean_dec_ref(x_138); - x_146 = lean_box(0); -} -if (lean_is_scalar(x_146)) { - x_147 = lean_alloc_ctor(1, 2, 0); -} else { - x_147 = x_146; -} -lean_ctor_set(x_147, 0, x_144); -lean_ctor_set(x_147, 1, x_145); -return x_147; -} -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -lean_dec(x_133); -lean_dec(x_131); -lean_dec(x_123); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_148 = lean_ctor_get(x_134, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_134, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_134)) { - lean_ctor_release(x_134, 0); - lean_ctor_release(x_134, 1); - x_150 = x_134; -} else { - lean_dec_ref(x_134); - x_150 = lean_box(0); -} -if (lean_is_scalar(x_150)) { - x_151 = lean_alloc_ctor(1, 2, 0); -} else { - x_151 = x_150; -} -lean_ctor_set(x_151, 0, x_148); -lean_ctor_set(x_151, 1, x_149); -return x_151; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 5); -x_10 = lean_ctor_get(x_2, 2); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6___rarg___boxed), 8, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("invImage", 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__3() { -_start: -{ -uint8_t x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; -x_1 = 0; -x_2 = 1; -x_3 = 0; -x_4 = lean_alloc_ctor(0, 0, 4); -lean_ctor_set_uint8(x_4, 0, x_1); -lean_ctor_set_uint8(x_4, 1, x_2); -lean_ctor_set_uint8(x_4, 2, x_3); -lean_ctor_set_uint8(x_4, 3, x_2); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("failed to apply 'invImage'", 26); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_11); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_15 = lean_ctor_get(x_11, 5); -x_16 = l_Lean_replaceRef(x_1, x_15); -lean_dec(x_15); -lean_dec(x_1); -lean_ctor_set(x_11, 5, x_16); -x_17 = lean_box(0); -lean_inc(x_9); -x_18 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_2, x_17, x_9, x_10, x_11, x_12, x_13); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = l_Lean_Expr_mvarId_x21(x_19); -x_22 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__2; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_23 = l_Lean_Meta_mkConstWithFreshMVarLevels(x_22, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__3; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_21); -x_27 = l_Lean_MVarId_apply(x_21, x_24, x_26, x_9, x_10, x_11, x_12, x_25); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_21); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5; -x_31 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__1___rarg(x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_29); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_31; -} -else -{ -lean_object* x_32; -x_32 = lean_ctor_get(x_28, 1); -lean_inc(x_32); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_28); -lean_dec(x_21); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_33 = lean_ctor_get(x_27, 1); -lean_inc(x_33); -lean_dec(x_27); -x_34 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5; -x_35 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2___rarg(x_34, x_7, x_8, x_9, x_10, x_11, x_12, x_33); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_35; -} -else -{ -lean_object* x_36; -x_36 = lean_ctor_get(x_32, 1); -lean_inc(x_36); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_32); -lean_dec(x_28); -lean_dec(x_21); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_37 = lean_ctor_get(x_27, 1); -lean_inc(x_37); -lean_dec(x_27); -x_38 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5; -x_39 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3___rarg(x_38, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_39; -} -else -{ -lean_object* x_40; -x_40 = lean_ctor_get(x_36, 1); -lean_inc(x_40); -lean_dec(x_36); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; -x_41 = lean_ctor_get(x_27, 1); -lean_inc(x_41); -lean_dec(x_27); -x_42 = lean_ctor_get(x_28, 0); -lean_inc(x_42); -lean_dec(x_28); -x_43 = lean_ctor_get(x_32, 0); -lean_inc(x_43); -lean_dec(x_32); -x_44 = 0; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_45 = l_Lean_Meta_intro1Core(x_42, x_44, x_9, x_10, x_11, x_12, x_41); -if (lean_obj_tag(x_45) == 0) -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_ctor_get(x_46, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_46, 1); -lean_inc(x_49); -lean_dec(x_46); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_3); -x_50 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual(x_3, x_49, x_48, x_7, x_8, x_9, x_10, x_11, x_12, x_47); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; lean_object* x_62; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_array_get_size(x_4); -x_54 = lean_unsigned_to_nat(0u); -x_55 = l_Array_toSubarray___rarg(x_4, x_54, x_53); -x_56 = lean_array_get_size(x_3); -x_57 = l_Array_toSubarray___rarg(x_3, x_54, x_56); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_55); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_array_get_size(x_51); -x_60 = lean_usize_of_nat(x_59); -lean_dec(x_59); -x_61 = 0; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_62 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5(x_5, x_51, x_60, x_61, x_58, x_7, x_8, x_9, x_10, x_11, x_12, x_52); -lean_dec(x_51); -if (lean_obj_tag(x_62) == 0) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -lean_inc(x_43); -x_64 = l_Lean_Expr_mvar___override(x_43); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_65 = lean_infer_type(x_64, x_9, x_10, x_11, x_12, x_63); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_box(0); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_69 = l_Lean_Meta_synthInstance(x_66, x_68, x_9, x_10, x_11, x_12, x_67); -if (lean_obj_tag(x_69) == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); -x_72 = l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__1(x_43, x_70, x_7, x_8, x_9, x_10, x_11, x_12, x_71); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); -x_74 = l_Lean_Expr_mvar___override(x_21); -x_75 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_74, x_7, x_8, x_9, x_10, x_11, x_12, x_73); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_apply_8(x_6, x_76, x_7, x_8, x_9, x_10, x_11, x_12, x_77); -return x_78; -} -else -{ -uint8_t x_79; -lean_dec(x_43); -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_79 = !lean_is_exclusive(x_69); -if (x_79 == 0) -{ -return x_69; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_69, 0); -x_81 = lean_ctor_get(x_69, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_69); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; -} -} -} -else -{ -uint8_t x_83; -lean_dec(x_43); -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_83 = !lean_is_exclusive(x_65); -if (x_83 == 0) -{ -return x_65; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_65, 0); -x_85 = lean_ctor_get(x_65, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_65); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; -} -} -} -else -{ -uint8_t x_87; -lean_dec(x_43); -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_87 = !lean_is_exclusive(x_62); -if (x_87 == 0) -{ -return x_62; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_62, 0); -x_89 = lean_ctor_get(x_62, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_62); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; -} -} -} -else -{ -uint8_t x_91; -lean_dec(x_43); -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_91 = !lean_is_exclusive(x_50); -if (x_91 == 0) -{ -return x_50; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_50, 0); -x_93 = lean_ctor_get(x_50, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_50); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} -} -} -else -{ -uint8_t x_95; -lean_dec(x_43); -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_95 = !lean_is_exclusive(x_45); -if (x_95 == 0) -{ -return x_45; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_45, 0); -x_97 = lean_ctor_get(x_45, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_45); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; -} -} -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -lean_dec(x_40); -lean_dec(x_32); -lean_dec(x_28); -lean_dec(x_21); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_99 = lean_ctor_get(x_27, 1); -lean_inc(x_99); -lean_dec(x_27); -x_100 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5; -x_101 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6___rarg(x_100, x_7, x_8, x_9, x_10, x_11, x_12, x_99); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_101; -} -} -} -} -} -else -{ -uint8_t x_102; -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_102 = !lean_is_exclusive(x_27); -if (x_102 == 0) -{ -return x_27; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_27, 0); -x_104 = lean_ctor_get(x_27, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_27); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; -} -} -} -else -{ -uint8_t x_106; -lean_dec(x_21); -lean_dec(x_11); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_106 = !lean_is_exclusive(x_23); -if (x_106 == 0) -{ -return x_23; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_23, 0); -x_108 = lean_ctor_get(x_23, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_23); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; -} -} -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_110 = lean_ctor_get(x_11, 0); -x_111 = lean_ctor_get(x_11, 1); -x_112 = lean_ctor_get(x_11, 2); -x_113 = lean_ctor_get(x_11, 3); -x_114 = lean_ctor_get(x_11, 4); -x_115 = lean_ctor_get(x_11, 5); -x_116 = lean_ctor_get(x_11, 6); -x_117 = lean_ctor_get(x_11, 7); -x_118 = lean_ctor_get(x_11, 8); -x_119 = lean_ctor_get(x_11, 9); -x_120 = lean_ctor_get(x_11, 10); -x_121 = lean_ctor_get_uint8(x_11, sizeof(void*)*11); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); -lean_inc(x_117); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_11); -x_122 = l_Lean_replaceRef(x_1, x_115); -lean_dec(x_115); -lean_dec(x_1); -x_123 = lean_alloc_ctor(0, 11, 1); -lean_ctor_set(x_123, 0, x_110); -lean_ctor_set(x_123, 1, x_111); -lean_ctor_set(x_123, 2, x_112); -lean_ctor_set(x_123, 3, x_113); -lean_ctor_set(x_123, 4, x_114); -lean_ctor_set(x_123, 5, x_122); -lean_ctor_set(x_123, 6, x_116); -lean_ctor_set(x_123, 7, x_117); -lean_ctor_set(x_123, 8, x_118); -lean_ctor_set(x_123, 9, x_119); -lean_ctor_set(x_123, 10, x_120); -lean_ctor_set_uint8(x_123, sizeof(void*)*11, x_121); -x_124 = lean_box(0); -lean_inc(x_9); -x_125 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_2, x_124, x_9, x_10, x_123, x_12, x_13); -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_128 = l_Lean_Expr_mvarId_x21(x_126); -x_129 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__2; -lean_inc(x_12); -lean_inc(x_123); -lean_inc(x_10); -lean_inc(x_9); -x_130 = l_Lean_Meta_mkConstWithFreshMVarLevels(x_129, x_9, x_10, x_123, x_12, x_127); -if (lean_obj_tag(x_130) == 0) -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -x_132 = lean_ctor_get(x_130, 1); -lean_inc(x_132); -lean_dec(x_130); -x_133 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__3; -lean_inc(x_12); -lean_inc(x_123); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_128); -x_134 = l_Lean_MVarId_apply(x_128, x_131, x_133, x_9, x_10, x_123, x_12, x_132); -if (lean_obj_tag(x_134) == 0) -{ -lean_object* x_135; -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -if (lean_obj_tag(x_135) == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; -lean_dec(x_128); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_136 = lean_ctor_get(x_134, 1); -lean_inc(x_136); -lean_dec(x_134); -x_137 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5; -x_138 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__1___rarg(x_137, x_7, x_8, x_9, x_10, x_123, x_12, x_136); -lean_dec(x_12); -lean_dec(x_123); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_138; -} -else -{ -lean_object* x_139; -x_139 = lean_ctor_get(x_135, 1); -lean_inc(x_139); -if (lean_obj_tag(x_139) == 0) -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; -lean_dec(x_135); -lean_dec(x_128); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_140 = lean_ctor_get(x_134, 1); -lean_inc(x_140); -lean_dec(x_134); -x_141 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5; -x_142 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2___rarg(x_141, x_7, x_8, x_9, x_10, x_123, x_12, x_140); -lean_dec(x_12); -lean_dec(x_123); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_142; -} -else -{ -lean_object* x_143; -x_143 = lean_ctor_get(x_139, 1); -lean_inc(x_143); -if (lean_obj_tag(x_143) == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; -lean_dec(x_139); -lean_dec(x_135); -lean_dec(x_128); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_144 = lean_ctor_get(x_134, 1); -lean_inc(x_144); -lean_dec(x_134); -x_145 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5; -x_146 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3___rarg(x_145, x_7, x_8, x_9, x_10, x_123, x_12, x_144); -lean_dec(x_12); -lean_dec(x_123); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_146; -} -else -{ -lean_object* x_147; -x_147 = lean_ctor_get(x_143, 1); -lean_inc(x_147); -lean_dec(x_143); -if (lean_obj_tag(x_147) == 0) -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; -x_148 = lean_ctor_get(x_134, 1); -lean_inc(x_148); -lean_dec(x_134); -x_149 = lean_ctor_get(x_135, 0); -lean_inc(x_149); -lean_dec(x_135); -x_150 = lean_ctor_get(x_139, 0); -lean_inc(x_150); -lean_dec(x_139); -x_151 = 0; -lean_inc(x_12); -lean_inc(x_123); -lean_inc(x_10); -lean_inc(x_9); -x_152 = l_Lean_Meta_intro1Core(x_149, x_151, x_9, x_10, x_123, x_12, x_148); -if (lean_obj_tag(x_152) == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); -lean_inc(x_154); -lean_dec(x_152); -x_155 = lean_ctor_get(x_153, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_153, 1); -lean_inc(x_156); -lean_dec(x_153); -lean_inc(x_12); -lean_inc(x_123); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_3); -x_157 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual(x_3, x_156, x_155, x_7, x_8, x_9, x_10, x_123, x_12, x_154); -if (lean_obj_tag(x_157) == 0) -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; size_t x_167; size_t x_168; lean_object* x_169; -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = lean_array_get_size(x_4); -x_161 = lean_unsigned_to_nat(0u); -x_162 = l_Array_toSubarray___rarg(x_4, x_161, x_160); -x_163 = lean_array_get_size(x_3); -x_164 = l_Array_toSubarray___rarg(x_3, x_161, x_163); -x_165 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_165, 0, x_162); -lean_ctor_set(x_165, 1, x_164); -x_166 = lean_array_get_size(x_158); -x_167 = lean_usize_of_nat(x_166); -lean_dec(x_166); -x_168 = 0; -lean_inc(x_12); -lean_inc(x_123); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_169 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5(x_5, x_158, x_167, x_168, x_165, x_7, x_8, x_9, x_10, x_123, x_12, x_159); -lean_dec(x_158); -if (lean_obj_tag(x_169) == 0) -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_170 = lean_ctor_get(x_169, 1); -lean_inc(x_170); -lean_dec(x_169); -lean_inc(x_150); -x_171 = l_Lean_Expr_mvar___override(x_150); -lean_inc(x_12); -lean_inc(x_123); -lean_inc(x_10); -lean_inc(x_9); -x_172 = lean_infer_type(x_171, x_9, x_10, x_123, x_12, x_170); -if (lean_obj_tag(x_172) == 0) -{ -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_173 = lean_ctor_get(x_172, 0); -lean_inc(x_173); -x_174 = lean_ctor_get(x_172, 1); -lean_inc(x_174); -lean_dec(x_172); -x_175 = lean_box(0); -lean_inc(x_12); -lean_inc(x_123); -lean_inc(x_10); -lean_inc(x_9); -x_176 = l_Lean_Meta_synthInstance(x_173, x_175, x_9, x_10, x_123, x_12, x_174); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__1(x_150, x_177, x_7, x_8, x_9, x_10, x_123, x_12, x_178); -x_180 = lean_ctor_get(x_179, 1); -lean_inc(x_180); -lean_dec(x_179); -x_181 = l_Lean_Expr_mvar___override(x_128); -x_182 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_181, x_7, x_8, x_9, x_10, x_123, x_12, x_180); -x_183 = lean_ctor_get(x_182, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_182, 1); -lean_inc(x_184); -lean_dec(x_182); -x_185 = lean_apply_8(x_6, x_183, x_7, x_8, x_9, x_10, x_123, x_12, x_184); -return x_185; -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; -lean_dec(x_150); -lean_dec(x_128); -lean_dec(x_123); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_186 = lean_ctor_get(x_176, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_176, 1); -lean_inc(x_187); -if (lean_is_exclusive(x_176)) { - lean_ctor_release(x_176, 0); - lean_ctor_release(x_176, 1); - x_188 = x_176; -} else { - lean_dec_ref(x_176); - x_188 = lean_box(0); -} -if (lean_is_scalar(x_188)) { - x_189 = lean_alloc_ctor(1, 2, 0); -} else { - x_189 = x_188; -} -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_187); -return x_189; -} -} -else -{ -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; -lean_dec(x_150); -lean_dec(x_128); -lean_dec(x_123); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_190 = lean_ctor_get(x_172, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_172, 1); -lean_inc(x_191); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - lean_ctor_release(x_172, 1); - x_192 = x_172; -} else { - lean_dec_ref(x_172); - x_192 = lean_box(0); -} -if (lean_is_scalar(x_192)) { - x_193 = lean_alloc_ctor(1, 2, 0); -} else { - x_193 = x_192; -} -lean_ctor_set(x_193, 0, x_190); -lean_ctor_set(x_193, 1, x_191); -return x_193; -} -} -else -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -lean_dec(x_150); -lean_dec(x_128); -lean_dec(x_123); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_194 = lean_ctor_get(x_169, 0); -lean_inc(x_194); -x_195 = lean_ctor_get(x_169, 1); -lean_inc(x_195); -if (lean_is_exclusive(x_169)) { - lean_ctor_release(x_169, 0); - lean_ctor_release(x_169, 1); - x_196 = x_169; -} else { - lean_dec_ref(x_169); - x_196 = lean_box(0); -} -if (lean_is_scalar(x_196)) { - x_197 = lean_alloc_ctor(1, 2, 0); -} else { - x_197 = x_196; -} -lean_ctor_set(x_197, 0, x_194); -lean_ctor_set(x_197, 1, x_195); -return x_197; -} -} -else -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; -lean_dec(x_150); -lean_dec(x_128); -lean_dec(x_123); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_198 = lean_ctor_get(x_157, 0); -lean_inc(x_198); -x_199 = lean_ctor_get(x_157, 1); -lean_inc(x_199); -if (lean_is_exclusive(x_157)) { - lean_ctor_release(x_157, 0); - lean_ctor_release(x_157, 1); - x_200 = x_157; -} else { - lean_dec_ref(x_157); - x_200 = lean_box(0); -} -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(1, 2, 0); -} else { - x_201 = x_200; -} -lean_ctor_set(x_201, 0, x_198); -lean_ctor_set(x_201, 1, x_199); -return x_201; -} -} -else -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -lean_dec(x_150); -lean_dec(x_128); -lean_dec(x_123); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_202 = lean_ctor_get(x_152, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_152, 1); -lean_inc(x_203); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_204 = x_152; -} else { - lean_dec_ref(x_152); - x_204 = lean_box(0); -} -if (lean_is_scalar(x_204)) { - x_205 = lean_alloc_ctor(1, 2, 0); -} else { - x_205 = x_204; -} -lean_ctor_set(x_205, 0, x_202); -lean_ctor_set(x_205, 1, x_203); -return x_205; -} -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; -lean_dec(x_147); -lean_dec(x_139); -lean_dec(x_135); -lean_dec(x_128); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_206 = lean_ctor_get(x_134, 1); -lean_inc(x_206); -lean_dec(x_134); -x_207 = l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5; -x_208 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6___rarg(x_207, x_7, x_8, x_9, x_10, x_123, x_12, x_206); -lean_dec(x_12); -lean_dec(x_123); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_208; -} -} -} -} -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_128); -lean_dec(x_123); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_209 = lean_ctor_get(x_134, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_134, 1); -lean_inc(x_210); -if (lean_is_exclusive(x_134)) { - lean_ctor_release(x_134, 0); - lean_ctor_release(x_134, 1); - x_211 = x_134; -} else { - lean_dec_ref(x_134); - x_211 = lean_box(0); -} -if (lean_is_scalar(x_211)) { - x_212 = lean_alloc_ctor(1, 2, 0); -} else { - x_212 = x_211; -} -lean_ctor_set(x_212, 0, x_209); -lean_ctor_set(x_212, 1, x_210); -return x_212; -} -} -else -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -lean_dec(x_128); -lean_dec(x_123); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_213 = lean_ctor_get(x_130, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_130, 1); -lean_inc(x_214); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - x_215 = x_130; -} else { - lean_dec_ref(x_130); - x_215 = lean_box(0); -} -if (lean_is_scalar(x_215)) { - x_216 = lean_alloc_ctor(1, 2, 0); -} else { - x_216 = x_215; -} -lean_ctor_set(x_216, 0, x_213); -lean_ctor_set(x_216, 1, x_214); -return x_216; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_go___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_inc(x_6); -x_14 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems(x_6); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1), 13, 6); -lean_closure_set(x_15, 0, x_14); -lean_closure_set(x_15, 1, x_5); -lean_closure_set(x_15, 2, x_1); -lean_closure_set(x_15, 3, x_6); -lean_closure_set(x_15, 4, x_3); -lean_closure_set(x_15, 5, x_4); -x_16 = l_Lean_Elab_Term_withDeclName___rarg(x_2, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_go(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel_go___rarg), 13, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel_go___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel_go___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -size_t x_13; size_t x_14; lean_object* x_15; -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_go___spec__5(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_2); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_go___spec__6___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = lean_nat_dec_le(x_5, x_4); -if (x_15 == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_nat_dec_eq(x_3, x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_nat_sub(x_3, x_18); -lean_dec(x_3); -lean_inc(x_2); -x_20 = lean_array_push(x_7, x_2); -x_21 = lean_nat_add(x_4, x_6); -lean_dec(x_4); -x_3 = x_19; -x_4 = x_21; -x_7 = x_20; -goto _start; -} -else -{ -lean_object* x_23; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_7); -lean_ctor_set(x_23, 1, x_14); -return x_23; -} -} -else -{ -lean_object* x_24; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_7); -lean_ctor_set(x_24, 1, x_14); -return x_24; -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_15 = lean_ctor_get(x_1, 0); -x_16 = lean_ctor_get(x_1, 3); -x_17 = 0; -lean_inc(x_16); -lean_inc(x_15); -x_18 = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(x_18, 0, x_15); -lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_18, 2, x_2); -lean_ctor_set(x_18, 3, x_7); -lean_ctor_set_uint8(x_18, sizeof(void*)*4, x_17); -x_19 = lean_array_push(x_6, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_3); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_4); -lean_ctor_set(x_21, 1, x_20); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_5); -lean_ctor_set(x_22, 1, x_21); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_14); -return x_24; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean", 4); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Parser", 6); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Term", 4); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("app", 3); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__1; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__2; -x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__3; -x_4 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__4; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__2; -x_2 = l_String_toSubstring_x27(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__2; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__3; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("null", 4); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("tuple", 5); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__1; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__2; -x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__3; -x_4 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__11; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(", 1); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(",", 1); -return x_1; -} -} -static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(")", 1); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { -_start: -{ -uint8_t x_20; -x_20 = lean_usize_dec_lt(x_11, x_10); -if (x_20 == 0) -{ -lean_object* x_21; -lean_dec(x_17); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_12); -lean_ctor_set(x_21, 1, x_19); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_22 = lean_array_uget(x_9, x_11); -x_32 = lean_ctor_get(x_12, 1); -lean_inc(x_32); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = !lean_is_exclusive(x_12); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_36 = lean_ctor_get(x_12, 0); -x_37 = lean_ctor_get(x_12, 1); -lean_dec(x_37); -x_38 = !lean_is_exclusive(x_32); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_39 = lean_ctor_get(x_32, 0); -x_40 = lean_ctor_get(x_32, 1); -lean_dec(x_40); -x_41 = !lean_is_exclusive(x_33); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; -x_42 = lean_ctor_get(x_33, 1); -x_43 = lean_ctor_get(x_33, 0); -lean_dec(x_43); -x_44 = lean_ctor_get(x_34, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_34, 1); -lean_inc(x_45); -x_46 = lean_ctor_get(x_34, 2); -lean_inc(x_46); -x_47 = lean_nat_dec_lt(x_44, x_45); -if (x_47 == 0) -{ -lean_object* x_48; -lean_dec(x_46); -lean_dec(x_45); -lean_dec(x_44); -lean_dec(x_22); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_12); -x_23 = x_48; -x_24 = x_19; -goto block_31; -} -else -{ -uint8_t x_49; -x_49 = !lean_is_exclusive(x_34); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_50 = lean_ctor_get(x_34, 2); -lean_dec(x_50); -x_51 = lean_ctor_get(x_34, 1); -lean_dec(x_51); -x_52 = lean_ctor_get(x_34, 0); -lean_dec(x_52); -x_53 = lean_nat_add(x_44, x_46); -lean_ctor_set(x_34, 0, x_53); -x_54 = lean_ctor_get(x_39, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_39, 1); -lean_inc(x_55); -x_56 = lean_ctor_get(x_39, 2); -lean_inc(x_56); -x_57 = lean_nat_dec_lt(x_55, x_56); -if (x_57 == 0) -{ -lean_object* x_58; -lean_dec(x_56); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_44); -lean_dec(x_22); -x_58 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_58, 0, x_12); -x_23 = x_58; -x_24 = x_19; -goto block_31; -} -else -{ -uint8_t x_59; -x_59 = !lean_is_exclusive(x_39); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_60 = lean_ctor_get(x_39, 2); -lean_dec(x_60); -x_61 = lean_ctor_get(x_39, 1); -lean_dec(x_61); -x_62 = lean_ctor_get(x_39, 0); -lean_dec(x_62); -x_63 = lean_array_fget(x_54, x_55); -x_64 = lean_unsigned_to_nat(1u); -x_65 = lean_nat_add(x_55, x_64); -lean_dec(x_55); -lean_ctor_set(x_39, 1, x_65); -x_66 = lean_ctor_get(x_36, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_36, 1); -lean_inc(x_67); -x_68 = lean_ctor_get(x_36, 2); -lean_inc(x_68); -x_69 = lean_nat_dec_lt(x_67, x_68); -if (x_69 == 0) -{ -lean_object* x_70; -lean_dec(x_68); -lean_dec(x_67); -lean_dec(x_66); -lean_dec(x_63); -lean_dec(x_44); -lean_dec(x_22); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_12); -x_23 = x_70; -x_24 = x_19; -goto block_31; -} -else -{ -uint8_t x_71; -lean_free_object(x_33); -lean_free_object(x_32); -lean_free_object(x_12); -x_71 = !lean_is_exclusive(x_36); -if (x_71 == 0) -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_72 = lean_ctor_get(x_36, 2); -lean_dec(x_72); -x_73 = lean_ctor_get(x_36, 1); -lean_dec(x_73); -x_74 = lean_ctor_get(x_36, 0); -lean_dec(x_74); -x_75 = lean_array_fget(x_66, x_67); -x_76 = lean_nat_add(x_67, x_64); -lean_dec(x_67); -lean_ctor_set(x_36, 1, x_76); -x_77 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; -lean_inc(x_6); -x_78 = lean_array_push(x_77, x_6); -x_79 = lean_nat_sub(x_75, x_63); -lean_dec(x_63); -lean_dec(x_75); -x_80 = lean_nat_sub(x_79, x_64); -lean_dec(x_79); -x_81 = lean_unsigned_to_nat(0u); -lean_inc(x_80); -lean_inc(x_7); -x_82 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(x_2, x_7, x_80, x_81, x_80, x_64, x_78, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_80); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_nat_dec_lt(x_64, x_8); -if (x_85 == 0) -{ -lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -lean_dec(x_44); -x_86 = lean_ctor_get(x_17, 5); -lean_inc(x_86); -x_87 = 0; -x_88 = l_Lean_SourceInfo_fromRef(x_86, x_87); -x_89 = lean_ctor_get(x_17, 10); -lean_inc(x_89); -x_90 = lean_st_ref_get(x_18, x_84); -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_ctor_get(x_91, 0); -lean_inc(x_93); -lean_dec(x_91); -x_94 = lean_environment_main_module(x_93); -x_95 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_89); -lean_inc(x_94); -x_96 = l_Lean_addMacroScope(x_94, x_95, x_89); -x_97 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_5); -x_99 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_88); -x_100 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_100, 0, x_88); -lean_ctor_set(x_100, 1, x_99); -lean_ctor_set(x_100, 2, x_96); -lean_ctor_set(x_100, 3, x_98); -lean_inc(x_4); -x_101 = l_Lean_addMacroScope(x_94, x_4, x_89); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_88); -x_102 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_102, 0, x_88); -lean_ctor_set(x_102, 1, x_3); -lean_ctor_set(x_102, 2, x_101); -lean_ctor_set(x_102, 3, x_5); -x_103 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_88); -x_104 = l_Lean_Syntax_node1(x_88, x_103, x_102); -x_105 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -x_106 = l_Lean_Syntax_node2(x_88, x_105, x_100, x_104); -x_107 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_83, x_34, x_39, x_36, x_42, x_106, x_13, x_14, x_15, x_16, x_17, x_18, x_92); -lean_dec(x_22); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_23 = x_108; -x_24 = x_109; -goto block_31; -} -else -{ -lean_object* x_110; uint8_t x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_110 = lean_ctor_get(x_17, 5); -lean_inc(x_110); -x_111 = 0; -x_112 = l_Lean_SourceInfo_fromRef(x_110, x_111); -x_113 = lean_ctor_get(x_17, 10); -lean_inc(x_113); -x_114 = lean_st_ref_get(x_18, x_84); -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_ctor_get(x_115, 0); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_environment_main_module(x_117); -x_119 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13; -lean_inc(x_112); -x_120 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_120, 0, x_112); -lean_ctor_set(x_120, 1, x_119); -x_121 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_113); -lean_inc(x_118); -x_122 = l_Lean_addMacroScope(x_118, x_121, x_113); -x_123 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_5); -x_125 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_112); -x_126 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_126, 0, x_112); -lean_ctor_set(x_126, 1, x_125); -lean_ctor_set(x_126, 2, x_122); -lean_ctor_set(x_126, 3, x_124); -lean_inc(x_4); -x_127 = l_Lean_addMacroScope(x_118, x_4, x_113); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_112); -x_128 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_128, 0, x_112); -lean_ctor_set(x_128, 1, x_3); -lean_ctor_set(x_128, 2, x_127); -lean_ctor_set(x_128, 3, x_5); -x_129 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_112); -x_130 = l_Lean_Syntax_node1(x_112, x_129, x_128); -x_131 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -lean_inc(x_112); -x_132 = l_Lean_Syntax_node2(x_112, x_131, x_126, x_130); -x_133 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14; -lean_inc(x_112); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_112); -lean_ctor_set(x_134, 1, x_133); -x_135 = l_Nat_repr(x_44); -x_136 = lean_box(2); -x_137 = l_Lean_Syntax_mkNumLit(x_135, x_136); -lean_inc(x_112); -x_138 = l_Lean_Syntax_node1(x_112, x_129, x_137); -lean_inc(x_112); -x_139 = l_Lean_Syntax_node3(x_112, x_129, x_132, x_134, x_138); -x_140 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15; -lean_inc(x_112); -x_141 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_141, 0, x_112); -lean_ctor_set(x_141, 1, x_140); -x_142 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12; -x_143 = l_Lean_Syntax_node3(x_112, x_142, x_120, x_139, x_141); -x_144 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_83, x_34, x_39, x_36, x_42, x_143, x_13, x_14, x_15, x_16, x_17, x_18, x_116); -lean_dec(x_22); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -x_23 = x_145; -x_24 = x_146; -goto block_31; -} -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -lean_dec(x_36); -x_147 = lean_array_fget(x_66, x_67); -x_148 = lean_nat_add(x_67, x_64); -lean_dec(x_67); -x_149 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_149, 0, x_66); -lean_ctor_set(x_149, 1, x_148); -lean_ctor_set(x_149, 2, x_68); -x_150 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; -lean_inc(x_6); -x_151 = lean_array_push(x_150, x_6); -x_152 = lean_nat_sub(x_147, x_63); -lean_dec(x_63); -lean_dec(x_147); -x_153 = lean_nat_sub(x_152, x_64); -lean_dec(x_152); -x_154 = lean_unsigned_to_nat(0u); -lean_inc(x_153); -lean_inc(x_7); -x_155 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(x_2, x_7, x_153, x_154, x_153, x_64, x_151, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_153); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_nat_dec_lt(x_64, x_8); -if (x_158 == 0) -{ -lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; -lean_dec(x_44); -x_159 = lean_ctor_get(x_17, 5); -lean_inc(x_159); -x_160 = 0; -x_161 = l_Lean_SourceInfo_fromRef(x_159, x_160); -x_162 = lean_ctor_get(x_17, 10); -lean_inc(x_162); -x_163 = lean_st_ref_get(x_18, x_157); -x_164 = lean_ctor_get(x_163, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_163, 1); -lean_inc(x_165); -lean_dec(x_163); -x_166 = lean_ctor_get(x_164, 0); -lean_inc(x_166); -lean_dec(x_164); -x_167 = lean_environment_main_module(x_166); -x_168 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_162); -lean_inc(x_167); -x_169 = l_Lean_addMacroScope(x_167, x_168, x_162); -x_170 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_5); -x_172 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_161); -x_173 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_173, 0, x_161); -lean_ctor_set(x_173, 1, x_172); -lean_ctor_set(x_173, 2, x_169); -lean_ctor_set(x_173, 3, x_171); -lean_inc(x_4); -x_174 = l_Lean_addMacroScope(x_167, x_4, x_162); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_161); -x_175 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_175, 0, x_161); -lean_ctor_set(x_175, 1, x_3); -lean_ctor_set(x_175, 2, x_174); -lean_ctor_set(x_175, 3, x_5); -x_176 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_161); -x_177 = l_Lean_Syntax_node1(x_161, x_176, x_175); -x_178 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -x_179 = l_Lean_Syntax_node2(x_161, x_178, x_173, x_177); -x_180 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_156, x_34, x_39, x_149, x_42, x_179, x_13, x_14, x_15, x_16, x_17, x_18, x_165); -lean_dec(x_22); -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); -x_23 = x_181; -x_24 = x_182; -goto block_31; -} -else -{ -lean_object* x_183; uint8_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_183 = lean_ctor_get(x_17, 5); -lean_inc(x_183); -x_184 = 0; -x_185 = l_Lean_SourceInfo_fromRef(x_183, x_184); -x_186 = lean_ctor_get(x_17, 10); -lean_inc(x_186); -x_187 = lean_st_ref_get(x_18, x_157); -x_188 = lean_ctor_get(x_187, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_187, 1); -lean_inc(x_189); -lean_dec(x_187); -x_190 = lean_ctor_get(x_188, 0); -lean_inc(x_190); -lean_dec(x_188); -x_191 = lean_environment_main_module(x_190); -x_192 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13; -lean_inc(x_185); -x_193 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_193, 0, x_185); -lean_ctor_set(x_193, 1, x_192); -x_194 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_186); -lean_inc(x_191); -x_195 = l_Lean_addMacroScope(x_191, x_194, x_186); -x_196 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_196); -lean_ctor_set(x_197, 1, x_5); -x_198 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_185); -x_199 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_199, 0, x_185); -lean_ctor_set(x_199, 1, x_198); -lean_ctor_set(x_199, 2, x_195); -lean_ctor_set(x_199, 3, x_197); -lean_inc(x_4); -x_200 = l_Lean_addMacroScope(x_191, x_4, x_186); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_185); -x_201 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_201, 0, x_185); -lean_ctor_set(x_201, 1, x_3); -lean_ctor_set(x_201, 2, x_200); -lean_ctor_set(x_201, 3, x_5); -x_202 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_185); -x_203 = l_Lean_Syntax_node1(x_185, x_202, x_201); -x_204 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -lean_inc(x_185); -x_205 = l_Lean_Syntax_node2(x_185, x_204, x_199, x_203); -x_206 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14; -lean_inc(x_185); -x_207 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_207, 0, x_185); -lean_ctor_set(x_207, 1, x_206); -x_208 = l_Nat_repr(x_44); -x_209 = lean_box(2); -x_210 = l_Lean_Syntax_mkNumLit(x_208, x_209); -lean_inc(x_185); -x_211 = l_Lean_Syntax_node1(x_185, x_202, x_210); -lean_inc(x_185); -x_212 = l_Lean_Syntax_node3(x_185, x_202, x_205, x_207, x_211); -x_213 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15; -lean_inc(x_185); -x_214 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_214, 0, x_185); -lean_ctor_set(x_214, 1, x_213); -x_215 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12; -x_216 = l_Lean_Syntax_node3(x_185, x_215, x_193, x_212, x_214); -x_217 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_156, x_34, x_39, x_149, x_42, x_216, x_13, x_14, x_15, x_16, x_17, x_18, x_189); -lean_dec(x_22); -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); -lean_inc(x_219); -lean_dec(x_217); -x_23 = x_218; -x_24 = x_219; -goto block_31; -} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +lean_dec(x_94); +lean_dec(x_85); +lean_free_object(x_5); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_104 = lean_ctor_get(x_99, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_99, 1); +lean_inc(x_105); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_106 = x_99; +} else { + lean_dec_ref(x_99); + x_106 = lean_box(0); } +if (lean_is_scalar(x_106)) { + x_107 = lean_alloc_ctor(1, 2, 0); +} else { + x_107 = x_106; +} +lean_ctor_set(x_107, 0, x_104); +lean_ctor_set(x_107, 1, x_105); +return x_107; } } else { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; -lean_dec(x_39); -x_220 = lean_array_fget(x_54, x_55); -x_221 = lean_unsigned_to_nat(1u); -x_222 = lean_nat_add(x_55, x_221); -lean_dec(x_55); -x_223 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_223, 0, x_54); -lean_ctor_set(x_223, 1, x_222); -lean_ctor_set(x_223, 2, x_56); -x_224 = lean_ctor_get(x_36, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_36, 1); -lean_inc(x_225); -x_226 = lean_ctor_get(x_36, 2); -lean_inc(x_226); -x_227 = lean_nat_dec_lt(x_225, x_226); -if (x_227 == 0) -{ -lean_object* x_228; -lean_dec(x_226); -lean_dec(x_225); -lean_dec(x_224); -lean_dec(x_220); -lean_dec(x_44); -lean_dec(x_22); -lean_ctor_set(x_32, 0, x_223); -x_228 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_228, 0, x_12); -x_23 = x_228; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; -lean_free_object(x_33); -lean_free_object(x_32); -lean_free_object(x_12); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - lean_ctor_release(x_36, 2); - x_229 = x_36; +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_94); +lean_dec(x_92); +lean_dec(x_85); +lean_free_object(x_5); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_108 = lean_ctor_get(x_95, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_95, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_110 = x_95; } else { - lean_dec_ref(x_36); - x_229 = lean_box(0); -} -x_230 = lean_array_fget(x_224, x_225); -x_231 = lean_nat_add(x_225, x_221); -lean_dec(x_225); -if (lean_is_scalar(x_229)) { - x_232 = lean_alloc_ctor(0, 3, 0); + lean_dec_ref(x_95); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(1, 2, 0); } else { - x_232 = x_229; + x_111 = x_110; } -lean_ctor_set(x_232, 0, x_224); -lean_ctor_set(x_232, 1, x_231); -lean_ctor_set(x_232, 2, x_226); -x_233 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; -lean_inc(x_6); -x_234 = lean_array_push(x_233, x_6); -x_235 = lean_nat_sub(x_230, x_220); -lean_dec(x_220); -lean_dec(x_230); -x_236 = lean_nat_sub(x_235, x_221); -lean_dec(x_235); -x_237 = lean_unsigned_to_nat(0u); -lean_inc(x_236); -lean_inc(x_7); -x_238 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(x_2, x_7, x_236, x_237, x_236, x_221, x_234, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_236); -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -lean_dec(x_238); -x_241 = lean_nat_dec_lt(x_221, x_8); -if (x_241 == 0) -{ -lean_object* x_242; uint8_t x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; -lean_dec(x_44); -x_242 = lean_ctor_get(x_17, 5); -lean_inc(x_242); -x_243 = 0; -x_244 = l_Lean_SourceInfo_fromRef(x_242, x_243); -x_245 = lean_ctor_get(x_17, 10); -lean_inc(x_245); -x_246 = lean_st_ref_get(x_18, x_240); -x_247 = lean_ctor_get(x_246, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_246, 1); -lean_inc(x_248); -lean_dec(x_246); -x_249 = lean_ctor_get(x_247, 0); -lean_inc(x_249); -lean_dec(x_247); -x_250 = lean_environment_main_module(x_249); -x_251 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_245); -lean_inc(x_250); -x_252 = l_Lean_addMacroScope(x_250, x_251, x_245); -x_253 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_253); -lean_ctor_set(x_254, 1, x_5); -x_255 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_244); -x_256 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_256, 0, x_244); -lean_ctor_set(x_256, 1, x_255); -lean_ctor_set(x_256, 2, x_252); -lean_ctor_set(x_256, 3, x_254); -lean_inc(x_4); -x_257 = l_Lean_addMacroScope(x_250, x_4, x_245); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_244); -x_258 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_258, 0, x_244); -lean_ctor_set(x_258, 1, x_3); -lean_ctor_set(x_258, 2, x_257); -lean_ctor_set(x_258, 3, x_5); -x_259 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_244); -x_260 = l_Lean_Syntax_node1(x_244, x_259, x_258); -x_261 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -x_262 = l_Lean_Syntax_node2(x_244, x_261, x_256, x_260); -x_263 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_239, x_34, x_223, x_232, x_42, x_262, x_13, x_14, x_15, x_16, x_17, x_18, x_248); -lean_dec(x_22); -x_264 = lean_ctor_get(x_263, 0); -lean_inc(x_264); -x_265 = lean_ctor_get(x_263, 1); -lean_inc(x_265); -lean_dec(x_263); -x_23 = x_264; -x_24 = x_265; -goto block_31; -} -else -{ -lean_object* x_266; uint8_t x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; -x_266 = lean_ctor_get(x_17, 5); -lean_inc(x_266); -x_267 = 0; -x_268 = l_Lean_SourceInfo_fromRef(x_266, x_267); -x_269 = lean_ctor_get(x_17, 10); -lean_inc(x_269); -x_270 = lean_st_ref_get(x_18, x_240); -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -lean_dec(x_270); -x_273 = lean_ctor_get(x_271, 0); -lean_inc(x_273); -lean_dec(x_271); -x_274 = lean_environment_main_module(x_273); -x_275 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13; -lean_inc(x_268); -x_276 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_276, 0, x_268); -lean_ctor_set(x_276, 1, x_275); -x_277 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_269); -lean_inc(x_274); -x_278 = l_Lean_addMacroScope(x_274, x_277, x_269); -x_279 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_5); -x_281 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_268); -x_282 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_282, 0, x_268); -lean_ctor_set(x_282, 1, x_281); -lean_ctor_set(x_282, 2, x_278); -lean_ctor_set(x_282, 3, x_280); -lean_inc(x_4); -x_283 = l_Lean_addMacroScope(x_274, x_4, x_269); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_268); -x_284 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_284, 0, x_268); -lean_ctor_set(x_284, 1, x_3); -lean_ctor_set(x_284, 2, x_283); -lean_ctor_set(x_284, 3, x_5); -x_285 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_268); -x_286 = l_Lean_Syntax_node1(x_268, x_285, x_284); -x_287 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -lean_inc(x_268); -x_288 = l_Lean_Syntax_node2(x_268, x_287, x_282, x_286); -x_289 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14; -lean_inc(x_268); -x_290 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_290, 0, x_268); -lean_ctor_set(x_290, 1, x_289); -x_291 = l_Nat_repr(x_44); -x_292 = lean_box(2); -x_293 = l_Lean_Syntax_mkNumLit(x_291, x_292); -lean_inc(x_268); -x_294 = l_Lean_Syntax_node1(x_268, x_285, x_293); -lean_inc(x_268); -x_295 = l_Lean_Syntax_node3(x_268, x_285, x_288, x_290, x_294); -x_296 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15; -lean_inc(x_268); -x_297 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_297, 0, x_268); -lean_ctor_set(x_297, 1, x_296); -x_298 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12; -x_299 = l_Lean_Syntax_node3(x_268, x_298, x_276, x_295, x_297); -x_300 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_239, x_34, x_223, x_232, x_42, x_299, x_13, x_14, x_15, x_16, x_17, x_18, x_272); -lean_dec(x_22); -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -lean_dec(x_300); -x_23 = x_301; -x_24 = x_302; -goto block_31; +lean_ctor_set(x_111, 0, x_108); +lean_ctor_set(x_111, 1, x_109); +return x_111; } } } @@ -7541,2440 +4002,1341 @@ goto block_31; } else { -lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; -lean_dec(x_34); -x_303 = lean_nat_add(x_44, x_46); -x_304 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_304, 0, x_303); -lean_ctor_set(x_304, 1, x_45); -lean_ctor_set(x_304, 2, x_46); -x_305 = lean_ctor_get(x_39, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_39, 1); -lean_inc(x_306); -x_307 = lean_ctor_get(x_39, 2); -lean_inc(x_307); -x_308 = lean_nat_dec_lt(x_306, x_307); -if (x_308 == 0) -{ -lean_object* x_309; -lean_dec(x_307); -lean_dec(x_306); -lean_dec(x_305); -lean_dec(x_44); -lean_dec(x_22); -lean_ctor_set(x_33, 0, x_304); -x_309 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_309, 0, x_12); -x_23 = x_309; -x_24 = x_19; -goto block_31; +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_112 = lean_ctor_get(x_5, 0); +lean_inc(x_112); +lean_dec(x_5); +x_113 = lean_ctor_get(x_16, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_16, 1); +lean_inc(x_114); +x_115 = lean_ctor_get(x_16, 2); +lean_inc(x_115); +x_116 = lean_nat_dec_lt(x_114, x_115); +if (x_116 == 0) +{ +lean_object* x_117; lean_object* x_118; +lean_dec(x_115); +lean_dec(x_114); +lean_dec(x_113); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_112); +lean_ctor_set(x_117, 1, x_16); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_12); +return x_118; } else { -lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - lean_ctor_release(x_39, 2); - x_310 = x_39; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + lean_ctor_release(x_16, 2); + x_119 = x_16; } else { - lean_dec_ref(x_39); - x_310 = lean_box(0); -} -x_311 = lean_array_fget(x_305, x_306); -x_312 = lean_unsigned_to_nat(1u); -x_313 = lean_nat_add(x_306, x_312); -lean_dec(x_306); -if (lean_is_scalar(x_310)) { - x_314 = lean_alloc_ctor(0, 3, 0); + lean_dec_ref(x_16); + x_119 = lean_box(0); +} +x_120 = lean_array_fget(x_113, x_114); +x_121 = lean_unsigned_to_nat(1u); +x_122 = lean_nat_add(x_114, x_121); +lean_dec(x_114); +if (lean_is_scalar(x_119)) { + x_123 = lean_alloc_ctor(0, 3, 0); } else { - x_314 = x_310; -} -lean_ctor_set(x_314, 0, x_305); -lean_ctor_set(x_314, 1, x_313); -lean_ctor_set(x_314, 2, x_307); -x_315 = lean_ctor_get(x_36, 0); -lean_inc(x_315); -x_316 = lean_ctor_get(x_36, 1); -lean_inc(x_316); -x_317 = lean_ctor_get(x_36, 2); -lean_inc(x_317); -x_318 = lean_nat_dec_lt(x_316, x_317); -if (x_318 == 0) -{ -lean_object* x_319; -lean_dec(x_317); -lean_dec(x_316); -lean_dec(x_315); -lean_dec(x_311); -lean_dec(x_44); -lean_dec(x_22); -lean_ctor_set(x_33, 0, x_304); -lean_ctor_set(x_32, 0, x_314); -x_319 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_319, 0, x_12); -x_23 = x_319; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; -lean_free_object(x_33); -lean_free_object(x_32); -lean_free_object(x_12); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - lean_ctor_release(x_36, 2); - x_320 = x_36; + x_123 = x_119; +} +lean_ctor_set(x_123, 0, x_113); +lean_ctor_set(x_123, 1, x_122); +lean_ctor_set(x_123, 2, x_115); +x_124 = lean_ctor_get(x_112, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_112, 1); +lean_inc(x_125); +x_126 = lean_ctor_get(x_112, 2); +lean_inc(x_126); +x_127 = lean_nat_dec_lt(x_125, x_126); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; +lean_dec(x_126); +lean_dec(x_125); +lean_dec(x_124); +lean_dec(x_120); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_128 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_128, 0, x_112); +lean_ctor_set(x_128, 1, x_123); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_12); +return x_129; +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + lean_ctor_release(x_112, 2); + x_130 = x_112; } else { - lean_dec_ref(x_36); - x_320 = lean_box(0); -} -x_321 = lean_array_fget(x_315, x_316); -x_322 = lean_nat_add(x_316, x_312); -lean_dec(x_316); -if (lean_is_scalar(x_320)) { - x_323 = lean_alloc_ctor(0, 3, 0); + lean_dec_ref(x_112); + x_130 = lean_box(0); +} +x_131 = lean_array_fget(x_124, x_125); +x_132 = lean_nat_add(x_125, x_121); +lean_dec(x_125); +if (lean_is_scalar(x_130)) { + x_133 = lean_alloc_ctor(0, 3, 0); } else { - x_323 = x_320; + x_133 = x_130; } -lean_ctor_set(x_323, 0, x_315); -lean_ctor_set(x_323, 1, x_322); -lean_ctor_set(x_323, 2, x_317); -x_324 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; +lean_ctor_set(x_133, 0, x_124); +lean_ctor_set(x_133, 1, x_132); +lean_ctor_set(x_133, 2, x_126); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); -x_325 = lean_array_push(x_324, x_6); -x_326 = lean_nat_sub(x_321, x_311); -lean_dec(x_311); -lean_dec(x_321); -x_327 = lean_nat_sub(x_326, x_312); -lean_dec(x_326); -x_328 = lean_unsigned_to_nat(0u); -lean_inc(x_327); +lean_inc(x_131); +lean_inc(x_1); +x_134 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary(x_120, x_1, x_18, x_17, x_131, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +lean_inc(x_135); +x_137 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5___lambda__1), 9, 2); +lean_closure_set(x_137, 0, x_135); +lean_closure_set(x_137, 1, x_131); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); -x_329 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(x_2, x_7, x_327, x_328, x_327, x_312, x_325, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_327); -x_330 = lean_ctor_get(x_329, 0); -lean_inc(x_330); -x_331 = lean_ctor_get(x_329, 1); -lean_inc(x_331); -lean_dec(x_329); -x_332 = lean_nat_dec_lt(x_312, x_8); -if (x_332 == 0) -{ -lean_object* x_333; uint8_t x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; -lean_dec(x_44); -x_333 = lean_ctor_get(x_17, 5); -lean_inc(x_333); -x_334 = 0; -x_335 = l_Lean_SourceInfo_fromRef(x_333, x_334); -x_336 = lean_ctor_get(x_17, 10); -lean_inc(x_336); -x_337 = lean_st_ref_get(x_18, x_331); -x_338 = lean_ctor_get(x_337, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_337, 1); -lean_inc(x_339); -lean_dec(x_337); -x_340 = lean_ctor_get(x_338, 0); -lean_inc(x_340); -lean_dec(x_338); -x_341 = lean_environment_main_module(x_340); -x_342 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_336); -lean_inc(x_341); -x_343 = l_Lean_addMacroScope(x_341, x_342, x_336); -x_344 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_5); -x_346 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_335); -x_347 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_347, 0, x_335); -lean_ctor_set(x_347, 1, x_346); -lean_ctor_set(x_347, 2, x_343); -lean_ctor_set(x_347, 3, x_345); -lean_inc(x_4); -x_348 = l_Lean_addMacroScope(x_341, x_4, x_336); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_335); -x_349 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_349, 0, x_335); -lean_ctor_set(x_349, 1, x_3); -lean_ctor_set(x_349, 2, x_348); -lean_ctor_set(x_349, 3, x_5); -x_350 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_335); -x_351 = l_Lean_Syntax_node1(x_335, x_350, x_349); -x_352 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -x_353 = l_Lean_Syntax_node2(x_335, x_352, x_347, x_351); -x_354 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_330, x_304, x_314, x_323, x_42, x_353, x_13, x_14, x_15, x_16, x_17, x_18, x_339); -lean_dec(x_22); -x_355 = lean_ctor_get(x_354, 0); -lean_inc(x_355); -x_356 = lean_ctor_get(x_354, 1); -lean_inc(x_356); -lean_dec(x_354); -x_23 = x_355; -x_24 = x_356; -goto block_31; -} -else -{ -lean_object* x_357; uint8_t x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; -x_357 = lean_ctor_get(x_17, 5); -lean_inc(x_357); -x_358 = 0; -x_359 = l_Lean_SourceInfo_fromRef(x_357, x_358); -x_360 = lean_ctor_get(x_17, 10); -lean_inc(x_360); -x_361 = lean_st_ref_get(x_18, x_331); -x_362 = lean_ctor_get(x_361, 0); -lean_inc(x_362); -x_363 = lean_ctor_get(x_361, 1); -lean_inc(x_363); -lean_dec(x_361); -x_364 = lean_ctor_get(x_362, 0); -lean_inc(x_364); -lean_dec(x_362); -x_365 = lean_environment_main_module(x_364); -x_366 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13; -lean_inc(x_359); -x_367 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_367, 0, x_359); -lean_ctor_set(x_367, 1, x_366); -x_368 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_360); -lean_inc(x_365); -x_369 = l_Lean_addMacroScope(x_365, x_368, x_360); -x_370 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_5); -x_372 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_359); -x_373 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_373, 0, x_359); -lean_ctor_set(x_373, 1, x_372); -lean_ctor_set(x_373, 2, x_369); -lean_ctor_set(x_373, 3, x_371); -lean_inc(x_4); -x_374 = l_Lean_addMacroScope(x_365, x_4, x_360); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_359); -x_375 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_375, 0, x_359); -lean_ctor_set(x_375, 1, x_3); -lean_ctor_set(x_375, 2, x_374); -lean_ctor_set(x_375, 3, x_5); -x_376 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_359); -x_377 = l_Lean_Syntax_node1(x_359, x_376, x_375); -x_378 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -lean_inc(x_359); -x_379 = l_Lean_Syntax_node2(x_359, x_378, x_373, x_377); -x_380 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14; -lean_inc(x_359); -x_381 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_381, 0, x_359); -lean_ctor_set(x_381, 1, x_380); -x_382 = l_Nat_repr(x_44); -x_383 = lean_box(2); -x_384 = l_Lean_Syntax_mkNumLit(x_382, x_383); -lean_inc(x_359); -x_385 = l_Lean_Syntax_node1(x_359, x_376, x_384); -lean_inc(x_359); -x_386 = l_Lean_Syntax_node3(x_359, x_376, x_379, x_381, x_385); -x_387 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15; -lean_inc(x_359); -x_388 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_388, 0, x_359); -lean_ctor_set(x_388, 1, x_387); -x_389 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12; -x_390 = l_Lean_Syntax_node3(x_359, x_389, x_367, x_386, x_388); -x_391 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_330, x_304, x_314, x_323, x_42, x_390, x_13, x_14, x_15, x_16, x_17, x_18, x_363); -lean_dec(x_22); -x_392 = lean_ctor_get(x_391, 0); -lean_inc(x_392); -x_393 = lean_ctor_get(x_391, 1); -lean_inc(x_393); -lean_dec(x_391); -x_23 = x_392; -x_24 = x_393; -goto block_31; -} -} -} -} -} +lean_inc(x_6); +x_138 = l_Lean_MVarId_withContext___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__4___rarg(x_135, x_137, x_6, x_7, x_8, x_9, x_10, x_11, x_136); +if (lean_obj_tag(x_138) == 0) +{ +lean_object* x_139; lean_object* x_140; size_t x_141; size_t x_142; +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +lean_dec(x_138); +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_133); +lean_ctor_set(x_140, 1, x_123); +x_141 = 1; +x_142 = lean_usize_add(x_4, x_141); +x_4 = x_142; +x_5 = x_140; +x_12 = x_139; +goto _start; } else { -lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; uint8_t x_398; -x_394 = lean_ctor_get(x_33, 1); -lean_inc(x_394); -lean_dec(x_33); -x_395 = lean_ctor_get(x_34, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_34, 1); -lean_inc(x_396); -x_397 = lean_ctor_get(x_34, 2); -lean_inc(x_397); -x_398 = lean_nat_dec_lt(x_395, x_396); -if (x_398 == 0) -{ -lean_object* x_399; lean_object* x_400; -lean_dec(x_397); -lean_dec(x_396); -lean_dec(x_395); -lean_dec(x_22); -x_399 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_399, 0, x_34); -lean_ctor_set(x_399, 1, x_394); -lean_ctor_set(x_32, 1, x_399); -x_400 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_400, 0, x_12); -x_23 = x_400; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; uint8_t x_407; -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - lean_ctor_release(x_34, 2); - x_401 = x_34; +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_133); +lean_dec(x_123); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_144 = lean_ctor_get(x_138, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_138, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_146 = x_138; } else { - lean_dec_ref(x_34); - x_401 = lean_box(0); + lean_dec_ref(x_138); + x_146 = lean_box(0); } -x_402 = lean_nat_add(x_395, x_397); -if (lean_is_scalar(x_401)) { - x_403 = lean_alloc_ctor(0, 3, 0); -} else { - x_403 = x_401; -} -lean_ctor_set(x_403, 0, x_402); -lean_ctor_set(x_403, 1, x_396); -lean_ctor_set(x_403, 2, x_397); -x_404 = lean_ctor_get(x_39, 0); -lean_inc(x_404); -x_405 = lean_ctor_get(x_39, 1); -lean_inc(x_405); -x_406 = lean_ctor_get(x_39, 2); -lean_inc(x_406); -x_407 = lean_nat_dec_lt(x_405, x_406); -if (x_407 == 0) -{ -lean_object* x_408; lean_object* x_409; -lean_dec(x_406); -lean_dec(x_405); -lean_dec(x_404); -lean_dec(x_395); -lean_dec(x_22); -x_408 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_408, 0, x_403); -lean_ctor_set(x_408, 1, x_394); -lean_ctor_set(x_32, 1, x_408); -x_409 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_409, 0, x_12); -x_23 = x_409; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - lean_ctor_release(x_39, 2); - x_410 = x_39; -} else { - lean_dec_ref(x_39); - x_410 = lean_box(0); -} -x_411 = lean_array_fget(x_404, x_405); -x_412 = lean_unsigned_to_nat(1u); -x_413 = lean_nat_add(x_405, x_412); -lean_dec(x_405); -if (lean_is_scalar(x_410)) { - x_414 = lean_alloc_ctor(0, 3, 0); -} else { - x_414 = x_410; -} -lean_ctor_set(x_414, 0, x_404); -lean_ctor_set(x_414, 1, x_413); -lean_ctor_set(x_414, 2, x_406); -x_415 = lean_ctor_get(x_36, 0); -lean_inc(x_415); -x_416 = lean_ctor_get(x_36, 1); -lean_inc(x_416); -x_417 = lean_ctor_get(x_36, 2); -lean_inc(x_417); -x_418 = lean_nat_dec_lt(x_416, x_417); -if (x_418 == 0) -{ -lean_object* x_419; lean_object* x_420; -lean_dec(x_417); -lean_dec(x_416); -lean_dec(x_415); -lean_dec(x_411); -lean_dec(x_395); -lean_dec(x_22); -x_419 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_419, 0, x_403); -lean_ctor_set(x_419, 1, x_394); -lean_ctor_set(x_32, 1, x_419); -lean_ctor_set(x_32, 0, x_414); -x_420 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_420, 0, x_12); -x_23 = x_420; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; uint8_t x_433; -lean_free_object(x_32); -lean_free_object(x_12); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - lean_ctor_release(x_36, 2); - x_421 = x_36; -} else { - lean_dec_ref(x_36); - x_421 = lean_box(0); -} -x_422 = lean_array_fget(x_415, x_416); -x_423 = lean_nat_add(x_416, x_412); -lean_dec(x_416); -if (lean_is_scalar(x_421)) { - x_424 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_146)) { + x_147 = lean_alloc_ctor(1, 2, 0); } else { - x_424 = x_421; -} -lean_ctor_set(x_424, 0, x_415); -lean_ctor_set(x_424, 1, x_423); -lean_ctor_set(x_424, 2, x_417); -x_425 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; -lean_inc(x_6); -x_426 = lean_array_push(x_425, x_6); -x_427 = lean_nat_sub(x_422, x_411); -lean_dec(x_411); -lean_dec(x_422); -x_428 = lean_nat_sub(x_427, x_412); -lean_dec(x_427); -x_429 = lean_unsigned_to_nat(0u); -lean_inc(x_428); -lean_inc(x_7); -x_430 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(x_2, x_7, x_428, x_429, x_428, x_412, x_426, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_428); -x_431 = lean_ctor_get(x_430, 0); -lean_inc(x_431); -x_432 = lean_ctor_get(x_430, 1); -lean_inc(x_432); -lean_dec(x_430); -x_433 = lean_nat_dec_lt(x_412, x_8); -if (x_433 == 0) -{ -lean_object* x_434; uint8_t x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; -lean_dec(x_395); -x_434 = lean_ctor_get(x_17, 5); -lean_inc(x_434); -x_435 = 0; -x_436 = l_Lean_SourceInfo_fromRef(x_434, x_435); -x_437 = lean_ctor_get(x_17, 10); -lean_inc(x_437); -x_438 = lean_st_ref_get(x_18, x_432); -x_439 = lean_ctor_get(x_438, 0); -lean_inc(x_439); -x_440 = lean_ctor_get(x_438, 1); -lean_inc(x_440); -lean_dec(x_438); -x_441 = lean_ctor_get(x_439, 0); -lean_inc(x_441); -lean_dec(x_439); -x_442 = lean_environment_main_module(x_441); -x_443 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_437); -lean_inc(x_442); -x_444 = l_Lean_addMacroScope(x_442, x_443, x_437); -x_445 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_446 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_446, 0, x_445); -lean_ctor_set(x_446, 1, x_5); -x_447 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_436); -x_448 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_448, 0, x_436); -lean_ctor_set(x_448, 1, x_447); -lean_ctor_set(x_448, 2, x_444); -lean_ctor_set(x_448, 3, x_446); -lean_inc(x_4); -x_449 = l_Lean_addMacroScope(x_442, x_4, x_437); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_436); -x_450 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_450, 0, x_436); -lean_ctor_set(x_450, 1, x_3); -lean_ctor_set(x_450, 2, x_449); -lean_ctor_set(x_450, 3, x_5); -x_451 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_436); -x_452 = l_Lean_Syntax_node1(x_436, x_451, x_450); -x_453 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -x_454 = l_Lean_Syntax_node2(x_436, x_453, x_448, x_452); -x_455 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_431, x_403, x_414, x_424, x_394, x_454, x_13, x_14, x_15, x_16, x_17, x_18, x_440); -lean_dec(x_22); -x_456 = lean_ctor_get(x_455, 0); -lean_inc(x_456); -x_457 = lean_ctor_get(x_455, 1); -lean_inc(x_457); -lean_dec(x_455); -x_23 = x_456; -x_24 = x_457; -goto block_31; -} -else -{ -lean_object* x_458; uint8_t x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_458 = lean_ctor_get(x_17, 5); -lean_inc(x_458); -x_459 = 0; -x_460 = l_Lean_SourceInfo_fromRef(x_458, x_459); -x_461 = lean_ctor_get(x_17, 10); -lean_inc(x_461); -x_462 = lean_st_ref_get(x_18, x_432); -x_463 = lean_ctor_get(x_462, 0); -lean_inc(x_463); -x_464 = lean_ctor_get(x_462, 1); -lean_inc(x_464); -lean_dec(x_462); -x_465 = lean_ctor_get(x_463, 0); -lean_inc(x_465); -lean_dec(x_463); -x_466 = lean_environment_main_module(x_465); -x_467 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13; -lean_inc(x_460); -x_468 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_468, 0, x_460); -lean_ctor_set(x_468, 1, x_467); -x_469 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_461); -lean_inc(x_466); -x_470 = l_Lean_addMacroScope(x_466, x_469, x_461); -x_471 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_472 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_472, 0, x_471); -lean_ctor_set(x_472, 1, x_5); -x_473 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_460); -x_474 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_474, 0, x_460); -lean_ctor_set(x_474, 1, x_473); -lean_ctor_set(x_474, 2, x_470); -lean_ctor_set(x_474, 3, x_472); -lean_inc(x_4); -x_475 = l_Lean_addMacroScope(x_466, x_4, x_461); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_460); -x_476 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_476, 0, x_460); -lean_ctor_set(x_476, 1, x_3); -lean_ctor_set(x_476, 2, x_475); -lean_ctor_set(x_476, 3, x_5); -x_477 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_460); -x_478 = l_Lean_Syntax_node1(x_460, x_477, x_476); -x_479 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -lean_inc(x_460); -x_480 = l_Lean_Syntax_node2(x_460, x_479, x_474, x_478); -x_481 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14; -lean_inc(x_460); -x_482 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_482, 0, x_460); -lean_ctor_set(x_482, 1, x_481); -x_483 = l_Nat_repr(x_395); -x_484 = lean_box(2); -x_485 = l_Lean_Syntax_mkNumLit(x_483, x_484); -lean_inc(x_460); -x_486 = l_Lean_Syntax_node1(x_460, x_477, x_485); -lean_inc(x_460); -x_487 = l_Lean_Syntax_node3(x_460, x_477, x_480, x_482, x_486); -x_488 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15; -lean_inc(x_460); -x_489 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_489, 0, x_460); -lean_ctor_set(x_489, 1, x_488); -x_490 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12; -x_491 = l_Lean_Syntax_node3(x_460, x_490, x_468, x_487, x_489); -x_492 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_431, x_403, x_414, x_424, x_394, x_491, x_13, x_14, x_15, x_16, x_17, x_18, x_464); -lean_dec(x_22); -x_493 = lean_ctor_get(x_492, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_492, 1); -lean_inc(x_494); -lean_dec(x_492); -x_23 = x_493; -x_24 = x_494; -goto block_31; -} -} -} + x_147 = x_146; } +lean_ctor_set(x_147, 0, x_144); +lean_ctor_set(x_147, 1, x_145); +return x_147; } } else { -lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; uint8_t x_501; -x_495 = lean_ctor_get(x_32, 0); -lean_inc(x_495); -lean_dec(x_32); -x_496 = lean_ctor_get(x_33, 1); -lean_inc(x_496); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_497 = x_33; -} else { - lean_dec_ref(x_33); - x_497 = lean_box(0); -} -x_498 = lean_ctor_get(x_34, 0); -lean_inc(x_498); -x_499 = lean_ctor_get(x_34, 1); -lean_inc(x_499); -x_500 = lean_ctor_get(x_34, 2); -lean_inc(x_500); -x_501 = lean_nat_dec_lt(x_498, x_499); -if (x_501 == 0) -{ -lean_object* x_502; lean_object* x_503; lean_object* x_504; -lean_dec(x_500); -lean_dec(x_499); -lean_dec(x_498); -lean_dec(x_22); -if (lean_is_scalar(x_497)) { - x_502 = lean_alloc_ctor(0, 2, 0); -} else { - x_502 = x_497; -} -lean_ctor_set(x_502, 0, x_34); -lean_ctor_set(x_502, 1, x_496); -x_503 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_503, 0, x_495); -lean_ctor_set(x_503, 1, x_502); -lean_ctor_set(x_12, 1, x_503); -x_504 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_504, 0, x_12); -x_23 = x_504; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; uint8_t x_511; -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - lean_ctor_release(x_34, 2); - x_505 = x_34; +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_133); +lean_dec(x_131); +lean_dec(x_123); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_148 = lean_ctor_get(x_134, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_134, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + x_150 = x_134; } else { - lean_dec_ref(x_34); - x_505 = lean_box(0); + lean_dec_ref(x_134); + x_150 = lean_box(0); } -x_506 = lean_nat_add(x_498, x_500); -if (lean_is_scalar(x_505)) { - x_507 = lean_alloc_ctor(0, 3, 0); -} else { - x_507 = x_505; -} -lean_ctor_set(x_507, 0, x_506); -lean_ctor_set(x_507, 1, x_499); -lean_ctor_set(x_507, 2, x_500); -x_508 = lean_ctor_get(x_495, 0); -lean_inc(x_508); -x_509 = lean_ctor_get(x_495, 1); -lean_inc(x_509); -x_510 = lean_ctor_get(x_495, 2); -lean_inc(x_510); -x_511 = lean_nat_dec_lt(x_509, x_510); -if (x_511 == 0) -{ -lean_object* x_512; lean_object* x_513; lean_object* x_514; -lean_dec(x_510); -lean_dec(x_509); -lean_dec(x_508); -lean_dec(x_498); -lean_dec(x_22); -if (lean_is_scalar(x_497)) { - x_512 = lean_alloc_ctor(0, 2, 0); -} else { - x_512 = x_497; -} -lean_ctor_set(x_512, 0, x_507); -lean_ctor_set(x_512, 1, x_496); -x_513 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_513, 0, x_495); -lean_ctor_set(x_513, 1, x_512); -lean_ctor_set(x_12, 1, x_513); -x_514 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_514, 0, x_12); -x_23 = x_514; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; uint8_t x_523; -if (lean_is_exclusive(x_495)) { - lean_ctor_release(x_495, 0); - lean_ctor_release(x_495, 1); - lean_ctor_release(x_495, 2); - x_515 = x_495; -} else { - lean_dec_ref(x_495); - x_515 = lean_box(0); -} -x_516 = lean_array_fget(x_508, x_509); -x_517 = lean_unsigned_to_nat(1u); -x_518 = lean_nat_add(x_509, x_517); -lean_dec(x_509); -if (lean_is_scalar(x_515)) { - x_519 = lean_alloc_ctor(0, 3, 0); -} else { - x_519 = x_515; -} -lean_ctor_set(x_519, 0, x_508); -lean_ctor_set(x_519, 1, x_518); -lean_ctor_set(x_519, 2, x_510); -x_520 = lean_ctor_get(x_36, 0); -lean_inc(x_520); -x_521 = lean_ctor_get(x_36, 1); -lean_inc(x_521); -x_522 = lean_ctor_get(x_36, 2); -lean_inc(x_522); -x_523 = lean_nat_dec_lt(x_521, x_522); -if (x_523 == 0) -{ -lean_object* x_524; lean_object* x_525; lean_object* x_526; -lean_dec(x_522); -lean_dec(x_521); -lean_dec(x_520); -lean_dec(x_516); -lean_dec(x_498); -lean_dec(x_22); -if (lean_is_scalar(x_497)) { - x_524 = lean_alloc_ctor(0, 2, 0); -} else { - x_524 = x_497; -} -lean_ctor_set(x_524, 0, x_507); -lean_ctor_set(x_524, 1, x_496); -x_525 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_525, 0, x_519); -lean_ctor_set(x_525, 1, x_524); -lean_ctor_set(x_12, 1, x_525); -x_526 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_526, 0, x_12); -x_23 = x_526; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; uint8_t x_539; -lean_dec(x_497); -lean_free_object(x_12); -if (lean_is_exclusive(x_36)) { - lean_ctor_release(x_36, 0); - lean_ctor_release(x_36, 1); - lean_ctor_release(x_36, 2); - x_527 = x_36; -} else { - lean_dec_ref(x_36); - x_527 = lean_box(0); -} -x_528 = lean_array_fget(x_520, x_521); -x_529 = lean_nat_add(x_521, x_517); -lean_dec(x_521); -if (lean_is_scalar(x_527)) { - x_530 = lean_alloc_ctor(0, 3, 0); +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(1, 2, 0); } else { - x_530 = x_527; + x_151 = x_150; } -lean_ctor_set(x_530, 0, x_520); -lean_ctor_set(x_530, 1, x_529); -lean_ctor_set(x_530, 2, x_522); -x_531 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; -lean_inc(x_6); -x_532 = lean_array_push(x_531, x_6); -x_533 = lean_nat_sub(x_528, x_516); -lean_dec(x_516); -lean_dec(x_528); -x_534 = lean_nat_sub(x_533, x_517); -lean_dec(x_533); -x_535 = lean_unsigned_to_nat(0u); -lean_inc(x_534); -lean_inc(x_7); -x_536 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(x_2, x_7, x_534, x_535, x_534, x_517, x_532, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_534); -x_537 = lean_ctor_get(x_536, 0); -lean_inc(x_537); -x_538 = lean_ctor_get(x_536, 1); -lean_inc(x_538); -lean_dec(x_536); -x_539 = lean_nat_dec_lt(x_517, x_8); -if (x_539 == 0) -{ -lean_object* x_540; uint8_t x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; -lean_dec(x_498); -x_540 = lean_ctor_get(x_17, 5); -lean_inc(x_540); -x_541 = 0; -x_542 = l_Lean_SourceInfo_fromRef(x_540, x_541); -x_543 = lean_ctor_get(x_17, 10); -lean_inc(x_543); -x_544 = lean_st_ref_get(x_18, x_538); -x_545 = lean_ctor_get(x_544, 0); -lean_inc(x_545); -x_546 = lean_ctor_get(x_544, 1); -lean_inc(x_546); -lean_dec(x_544); -x_547 = lean_ctor_get(x_545, 0); -lean_inc(x_547); -lean_dec(x_545); -x_548 = lean_environment_main_module(x_547); -x_549 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_543); -lean_inc(x_548); -x_550 = l_Lean_addMacroScope(x_548, x_549, x_543); -x_551 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_551); -lean_ctor_set(x_552, 1, x_5); -x_553 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_542); -x_554 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_554, 0, x_542); -lean_ctor_set(x_554, 1, x_553); -lean_ctor_set(x_554, 2, x_550); -lean_ctor_set(x_554, 3, x_552); -lean_inc(x_4); -x_555 = l_Lean_addMacroScope(x_548, x_4, x_543); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_542); -x_556 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_556, 0, x_542); -lean_ctor_set(x_556, 1, x_3); -lean_ctor_set(x_556, 2, x_555); -lean_ctor_set(x_556, 3, x_5); -x_557 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_542); -x_558 = l_Lean_Syntax_node1(x_542, x_557, x_556); -x_559 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -x_560 = l_Lean_Syntax_node2(x_542, x_559, x_554, x_558); -x_561 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_537, x_507, x_519, x_530, x_496, x_560, x_13, x_14, x_15, x_16, x_17, x_18, x_546); -lean_dec(x_22); -x_562 = lean_ctor_get(x_561, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_561, 1); -lean_inc(x_563); -lean_dec(x_561); -x_23 = x_562; -x_24 = x_563; -goto block_31; -} -else -{ -lean_object* x_564; uint8_t x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; -x_564 = lean_ctor_get(x_17, 5); -lean_inc(x_564); -x_565 = 0; -x_566 = l_Lean_SourceInfo_fromRef(x_564, x_565); -x_567 = lean_ctor_get(x_17, 10); -lean_inc(x_567); -x_568 = lean_st_ref_get(x_18, x_538); -x_569 = lean_ctor_get(x_568, 0); -lean_inc(x_569); -x_570 = lean_ctor_get(x_568, 1); -lean_inc(x_570); -lean_dec(x_568); -x_571 = lean_ctor_get(x_569, 0); -lean_inc(x_571); -lean_dec(x_569); -x_572 = lean_environment_main_module(x_571); -x_573 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13; -lean_inc(x_566); -x_574 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_574, 0, x_566); -lean_ctor_set(x_574, 1, x_573); -x_575 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_567); -lean_inc(x_572); -x_576 = l_Lean_addMacroScope(x_572, x_575, x_567); -x_577 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; -lean_inc(x_5); -x_578 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_578, 0, x_577); -lean_ctor_set(x_578, 1, x_5); -x_579 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_566); -x_580 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_580, 0, x_566); -lean_ctor_set(x_580, 1, x_579); -lean_ctor_set(x_580, 2, x_576); -lean_ctor_set(x_580, 3, x_578); -lean_inc(x_4); -x_581 = l_Lean_addMacroScope(x_572, x_4, x_567); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_566); -x_582 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_582, 0, x_566); -lean_ctor_set(x_582, 1, x_3); -lean_ctor_set(x_582, 2, x_581); -lean_ctor_set(x_582, 3, x_5); -x_583 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_566); -x_584 = l_Lean_Syntax_node1(x_566, x_583, x_582); -x_585 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -lean_inc(x_566); -x_586 = l_Lean_Syntax_node2(x_566, x_585, x_580, x_584); -x_587 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14; -lean_inc(x_566); -x_588 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_588, 0, x_566); -lean_ctor_set(x_588, 1, x_587); -x_589 = l_Nat_repr(x_498); -x_590 = lean_box(2); -x_591 = l_Lean_Syntax_mkNumLit(x_589, x_590); -lean_inc(x_566); -x_592 = l_Lean_Syntax_node1(x_566, x_583, x_591); -lean_inc(x_566); -x_593 = l_Lean_Syntax_node3(x_566, x_583, x_586, x_588, x_592); -x_594 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15; -lean_inc(x_566); -x_595 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_595, 0, x_566); -lean_ctor_set(x_595, 1, x_594); -x_596 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12; -x_597 = l_Lean_Syntax_node3(x_566, x_596, x_574, x_593, x_595); -x_598 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_537, x_507, x_519, x_530, x_496, x_597, x_13, x_14, x_15, x_16, x_17, x_18, x_570); -lean_dec(x_22); -x_599 = lean_ctor_get(x_598, 0); -lean_inc(x_599); -x_600 = lean_ctor_get(x_598, 1); -lean_inc(x_600); -lean_dec(x_598); -x_23 = x_599; -x_24 = x_600; -goto block_31; +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_149); +return x_151; } } } } } } -else +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: { -lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; uint8_t x_609; -x_601 = lean_ctor_get(x_12, 0); -lean_inc(x_601); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_9 = lean_ctor_get(x_6, 5); +x_10 = lean_ctor_get(x_2, 2); +lean_inc(x_10); +lean_inc(x_10); +x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); lean_dec(x_12); -x_602 = lean_ctor_get(x_32, 0); -lean_inc(x_602); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_603 = x_32; -} else { - lean_dec_ref(x_32); - x_603 = lean_box(0); -} -x_604 = lean_ctor_get(x_33, 1); -lean_inc(x_604); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_605 = x_33; -} else { - lean_dec_ref(x_33); - x_605 = lean_box(0); -} -x_606 = lean_ctor_get(x_34, 0); -lean_inc(x_606); -x_607 = lean_ctor_get(x_34, 1); -lean_inc(x_607); -x_608 = lean_ctor_get(x_34, 2); -lean_inc(x_608); -x_609 = lean_nat_dec_lt(x_606, x_607); -if (x_609 == 0) -{ -lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; -lean_dec(x_608); -lean_dec(x_607); -lean_dec(x_606); -lean_dec(x_22); -if (lean_is_scalar(x_605)) { - x_610 = lean_alloc_ctor(0, 2, 0); -} else { - x_610 = x_605; +x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +lean_dec(x_2); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_11); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set_tag(x_15, 1); +lean_ctor_set(x_15, 0, x_18); +return x_15; } -lean_ctor_set(x_610, 0, x_34); -lean_ctor_set(x_610, 1, x_604); -if (lean_is_scalar(x_603)) { - x_611 = lean_alloc_ctor(0, 2, 0); -} else { - x_611 = x_603; -} -lean_ctor_set(x_611, 0, x_602); -lean_ctor_set(x_611, 1, x_610); -x_612 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_612, 0, x_601); -lean_ctor_set(x_612, 1, x_611); -x_613 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_613, 0, x_612); -x_23 = x_613; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; uint8_t x_620; -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - lean_ctor_release(x_34, 1); - lean_ctor_release(x_34, 2); - x_614 = x_34; -} else { - lean_dec_ref(x_34); - x_614 = lean_box(0); +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_11); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; } -x_615 = lean_nat_add(x_606, x_608); -if (lean_is_scalar(x_614)) { - x_616 = lean_alloc_ctor(0, 3, 0); -} else { - x_616 = x_614; -} -lean_ctor_set(x_616, 0, x_615); -lean_ctor_set(x_616, 1, x_607); -lean_ctor_set(x_616, 2, x_608); -x_617 = lean_ctor_get(x_602, 0); -lean_inc(x_617); -x_618 = lean_ctor_get(x_602, 1); -lean_inc(x_618); -x_619 = lean_ctor_get(x_602, 2); -lean_inc(x_619); -x_620 = lean_nat_dec_lt(x_618, x_619); -if (x_620 == 0) -{ -lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; -lean_dec(x_619); -lean_dec(x_618); -lean_dec(x_617); -lean_dec(x_606); -lean_dec(x_22); -if (lean_is_scalar(x_605)) { - x_621 = lean_alloc_ctor(0, 2, 0); -} else { - x_621 = x_605; } -lean_ctor_set(x_621, 0, x_616); -lean_ctor_set(x_621, 1, x_604); -if (lean_is_scalar(x_603)) { - x_622 = lean_alloc_ctor(0, 2, 0); -} else { - x_622 = x_603; -} -lean_ctor_set(x_622, 0, x_602); -lean_ctor_set(x_622, 1, x_621); -x_623 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_623, 0, x_601); -lean_ctor_set(x_623, 1, x_622); -x_624 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_624, 0, x_623); -x_23 = x_624; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; uint8_t x_633; -if (lean_is_exclusive(x_602)) { - lean_ctor_release(x_602, 0); - lean_ctor_release(x_602, 1); - lean_ctor_release(x_602, 2); - x_625 = x_602; -} else { - lean_dec_ref(x_602); - x_625 = lean_box(0); -} -x_626 = lean_array_fget(x_617, x_618); -x_627 = lean_unsigned_to_nat(1u); -x_628 = lean_nat_add(x_618, x_627); -lean_dec(x_618); -if (lean_is_scalar(x_625)) { - x_629 = lean_alloc_ctor(0, 3, 0); -} else { - x_629 = x_625; -} -lean_ctor_set(x_629, 0, x_617); -lean_ctor_set(x_629, 1, x_628); -lean_ctor_set(x_629, 2, x_619); -x_630 = lean_ctor_get(x_601, 0); -lean_inc(x_630); -x_631 = lean_ctor_get(x_601, 1); -lean_inc(x_631); -x_632 = lean_ctor_get(x_601, 2); -lean_inc(x_632); -x_633 = lean_nat_dec_lt(x_631, x_632); -if (x_633 == 0) -{ -lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; -lean_dec(x_632); -lean_dec(x_631); -lean_dec(x_630); -lean_dec(x_626); -lean_dec(x_606); -lean_dec(x_22); -if (lean_is_scalar(x_605)) { - x_634 = lean_alloc_ctor(0, 2, 0); -} else { - x_634 = x_605; } -lean_ctor_set(x_634, 0, x_616); -lean_ctor_set(x_634, 1, x_604); -if (lean_is_scalar(x_603)) { - x_635 = lean_alloc_ctor(0, 2, 0); -} else { - x_635 = x_603; -} -lean_ctor_set(x_635, 0, x_629); -lean_ctor_set(x_635, 1, x_634); -x_636 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_636, 0, x_601); -lean_ctor_set(x_636, 1, x_635); -x_637 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_637, 0, x_636); -x_23 = x_637; -x_24 = x_19; -goto block_31; -} -else -{ -lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; uint8_t x_650; -lean_dec(x_605); -lean_dec(x_603); -if (lean_is_exclusive(x_601)) { - lean_ctor_release(x_601, 0); - lean_ctor_release(x_601, 1); - lean_ctor_release(x_601, 2); - x_638 = x_601; -} else { - lean_dec_ref(x_601); - x_638 = lean_box(0); -} -x_639 = lean_array_fget(x_630, x_631); -x_640 = lean_nat_add(x_631, x_627); -lean_dec(x_631); -if (lean_is_scalar(x_638)) { - x_641 = lean_alloc_ctor(0, 3, 0); -} else { - x_641 = x_638; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6___rarg___boxed), 8, 0); +return x_2; } -lean_ctor_set(x_641, 0, x_630); -lean_ctor_set(x_641, 1, x_640); -lean_ctor_set(x_641, 2, x_632); -x_642 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary_go___lambda__1___closed__1; -lean_inc(x_6); -x_643 = lean_array_push(x_642, x_6); -x_644 = lean_nat_sub(x_639, x_626); -lean_dec(x_626); -lean_dec(x_639); -x_645 = lean_nat_sub(x_644, x_627); -lean_dec(x_644); -x_646 = lean_unsigned_to_nat(0u); -lean_inc(x_645); +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = 0; +x_12 = 1; +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); -x_647 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(x_2, x_7, x_645, x_646, x_645, x_627, x_643, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_645); -x_648 = lean_ctor_get(x_647, 0); -lean_inc(x_648); -x_649 = lean_ctor_get(x_647, 1); -lean_inc(x_649); -lean_dec(x_647); -x_650 = lean_nat_dec_lt(x_627, x_8); -if (x_650 == 0) -{ -lean_object* x_651; uint8_t x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; -lean_dec(x_606); -x_651 = lean_ctor_get(x_17, 5); -lean_inc(x_651); -x_652 = 0; -x_653 = l_Lean_SourceInfo_fromRef(x_651, x_652); -x_654 = lean_ctor_get(x_17, 10); -lean_inc(x_654); -x_655 = lean_st_ref_get(x_18, x_649); -x_656 = lean_ctor_get(x_655, 0); -lean_inc(x_656); -x_657 = lean_ctor_get(x_655, 1); -lean_inc(x_657); -lean_dec(x_655); -x_658 = lean_ctor_get(x_656, 0); -lean_inc(x_658); -lean_dec(x_656); -x_659 = lean_environment_main_module(x_658); -x_660 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_654); -lean_inc(x_659); -x_661 = l_Lean_addMacroScope(x_659, x_660, x_654); -x_662 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; +lean_inc(x_6); lean_inc(x_5); -x_663 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_663, 0, x_662); -lean_ctor_set(x_663, 1, x_5); -x_664 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_653); -x_665 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_665, 0, x_653); -lean_ctor_set(x_665, 1, x_664); -lean_ctor_set(x_665, 2, x_661); -lean_ctor_set(x_665, 3, x_663); lean_inc(x_4); -x_666 = l_Lean_addMacroScope(x_659, x_4, x_654); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_653); -x_667 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_667, 0, x_653); -lean_ctor_set(x_667, 1, x_3); -lean_ctor_set(x_667, 2, x_666); -lean_ctor_set(x_667, 3, x_5); -x_668 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_653); -x_669 = l_Lean_Syntax_node1(x_653, x_668, x_667); -x_670 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -x_671 = l_Lean_Syntax_node2(x_653, x_670, x_665, x_669); -x_672 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_648, x_616, x_629, x_641, x_604, x_671, x_13, x_14, x_15, x_16, x_17, x_18, x_657); -lean_dec(x_22); -x_673 = lean_ctor_get(x_672, 0); -lean_inc(x_673); -x_674 = lean_ctor_get(x_672, 1); -lean_inc(x_674); -lean_dec(x_672); -x_23 = x_673; -x_24 = x_674; -goto block_31; -} -else -{ -lean_object* x_675; uint8_t x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; -x_675 = lean_ctor_get(x_17, 5); -lean_inc(x_675); -x_676 = 0; -x_677 = l_Lean_SourceInfo_fromRef(x_675, x_676); -x_678 = lean_ctor_get(x_17, 10); -lean_inc(x_678); -x_679 = lean_st_ref_get(x_18, x_649); -x_680 = lean_ctor_get(x_679, 0); -lean_inc(x_680); -x_681 = lean_ctor_get(x_679, 1); -lean_inc(x_681); -lean_dec(x_679); -x_682 = lean_ctor_get(x_680, 0); -lean_inc(x_682); -lean_dec(x_680); -x_683 = lean_environment_main_module(x_682); -x_684 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13; -lean_inc(x_677); -x_685 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_685, 0, x_677); -lean_ctor_set(x_685, 1, x_684); -x_686 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7; -lean_inc(x_678); -lean_inc(x_683); -x_687 = l_Lean_addMacroScope(x_683, x_686, x_678); -x_688 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8; +x_13 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_17); +x_19 = l_Lean_Meta_getMVars(x_17, x_6, x_7, x_8, x_9, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); -x_689 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_689, 0, x_688); -lean_ctor_set(x_689, 1, x_5); -x_690 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6; -lean_inc(x_677); -x_691 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_691, 0, x_677); -lean_ctor_set(x_691, 1, x_690); -lean_ctor_set(x_691, 2, x_687); -lean_ctor_set(x_691, 3, x_689); lean_inc(x_4); -x_692 = l_Lean_addMacroScope(x_683, x_4, x_678); -lean_inc(x_5); -lean_inc(x_3); -lean_inc(x_677); -x_693 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_693, 0, x_677); -lean_ctor_set(x_693, 1, x_3); -lean_ctor_set(x_693, 2, x_692); -lean_ctor_set(x_693, 3, x_5); -x_694 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10; -lean_inc(x_677); -x_695 = l_Lean_Syntax_node1(x_677, x_694, x_693); -x_696 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5; -lean_inc(x_677); -x_697 = l_Lean_Syntax_node2(x_677, x_696, x_691, x_695); -x_698 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14; -lean_inc(x_677); -x_699 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_699, 0, x_677); -lean_ctor_set(x_699, 1, x_698); -x_700 = l_Nat_repr(x_606); -x_701 = lean_box(2); -x_702 = l_Lean_Syntax_mkNumLit(x_700, x_701); -lean_inc(x_677); -x_703 = l_Lean_Syntax_node1(x_677, x_694, x_702); -lean_inc(x_677); -x_704 = l_Lean_Syntax_node3(x_677, x_694, x_697, x_699, x_703); -x_705 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15; -lean_inc(x_677); -x_706 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_706, 0, x_677); -lean_ctor_set(x_706, 1, x_705); -x_707 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12; -x_708 = l_Lean_Syntax_node3(x_677, x_707, x_685, x_704, x_706); -x_709 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_22, x_648, x_616, x_629, x_641, x_604, x_708, x_13, x_14, x_15, x_16, x_17, x_18, x_681); +x_22 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_20, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +lean_dec(x_20); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); lean_dec(x_22); -x_710 = lean_ctor_get(x_709, 0); -lean_inc(x_710); -x_711 = lean_ctor_get(x_709, 1); -lean_inc(x_711); -lean_dec(x_709); -x_23 = x_710; -x_24 = x_711; -goto block_31; +x_24 = lean_apply_8(x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +return x_24; } +else +{ +uint8_t x_25; +lean_dec(x_17); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_25 = !lean_is_exclusive(x_22); +if (x_25 == 0) +{ +return x_22; } +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_22, 0); +x_27 = lean_ctor_get(x_22, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_22); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } -block_31: -{ -if (lean_obj_tag(x_23) == 0) +else { -lean_object* x_25; lean_object* x_26; -lean_dec(x_17); +uint8_t x_29; +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -return x_26; +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_13); +if (x_29 == 0) +{ +return x_13; } else { -lean_object* x_27; size_t x_28; size_t x_29; -x_27 = lean_ctor_get(x_23, 0); -lean_inc(x_27); -lean_dec(x_23); -x_28 = 1; -x_29 = lean_usize_add(x_11, x_28); -x_11 = x_29; -x_12 = x_27; -x_19 = x_24; -goto _start; -} +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_13, 0); +x_31 = lean_ctor_get(x_13, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_13); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } } -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__1() { +static lean_object* _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("term", 4); +x_1 = lean_mk_string_from_bytes("invImage", 8); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__2() { +static lean_object* _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__1; +x_2 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__3() { +static lean_object* _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__2; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +uint8_t x_1; uint8_t x_2; uint8_t x_3; lean_object* x_4; +x_1 = 0; +x_2 = 1; +x_3 = 0; +x_4 = lean_alloc_ctor(0, 0, 4); +lean_ctor_set_uint8(x_4, 0, x_1); +lean_ctor_set_uint8(x_4, 1, x_2); +lean_ctor_set_uint8(x_4, 2, x_3); +lean_ctor_set_uint8(x_4, 3, x_2); +return x_4; } } -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__4() { +static lean_object* _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__4() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("x", 1); +x_1 = lean_mk_string_from_bytes("failed to apply 'invImage'", 26); return x_1; } } -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__5() { +static lean_object* _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__4; -x_2 = l_String_toSubstring_x27(x_1); +x_1 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__4; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("hole", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__1; -x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__2; -x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__3; -x_4 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__7; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__9() { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("_", 1); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_generateElements(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +uint8_t x_14; +x_14 = !lean_is_exclusive(x_11); +if (x_14 == 0) { -lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; size_t x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_11 = lean_ctor_get(x_8, 5); -lean_inc(x_11); -x_12 = 0; -x_13 = l_Lean_SourceInfo_fromRef(x_11, x_12); -x_14 = lean_ctor_get(x_8, 10); -lean_inc(x_14); -x_15 = lean_st_ref_get(x_9, x_10); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_11, 5); +x_16 = l_Lean_replaceRef(x_1, x_15); lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_environment_main_module(x_18); -x_20 = lean_box(0); -x_21 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__6; -x_22 = l_Lean_addMacroScope(x_19, x_21, x_14); -x_23 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__5; -lean_inc(x_13); -x_24 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_24, 0, x_13); -lean_ctor_set(x_24, 1, x_23); -lean_ctor_set(x_24, 2, x_22); -lean_ctor_set(x_24, 3, x_20); -x_25 = lean_st_ref_get(x_9, x_17); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__9; -lean_inc(x_13); -x_28 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_28, 0, x_13); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__8; -x_30 = l_Lean_Syntax_node1(x_13, x_29, x_28); -x_31 = lean_array_get_size(x_2); -x_32 = lean_unsigned_to_nat(0u); -x_33 = l_Array_toSubarray___rarg(x_2, x_32, x_31); -x_34 = lean_array_get_size(x_3); -x_35 = l_Array_toSubarray___rarg(x_3, x_32, x_34); -x_36 = lean_array_get_size(x_1); -x_37 = lean_unsigned_to_nat(1u); -lean_inc(x_36); -x_38 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_38, 0, x_32); -lean_ctor_set(x_38, 1, x_36); -lean_ctor_set(x_38, 2, x_37); -x_39 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual_go___closed__1; -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_35); -lean_ctor_set(x_41, 1, x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_33); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_usize_of_nat(x_36); -x_44 = 0; -x_45 = l_Lean_Elab_WF_elabWFRel_generateElements___closed__3; -x_46 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2(x_1, x_45, x_23, x_21, x_20, x_24, x_30, x_36, x_1, x_43, x_44, x_42, x_4, x_5, x_6, x_7, x_8, x_9, x_26); -lean_dec(x_36); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) +lean_dec(x_1); +lean_ctor_set(x_11, 5, x_16); +x_17 = lean_box(0); +lean_inc(x_9); +x_18 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_2, x_17, x_9, x_10, x_11, x_12, x_13); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Expr_mvarId_x21(x_19); +x_22 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__2; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_23 = l_Lean_Meta_mkConstWithFreshMVarLevels(x_22, x_9, x_10, x_11, x_12, x_20); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_46, 0); -lean_dec(x_51); -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -lean_ctor_set(x_46, 0, x_52); -return x_46; -} -else +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__3; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_21); +x_27 = l_Lean_MVarId_apply(x_21, x_24, x_26, x_9, x_10, x_11, x_12, x_25); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_46, 1); -lean_inc(x_53); -lean_dec(x_46); -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -lean_dec(x_49); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_53); -return x_55; -} -} -} -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: +lean_object* x_28; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_15; -x_15 = l_Std_Range_forIn_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_13); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_21); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5; +x_31 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1___rarg(x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_29); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_15; -} +return x_31; } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: +else { -lean_object* x_15; -x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_13); +lean_object* x_32; +x_32 = lean_ctor_get(x_28, 1); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_28); +lean_dec(x_21); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_dec(x_27); +x_34 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5; +x_35 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__2___rarg(x_34, x_7, x_8, x_9, x_10, x_11, x_12, x_33); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_1); -return x_15; -} +return x_35; } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -_start: +else { -size_t x_20; size_t x_21; lean_object* x_22; -x_20 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_21 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20, x_21, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -return x_22; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_generateElements___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +lean_object* x_36; +x_36 = lean_ctor_get(x_32, 1); +lean_inc(x_36); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_11; -x_11 = l_Lean_Elab_WF_elabWFRel_generateElements(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_32); +lean_dec(x_28); +lean_dec(x_21); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel_guess___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = lean_usize_dec_lt(x_3, x_2); -if (x_12 == 0) -{ -lean_object* x_13; +lean_dec(x_3); +x_37 = lean_ctor_get(x_27, 1); +lean_inc(x_37); +lean_dec(x_27); +x_38 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5; +x_39 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__3___rarg(x_38, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_4); -lean_ctor_set(x_13, 1, x_11); -return x_13; +return x_39; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_array_uget(x_4, x_3); -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_array_uset(x_4, x_3, x_15); +lean_object* x_40; +x_40 = lean_ctor_get(x_36, 1); +lean_inc(x_40); +lean_dec(x_36); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; +x_41 = lean_ctor_get(x_27, 1); +lean_inc(x_41); +lean_dec(x_27); +x_42 = lean_ctor_get(x_28, 0); +lean_inc(x_42); +lean_dec(x_28); +x_43 = lean_ctor_get(x_32, 0); +lean_inc(x_43); +lean_dec(x_32); +x_44 = 0; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_45 = l_Lean_Meta_intro1Core(x_42, x_44, x_9, x_10, x_11, x_12, x_41); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get(x_46, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_46, 1); +lean_inc(x_49); +lean_dec(x_46); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_3); +x_50 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual(x_3, x_49, x_48, x_7, x_8, x_9, x_10, x_11, x_12, x_47); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; lean_object* x_62; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_array_get_size(x_4); +x_54 = lean_unsigned_to_nat(0u); +x_55 = l_Array_toSubarray___rarg(x_4, x_54, x_53); +x_56 = lean_array_get_size(x_3); +x_57 = l_Array_toSubarray___rarg(x_3, x_54, x_56); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_55); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_get_size(x_51); +x_60 = lean_usize_of_nat(x_59); +lean_dec(x_59); +x_61 = 0; +lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_1); -x_17 = l_Lean_Elab_WF_getForbiddenByTrivialSizeOf(x_1, x_14, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_17) == 0) +x_62 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5(x_5, x_51, x_60, x_61, x_58, x_7, x_8, x_9, x_10, x_11, x_12, x_52); +lean_dec(x_51); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = 1; -x_21 = lean_usize_add(x_3, x_20); -x_22 = lean_array_uset(x_16, x_3, x_18); -x_3 = x_21; -x_4 = x_22; -x_11 = x_19; -goto _start; +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +lean_inc(x_43); +x_64 = l_Lean_Expr_mvar___override(x_43); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_65 = lean_infer_type(x_64, x_9, x_10, x_11, x_12, x_63); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = lean_box(0); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_69 = l_Lean_Meta_synthInstance(x_66, x_68, x_9, x_10, x_11, x_12, x_67); +if (lean_obj_tag(x_69) == 0) +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__1(x_43, x_70, x_7, x_8, x_9, x_10, x_11, x_12, x_71); +x_73 = lean_ctor_get(x_72, 1); +lean_inc(x_73); +lean_dec(x_72); +x_74 = l_Lean_Expr_mvar___override(x_21); +x_75 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_74, x_7, x_8, x_9, x_10, x_11, x_12, x_73); +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_apply_8(x_6, x_76, x_7, x_8, x_9, x_10, x_11, x_12, x_77); +return x_78; } else { -uint8_t x_24; -lean_dec(x_16); +uint8_t x_79; +lean_dec(x_43); +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_17); -if (x_24 == 0) +lean_dec(x_6); +x_79 = !lean_is_exclusive(x_69); +if (x_79 == 0) { -return x_17; +return x_69; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_17, 0); -x_26 = lean_ctor_get(x_17, 1); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_17); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; -} -} -} +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_69, 0); +x_81 = lean_ctor_get(x_69, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_69); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_guess___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_9 = lean_ctor_get(x_6, 5); -x_10 = lean_ctor_get(x_2, 2); -lean_inc(x_10); -lean_inc(x_10); -x_11 = l_Lean_Elab_getBetterRef(x_9, x_10); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(x_13, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_14); -lean_dec(x_2); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_11); -lean_ctor_set(x_18, 1, x_17); -lean_ctor_set_tag(x_15, 1); -lean_ctor_set(x_15, 0, x_18); -return x_15; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_11); -lean_ctor_set(x_21, 1, x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_guess___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_guess___spec__2___rarg___boxed), 8, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Elab_WF_elabWFRel_guess___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = l_Lean_Elab_Term_saveState___rarg(x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -x_12 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; +uint8_t x_83; +lean_dec(x_43); +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_12); lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) +x_83 = !lean_is_exclusive(x_65); +if (x_83 == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_12, 0, x_15); -return x_12; +return x_65; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_12, 0); -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_12); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -return x_19; +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_65, 0); +x_85 = lean_ctor_get(x_65, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_65); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; +} } } else { -uint8_t x_20; -x_20 = !lean_is_exclusive(x_12); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_21 = lean_ctor_get(x_12, 0); -x_22 = lean_ctor_get(x_12, 1); -x_23 = l_Lean_Exception_isRuntime(x_21); -if (x_23 == 0) -{ -uint8_t x_24; lean_object* x_25; uint8_t x_26; -lean_free_object(x_12); +uint8_t x_87; +lean_dec(x_43); lean_dec(x_21); -x_24 = 0; -x_25 = l_Lean_Elab_Term_SavedState_restore(x_10, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_22); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) +lean_dec(x_11); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_87 = !lean_is_exclusive(x_62); +if (x_87 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -x_28 = lean_box(0); -lean_ctor_set(x_25, 0, x_28); -return x_25; +return x_62; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_25, 1); -lean_inc(x_29); -lean_dec(x_25); -x_30 = lean_box(0); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -return x_31; +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_62, 0); +x_89 = lean_ctor_get(x_62, 1); +lean_inc(x_89); +lean_inc(x_88); +lean_dec(x_62); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; +} } } else { -uint8_t x_32; -x_32 = lean_ctor_get_uint8(x_6, sizeof(void*)*11); -if (x_32 == 0) -{ +uint8_t x_91; +lean_dec(x_43); +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_12); lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_12; +x_91 = !lean_is_exclusive(x_50); +if (x_91 == 0) +{ +return x_50; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_50, 0); +x_93 = lean_ctor_get(x_50, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_50); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; +} +} } else { -uint8_t x_33; lean_object* x_34; uint8_t x_35; -lean_free_object(x_12); +uint8_t x_95; +lean_dec(x_43); lean_dec(x_21); -x_33 = 0; -x_34 = l_Lean_Elab_Term_SavedState_restore(x_10, x_33, x_2, x_3, x_4, x_5, x_6, x_7, x_22); -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) +lean_dec(x_11); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_95 = !lean_is_exclusive(x_45); +if (x_95 == 0) { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -x_37 = lean_box(0); -lean_ctor_set(x_34, 0, x_37); -return x_34; +return x_45; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_34, 1); -lean_inc(x_38); -lean_dec(x_34); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -return x_40; -} +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_45, 0); +x_97 = lean_ctor_get(x_45, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_45); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } else { -lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_41 = lean_ctor_get(x_12, 0); -x_42 = lean_ctor_get(x_12, 1); -lean_inc(x_42); -lean_inc(x_41); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +lean_dec(x_40); +lean_dec(x_32); +lean_dec(x_28); +lean_dec(x_21); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_99 = lean_ctor_get(x_27, 1); +lean_inc(x_99); +lean_dec(x_27); +x_100 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5; +x_101 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6___rarg(x_100, x_7, x_8, x_9, x_10, x_11, x_12, x_99); lean_dec(x_12); -x_43 = l_Lean_Exception_isRuntime(x_41); -if (x_43 == 0) -{ -uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec(x_41); -x_44 = 0; -x_45 = l_Lean_Elab_Term_SavedState_restore(x_10, x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_42); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - lean_ctor_release(x_45, 1); - x_47 = x_45; -} else { - lean_dec_ref(x_45); - x_47 = lean_box(0); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_101; +} +} } -x_48 = lean_box(0); -if (lean_is_scalar(x_47)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_47; } -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_46); -return x_49; } else { -uint8_t x_50; -x_50 = lean_ctor_get_uint8(x_6, sizeof(void*)*11); -if (x_50 == 0) -{ -lean_object* x_51; +uint8_t x_102; +lean_dec(x_21); +lean_dec(x_11); +lean_dec(x_12); lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_41); -lean_ctor_set(x_51, 1, x_42); -return x_51; +x_102 = !lean_is_exclusive(x_27); +if (x_102 == 0) +{ +return x_27; } else { -uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -lean_dec(x_41); -x_52 = 0; -x_53 = l_Lean_Elab_Term_SavedState_restore(x_10, x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_42); -x_54 = lean_ctor_get(x_53, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_55 = x_53; -} else { - lean_dec_ref(x_53); - x_55 = lean_box(0); -} -x_56 = lean_box(0); -if (lean_is_scalar(x_55)) { - x_57 = lean_alloc_ctor(0, 2, 0); -} else { - x_57 = x_55; -} -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_54); -return x_57; -} -} -} -} -} +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_27, 0); +x_104 = lean_ctor_get(x_27, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_27); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; } -LEAN_EXPORT lean_object* l_Lean_observing_x3f___at_Lean_Elab_WF_elabWFRel_guess___spec__3(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_observing_x3f___at_Lean_Elab_WF_elabWFRel_guess___spec__3___rarg), 8, 0); -return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_guess___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { -_start: -{ -uint8_t x_19; -x_19 = lean_usize_dec_lt(x_10, x_9); -if (x_19 == 0) +else { -lean_object* x_20; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); +uint8_t x_106; +lean_dec(x_21); +lean_dec(x_11); lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_11); -lean_ctor_set(x_20, 1, x_18); -return x_20; +x_106 = !lean_is_exclusive(x_23); +if (x_106 == 0) +{ +return x_23; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_23, 0); +x_108 = lean_ctor_get(x_23, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_23); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_110 = lean_ctor_get(x_11, 0); +x_111 = lean_ctor_get(x_11, 1); +x_112 = lean_ctor_get(x_11, 2); +x_113 = lean_ctor_get(x_11, 3); +x_114 = lean_ctor_get(x_11, 4); +x_115 = lean_ctor_get(x_11, 5); +x_116 = lean_ctor_get(x_11, 6); +x_117 = lean_ctor_get(x_11, 7); +x_118 = lean_ctor_get(x_11, 8); +x_119 = lean_ctor_get(x_11, 9); +x_120 = lean_ctor_get(x_11, 10); +x_121 = lean_ctor_get_uint8(x_11, sizeof(void*)*11); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); +lean_inc(x_117); +lean_inc(x_116); +lean_inc(x_115); +lean_inc(x_114); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_inc(x_110); lean_dec(x_11); -x_21 = lean_array_uget(x_8, x_10); -lean_inc(x_16); -lean_inc(x_6); -x_22 = l_Lean_Elab_WF_elabWFRel_generateElements(x_1, x_6, x_21, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_25 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel_go___rarg), 13, 6); -lean_closure_set(x_25, 0, x_1); -lean_closure_set(x_25, 1, x_2); -lean_closure_set(x_25, 2, x_3); -lean_closure_set(x_25, 3, x_4); -lean_closure_set(x_25, 4, x_5); -lean_closure_set(x_25, 5, x_23); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); +x_122 = l_Lean_replaceRef(x_1, x_115); +lean_dec(x_115); +lean_dec(x_1); +x_123 = lean_alloc_ctor(0, 11, 1); +lean_ctor_set(x_123, 0, x_110); +lean_ctor_set(x_123, 1, x_111); +lean_ctor_set(x_123, 2, x_112); +lean_ctor_set(x_123, 3, x_113); +lean_ctor_set(x_123, 4, x_114); +lean_ctor_set(x_123, 5, x_122); +lean_ctor_set(x_123, 6, x_116); +lean_ctor_set(x_123, 7, x_117); +lean_ctor_set(x_123, 8, x_118); +lean_ctor_set(x_123, 9, x_119); +lean_ctor_set(x_123, 10, x_120); +lean_ctor_set_uint8(x_123, sizeof(void*)*11, x_121); +x_124 = lean_box(0); +lean_inc(x_9); +x_125 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_2, x_124, x_9, x_10, x_123, x_12, x_13); +x_126 = lean_ctor_get(x_125, 0); +lean_inc(x_126); +x_127 = lean_ctor_get(x_125, 1); +lean_inc(x_127); +lean_dec(x_125); +x_128 = l_Lean_Expr_mvarId_x21(x_126); +x_129 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__2; lean_inc(x_12); -x_26 = l_Lean_observing_x3f___at_Lean_Elab_WF_elabWFRel_guess___spec__3___rarg(x_25, x_12, x_13, x_14, x_15, x_16, x_17, x_24); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -if (lean_obj_tag(x_27) == 0) +lean_inc(x_123); +lean_inc(x_10); +lean_inc(x_9); +x_130 = l_Lean_Meta_mkConstWithFreshMVarLevels(x_129, x_9, x_10, x_123, x_12, x_127); +if (lean_obj_tag(x_130) == 0) { -lean_object* x_28; size_t x_29; size_t x_30; -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = 1; -x_30 = lean_usize_add(x_10, x_29); -lean_inc(x_7); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_131 = lean_ctor_get(x_130, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_130, 1); +lean_inc(x_132); +lean_dec(x_130); +x_133 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__3; +lean_inc(x_12); +lean_inc(x_123); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_128); +x_134 = l_Lean_MVarId_apply(x_128, x_131, x_133, x_9, x_10, x_123, x_12, x_132); +if (lean_obj_tag(x_134) == 0) { -size_t _tmp_9 = x_30; -lean_object* _tmp_10 = x_7; -lean_object* _tmp_17 = x_28; -x_10 = _tmp_9; -x_11 = _tmp_10; -x_18 = _tmp_17; -} -goto _start; -} -else +lean_object* x_135; +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +if (lean_obj_tag(x_135) == 0) { -uint8_t x_32; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); +lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_128); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_32 = !lean_is_exclusive(x_26); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_26, 0); -lean_dec(x_33); -x_34 = !lean_is_exclusive(x_27); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_27); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_26, 0, x_36); -return x_26; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_27, 0); -lean_inc(x_37); -lean_dec(x_27); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); -x_39 = lean_box(0); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_26, 0, x_40); -return x_26; -} +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +x_137 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5; +x_138 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1___rarg(x_137, x_7, x_8, x_9, x_10, x_123, x_12, x_136); +lean_dec(x_12); +lean_dec(x_123); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_138; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_41 = lean_ctor_get(x_26, 1); -lean_inc(x_41); -lean_dec(x_26); -x_42 = lean_ctor_get(x_27, 0); -lean_inc(x_42); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - x_43 = x_27; -} else { - lean_dec_ref(x_27); - x_43 = lean_box(0); -} -if (lean_is_scalar(x_43)) { - x_44 = lean_alloc_ctor(1, 1, 0); -} else { - x_44 = x_43; -} -lean_ctor_set(x_44, 0, x_42); -x_45 = lean_box(0); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_41); -return x_47; -} -} -} -else +lean_object* x_139; +x_139 = lean_ctor_get(x_135, 1); +lean_inc(x_139); +if (lean_obj_tag(x_139) == 0) { -uint8_t x_48; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_7); +lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec(x_135); +lean_dec(x_128); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_48 = !lean_is_exclusive(x_26); -if (x_48 == 0) -{ -return x_26; +x_140 = lean_ctor_get(x_134, 1); +lean_inc(x_140); +lean_dec(x_134); +x_141 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5; +x_142 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__2___rarg(x_141, x_7, x_8, x_9, x_10, x_123, x_12, x_140); +lean_dec(x_12); +lean_dec(x_123); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_142; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_26, 0); -x_50 = lean_ctor_get(x_26, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_26); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_guess___spec__4(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_guess___spec__4___rarg___boxed), 18, 0); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("failed to prove termination, use `termination_by` to specify a well-founded relation", 84); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: +lean_object* x_143; +x_143 = lean_ctor_get(x_139, 1); +lean_inc(x_143); +if (lean_obj_tag(x_143) == 0) { -lean_object* x_9; lean_object* x_10; -lean_dec(x_1); -x_9 = l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__2; -x_10 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_guess___spec__2___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_10; -} +lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_139); +lean_dec(x_135); +lean_dec(x_128); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_144 = lean_ctor_get(x_134, 1); +lean_inc(x_144); +lean_dec(x_134); +x_145 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5; +x_146 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__3___rarg(x_145, x_7, x_8, x_9, x_10, x_123, x_12, x_144); +lean_dec(x_12); +lean_dec(x_123); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_146; } -static lean_object* _init_l_Lean_Elab_WF_elabWFRel_guess___rarg___closed__1() { -_start: +else { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___boxed), 8, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_guess___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: +lean_object* x_147; +x_147 = lean_ctor_get(x_143, 1); +lean_inc(x_147); +lean_dec(x_143); +if (lean_obj_tag(x_147) == 0) { -lean_object* x_13; -lean_inc(x_11); +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; +x_148 = lean_ctor_get(x_134, 1); +lean_inc(x_148); +lean_dec(x_134); +x_149 = lean_ctor_get(x_135, 0); +lean_inc(x_149); +lean_dec(x_135); +x_150 = lean_ctor_get(x_139, 0); +lean_inc(x_150); +lean_dec(x_139); +x_151 = 0; +lean_inc(x_12); +lean_inc(x_123); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_1); -lean_inc(x_3); -x_13 = l_Lean_Elab_WF_getNumCandidateArgs(x_3, x_1, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_13) == 0) +x_152 = l_Lean_Meta_intro1Core(x_149, x_151, x_9, x_10, x_123, x_12, x_148); +if (lean_obj_tag(x_152) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_array_get_size(x_1); -x_17 = lean_usize_of_nat(x_16); -lean_dec(x_16); -x_18 = 0; -lean_inc(x_11); +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +lean_dec(x_152); +x_155 = lean_ctor_get(x_153, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_153, 1); +lean_inc(x_156); +lean_dec(x_153); +lean_inc(x_12); +lean_inc(x_123); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_1); +lean_inc(x_7); lean_inc(x_3); -x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel_guess___spec__1(x_3, x_17, x_18, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -if (lean_obj_tag(x_19) == 0) +x_157 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackMutual(x_3, x_156, x_155, x_7, x_8, x_9, x_10, x_123, x_12, x_154); +if (lean_obj_tag(x_157) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; lean_object* x_28; lean_object* x_29; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Elab_WF_elabWFRel_guess___rarg___closed__1; -x_23 = lean_unsigned_to_nat(32u); -x_24 = l_Lean_Elab_WF_generateCombinations_x3f(x_20, x_14, x_23); -lean_dec(x_20); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -lean_dec(x_24); -x_26 = lean_array_get_size(x_25); -x_27 = lean_usize_of_nat(x_26); -lean_dec(x_26); -x_28 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems___closed__1; -lean_inc(x_11); +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; size_t x_167; size_t x_168; lean_object* x_169; +x_158 = lean_ctor_get(x_157, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_157, 1); +lean_inc(x_159); +lean_dec(x_157); +x_160 = lean_array_get_size(x_4); +x_161 = lean_unsigned_to_nat(0u); +x_162 = l_Array_toSubarray___rarg(x_4, x_161, x_160); +x_163 = lean_array_get_size(x_3); +x_164 = l_Array_toSubarray___rarg(x_3, x_161, x_163); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_162); +lean_ctor_set(x_165, 1, x_164); +x_166 = lean_array_get_size(x_158); +x_167 = lean_usize_of_nat(x_166); +lean_dec(x_166); +x_168 = 0; +lean_inc(x_12); +lean_inc(x_123); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_6); -x_29 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_guess___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_14, x_28, x_25, x_27, x_18, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_21); -lean_dec(x_25); -if (lean_obj_tag(x_29) == 0) +x_169 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5(x_5, x_158, x_167, x_168, x_165, x_7, x_8, x_9, x_10, x_123, x_12, x_159); +lean_dec(x_158); +if (lean_obj_tag(x_169) == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -lean_dec(x_30); -if (lean_obj_tag(x_31) == 0) +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_169, 1); +lean_inc(x_170); +lean_dec(x_169); +lean_inc(x_150); +x_171 = l_Lean_Expr_mvar___override(x_150); +lean_inc(x_12); +lean_inc(x_123); +lean_inc(x_10); +lean_inc(x_9); +x_172 = lean_infer_type(x_171, x_9, x_10, x_123, x_12, x_170); +if (lean_obj_tag(x_172) == 0) +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_173 = lean_ctor_get(x_172, 0); +lean_inc(x_173); +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = lean_box(0); +lean_inc(x_12); +lean_inc(x_123); +lean_inc(x_10); +lean_inc(x_9); +x_176 = l_Lean_Meta_synthInstance(x_173, x_175, x_9, x_10, x_123, x_12, x_174); +if (lean_obj_tag(x_176) == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = lean_box(0); -x_34 = lean_apply_8(x_22, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_32); -return x_34; +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = l_Lean_MVarId_assign___at_Lean_Elab_Term_exprToSyntax___spec__1(x_150, x_177, x_7, x_8, x_9, x_10, x_123, x_12, x_178); +x_180 = lean_ctor_get(x_179, 1); +lean_inc(x_180); +lean_dec(x_179); +x_181 = l_Lean_Expr_mvar___override(x_128); +x_182 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_181, x_7, x_8, x_9, x_10, x_123, x_12, x_180); +x_183 = lean_ctor_get(x_182, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +lean_dec(x_182); +x_185 = lean_apply_8(x_6, x_183, x_7, x_8, x_9, x_10, x_123, x_12, x_184); +return x_185; } else { -uint8_t x_35; -lean_dec(x_11); +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_dec(x_150); +lean_dec(x_128); +lean_dec(x_123); +lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_35 = !lean_is_exclusive(x_29); -if (x_35 == 0) -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_29, 0); -lean_dec(x_36); -x_37 = lean_ctor_get(x_31, 0); -lean_inc(x_37); -lean_dec(x_31); -lean_ctor_set(x_29, 0, x_37); -return x_29; +x_186 = lean_ctor_get(x_176, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_176, 1); +lean_inc(x_187); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_188 = x_176; +} else { + lean_dec_ref(x_176); + x_188 = lean_box(0); } -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_29, 1); -lean_inc(x_38); -lean_dec(x_29); -x_39 = lean_ctor_get(x_31, 0); -lean_inc(x_39); -lean_dec(x_31); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -return x_40; +if (lean_is_scalar(x_188)) { + x_189 = lean_alloc_ctor(1, 2, 0); +} else { + x_189 = x_188; } +lean_ctor_set(x_189, 0, x_186); +lean_ctor_set(x_189, 1, x_187); +return x_189; } } else { -uint8_t x_41; -lean_dec(x_11); +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; +lean_dec(x_150); +lean_dec(x_128); +lean_dec(x_123); +lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_41 = !lean_is_exclusive(x_29); -if (x_41 == 0) -{ -return x_29; +x_190 = lean_ctor_get(x_172, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_172, 1); +lean_inc(x_191); +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + x_192 = x_172; +} else { + lean_dec_ref(x_172); + x_192 = lean_box(0); } -else -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_29, 0); -x_43 = lean_ctor_get(x_29, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_29); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +if (lean_is_scalar(x_192)) { + x_193 = lean_alloc_ctor(1, 2, 0); +} else { + x_193 = x_192; } +lean_ctor_set(x_193, 0, x_190); +lean_ctor_set(x_193, 1, x_191); +return x_193; } } else { -uint8_t x_45; -lean_dec(x_14); -lean_dec(x_11); +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +lean_dec(x_150); +lean_dec(x_128); +lean_dec(x_123); +lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_45 = !lean_is_exclusive(x_19); -if (x_45 == 0) -{ -return x_19; +x_194 = lean_ctor_get(x_169, 0); +lean_inc(x_194); +x_195 = lean_ctor_get(x_169, 1); +lean_inc(x_195); +if (lean_is_exclusive(x_169)) { + lean_ctor_release(x_169, 0); + lean_ctor_release(x_169, 1); + x_196 = x_169; +} else { + lean_dec_ref(x_169); + x_196 = lean_box(0); } -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_19, 0); -x_47 = lean_ctor_get(x_19, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_19); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; +if (lean_is_scalar(x_196)) { + x_197 = lean_alloc_ctor(1, 2, 0); +} else { + x_197 = x_196; } +lean_ctor_set(x_197, 0, x_194); +lean_ctor_set(x_197, 1, x_195); +return x_197; } } else { -uint8_t x_49; -lean_dec(x_11); +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; +lean_dec(x_150); +lean_dec(x_128); +lean_dec(x_123); +lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -9983,163 +5345,99 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_49 = !lean_is_exclusive(x_13); -if (x_49 == 0) -{ -return x_13; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_13, 0); -x_51 = lean_ctor_get(x_13, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_13); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_guess(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel_guess___rarg), 12, 0); -return x_2; +x_198 = lean_ctor_get(x_157, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_157, 1); +lean_inc(x_199); +if (lean_is_exclusive(x_157)) { + lean_ctor_release(x_157, 0); + lean_ctor_release(x_157, 1); + x_200 = x_157; +} else { + lean_dec_ref(x_157); + x_200 = lean_box(0); } +if (lean_is_scalar(x_200)) { + x_201 = lean_alloc_ctor(1, 2, 0); +} else { + x_201 = x_200; } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel_guess___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Elab_WF_elabWFRel_guess___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_6); -lean_dec(x_5); -return x_14; +lean_ctor_set(x_201, 0, x_198); +lean_ctor_set(x_201, 1, x_199); +return x_201; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_guess___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: +else { -lean_object* x_9; -x_9 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel_guess___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +lean_dec(x_150); +lean_dec(x_128); +lean_dec(x_123); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_9; +x_202 = lean_ctor_get(x_152, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_152, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_204 = x_152; +} else { + lean_dec_ref(x_152); + x_204 = lean_box(0); } +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(1, 2, 0); +} else { + x_205 = x_204; } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_guess___spec__4___rarg___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -size_t x_19; size_t x_20; lean_object* x_21; -x_19 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_20 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_21 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_guess___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19, x_20, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_8); -return x_21; +lean_ctor_set(x_205, 0, x_202); +lean_ctor_set(x_205, 1, x_203); +return x_205; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: +else { -lean_object* x_9; -x_9 = l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); +lean_object* x_206; lean_object* x_207; lean_object* x_208; +lean_dec(x_147); +lean_dec(x_139); +lean_dec(x_135); +lean_dec(x_128); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_9; +x_206 = lean_ctor_get(x_134, 1); +lean_inc(x_206); +lean_dec(x_134); +x_207 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5; +x_208 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6___rarg(x_207, x_7, x_8, x_9, x_10, x_123, x_12, x_206); +lean_dec(x_12); +lean_dec(x_123); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +return x_208; +} +} } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; uint8_t x_12; lean_object* x_13; -x_11 = 0; -x_12 = 1; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_13 = l___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_withSynthesizeImp___rarg(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_Lean_instantiateMVars___at_Lean_Elab_Term_MVarErrorInfo_logError___spec__1(x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_15); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -lean_inc(x_17); -x_19 = l_Lean_Meta_getMVars(x_17, x_6, x_7, x_8, x_9, x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_22 = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(x_20, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_21); -lean_dec(x_20); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_apply_8(x_3, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_23); -return x_24; } else { -uint8_t x_25; -lean_dec(x_17); +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_dec(x_128); +lean_dec(x_123); +lean_dec(x_12); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10147,29 +5445,35 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_25 = !lean_is_exclusive(x_22); -if (x_25 == 0) -{ -return x_22; +x_209 = lean_ctor_get(x_134, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_134, 1); +lean_inc(x_210); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + x_211 = x_134; +} else { + lean_dec_ref(x_134); + x_211 = lean_box(0); } -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_22, 0); -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_22); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +if (lean_is_scalar(x_211)) { + x_212 = lean_alloc_ctor(1, 2, 0); +} else { + x_212 = x_211; } +lean_ctor_set(x_212, 0, x_209); +lean_ctor_set(x_212, 1, x_210); +return x_212; } } else { -uint8_t x_29; +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +lean_dec(x_128); +lean_dec(x_123); +lean_dec(x_12); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10177,125 +5481,77 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -x_29 = !lean_is_exclusive(x_13); -if (x_29 == 0) -{ -return x_13; +x_213 = lean_ctor_get(x_130, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_130, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_215 = x_130; +} else { + lean_dec_ref(x_130); + x_215 = lean_box(0); } -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_13, 0); -x_31 = lean_ctor_get(x_13, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_13); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +if (lean_is_scalar(x_215)) { + x_216 = lean_alloc_ctor(1, 2, 0); +} else { + x_216 = x_215; +} +lean_ctor_set(x_216, 0, x_213); +lean_ctor_set(x_216, 1, x_214); +return x_216; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_15; -x_15 = l_Lean_Elab_WF_elabWFRel_guess___rarg(x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_15; -} -else -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_1); -if (x_16 == 0) -{ -lean_object* x_17; -x_17 = lean_ctor_get(x_1, 0); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_4); -lean_dec(x_2); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -lean_ctor_set(x_1, 0, x_6); -x_19 = lean_box(0); -x_20 = 1; -x_21 = lean_box(x_20); -x_22 = lean_box(x_20); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_23, 0, x_18); -lean_closure_set(x_23, 1, x_1); -lean_closure_set(x_23, 2, x_21); -lean_closure_set(x_23, 3, x_22); -lean_closure_set(x_23, 4, x_19); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel___rarg___lambda__1), 10, 3); -lean_closure_set(x_24, 0, x_23); -lean_closure_set(x_24, 1, x_19); -lean_closure_set(x_24, 2, x_5); -x_25 = l_Lean_Elab_Term_withDeclName___rarg(x_3, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; -lean_free_object(x_1); -x_26 = lean_ctor_get(x_17, 0); -lean_inc(x_26); -lean_dec(x_17); -x_27 = l_Lean_Elab_WF_elabWFRel_go___rarg(x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_27; -} -} -else -{ -lean_object* x_28; -x_28 = lean_ctor_get(x_1, 0); -lean_inc(x_28); +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_6); +lean_dec(x_5); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); lean_dec(x_1); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_4); -lean_dec(x_2); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -lean_dec(x_28); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_6); -x_31 = lean_box(0); -x_32 = 1; -x_33 = lean_box(x_32); -x_34 = lean_box(x_32); -x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); -lean_closure_set(x_35, 0, x_29); -lean_closure_set(x_35, 1, x_30); -lean_closure_set(x_35, 2, x_33); -lean_closure_set(x_35, 3, x_34); -lean_closure_set(x_35, 4, x_31); -x_36 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel___rarg___lambda__1), 10, 3); -lean_closure_set(x_36, 0, x_35); -lean_closure_set(x_36, 1, x_31); -lean_closure_set(x_36, 2, x_5); -x_37 = l_Lean_Elab_Term_withDeclName___rarg(x_3, x_36, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_37; +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_2); +x_17 = lean_box(0); +x_18 = 1; +x_19 = lean_box(x_18); +x_20 = lean_box(x_18); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabTermEnsuringType___boxed), 12, 5); +lean_closure_set(x_21, 0, x_15); +lean_closure_set(x_21, 1, x_16); +lean_closure_set(x_21, 2, x_19); +lean_closure_set(x_21, 3, x_20); +lean_closure_set(x_21, 4, x_17); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel___rarg___lambda__1), 10, 3); +lean_closure_set(x_22, 0, x_21); +lean_closure_set(x_22, 1, x_17); +lean_closure_set(x_22, 2, x_3); +x_23 = l_Lean_Elab_Term_withDeclName___rarg(x_4, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_23; } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_28, 0); -lean_inc(x_38); -lean_dec(x_28); -x_39 = l_Lean_Elab_WF_elabWFRel_go___rarg(x_2, x_3, x_4, x_5, x_6, x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_39; -} -} +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_1, 0); +lean_inc(x_24); +lean_dec(x_1); +lean_inc(x_24); +x_25 = l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_getRefFromElems(x_24); +x_26 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel___rarg___lambda__2), 13, 6); +lean_closure_set(x_26, 0, x_25); +lean_closure_set(x_26, 1, x_2); +lean_closure_set(x_26, 2, x_5); +lean_closure_set(x_26, 3, x_24); +lean_closure_set(x_26, 4, x_6); +lean_closure_set(x_26, 5, x_3); +x_27 = l_Lean_Elab_Term_withDeclName___rarg(x_4, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_27; } } } @@ -10372,7 +5628,7 @@ x_26 = lean_ctor_get(x_23, 1); lean_inc(x_26); lean_dec(x_23); x_27 = lean_box(0); -x_28 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2(x_5, x_1, x_2, x_3, x_6, x_21, x_27, x_7, x_8, x_9, x_10, x_11, x_12, x_26); +x_28 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__3(x_5, x_21, x_6, x_2, x_1, x_3, x_27, x_7, x_8, x_9, x_10, x_11, x_12, x_26); return x_28; } else @@ -10407,7 +5663,7 @@ lean_inc(x_42); x_43 = lean_ctor_get(x_41, 1); lean_inc(x_43); lean_dec(x_41); -x_44 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2(x_5, x_1, x_2, x_3, x_6, x_21, x_42, x_7, x_8, x_9, x_10, x_11, x_12, x_43); +x_44 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__3(x_5, x_21, x_6, x_2, x_1, x_3, x_42, x_7, x_8, x_9, x_10, x_11, x_12, x_43); lean_dec(x_42); return x_44; } @@ -10456,11 +5712,90 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_WF_elabWFRel___rarg), 13, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_MVarId_assign___at_Lean_Elab_WF_elabWFRel___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel___spec__5(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_2); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Elab_WF_elabWFRel___spec__6___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_WF_elabWFRel___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; -x_15 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_15 = l_Lean_Elab_WF_elabWFRel___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_7); return x_15; } @@ -10546,78 +5881,16 @@ l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda_ lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__2___closed__1); l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__2___closed__2 = _init_l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__2___closed__2(); lean_mark_persistent(l___private_Lean_Elab_PreDefinition_WF_Rel_0__Lean_Elab_WF_unpackUnary___lambda__2___closed__2); -l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__1 = _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__1(); -lean_mark_persistent(l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__1); -l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__2 = _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__2(); -lean_mark_persistent(l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__2); -l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__3 = _init_l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__3(); -lean_mark_persistent(l_Subarray_forInUnsafe_loop___at_Lean_Elab_WF_getForbiddenByTrivialSizeOf___spec__1___closed__3); -l_Lean_Elab_WF_generateCombinations_x3f_go___closed__1 = _init_l_Lean_Elab_WF_generateCombinations_x3f_go___closed__1(); -lean_mark_persistent(l_Lean_Elab_WF_generateCombinations_x3f_go___closed__1); -l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__1); -l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__2 = _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__2); -l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__3 = _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__3); -l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__4 = _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__4); -l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5 = _init_l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_go___rarg___lambda__1___closed__5); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__1(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__1); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__2(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__2); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__3(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__3); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__4(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__4); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__5); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__6); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__7); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__8); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__9 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__9(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__9); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__10); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__11 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__11(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__11); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__12); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__13); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__14); -l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15(); -lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_WF_elabWFRel_generateElements___spec__2___closed__15); -l_Lean_Elab_WF_elabWFRel_generateElements___closed__1 = _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__1(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_generateElements___closed__1); -l_Lean_Elab_WF_elabWFRel_generateElements___closed__2 = _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__2(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_generateElements___closed__2); -l_Lean_Elab_WF_elabWFRel_generateElements___closed__3 = _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__3(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_generateElements___closed__3); -l_Lean_Elab_WF_elabWFRel_generateElements___closed__4 = _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__4(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_generateElements___closed__4); -l_Lean_Elab_WF_elabWFRel_generateElements___closed__5 = _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__5(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_generateElements___closed__5); -l_Lean_Elab_WF_elabWFRel_generateElements___closed__6 = _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__6(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_generateElements___closed__6); -l_Lean_Elab_WF_elabWFRel_generateElements___closed__7 = _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__7(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_generateElements___closed__7); -l_Lean_Elab_WF_elabWFRel_generateElements___closed__8 = _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__8(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_generateElements___closed__8); -l_Lean_Elab_WF_elabWFRel_generateElements___closed__9 = _init_l_Lean_Elab_WF_elabWFRel_generateElements___closed__9(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_generateElements___closed__9); -l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__1 = _init_l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__1); -l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__2 = _init_l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_guess___rarg___lambda__1___closed__2); -l_Lean_Elab_WF_elabWFRel_guess___rarg___closed__1 = _init_l_Lean_Elab_WF_elabWFRel_guess___rarg___closed__1(); -lean_mark_persistent(l_Lean_Elab_WF_elabWFRel_guess___rarg___closed__1); +l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__1 = _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__1); +l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__2 = _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__2); +l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__3 = _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__3); +l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__4 = _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__4); +l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5 = _init_l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Elab_WF_elabWFRel___rarg___lambda__2___closed__5); l_Lean_Elab_WF_elabWFRel___rarg___closed__1 = _init_l_Lean_Elab_WF_elabWFRel___rarg___closed__1(); lean_mark_persistent(l_Lean_Elab_WF_elabWFRel___rarg___closed__1); l_Lean_Elab_WF_elabWFRel___rarg___closed__2 = _init_l_Lean_Elab_WF_elabWFRel___rarg___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index e08471966658..44c155f7a941 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -46,6 +46,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__9; static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedMkStr1___closed__5; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_mkNode___closed__2; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__7; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___lambda__3___closed__32; @@ -458,6 +459,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quota static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__17; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___closed__51; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__18(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_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot_declRange____x40_Lean_Elab_Quotation___hyg_8131____closed__1; lean_object* l_String_dropRight(lean_object*, lean_object*); @@ -539,7 +541,6 @@ LEAN_EXPORT lean_object* l_Lean_HashSetImp_contains___at___private_Lean_Elab_Quo static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__4; lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedMkStr1___closed__7; -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___closed__29; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats(lean_object*, lean_object*); @@ -651,6 +652,7 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__31; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot_declRange____x40_Lean_Elab_Quotation___hyg_8131____closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___closed__14; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_findUsedAlts_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___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*); @@ -724,7 +726,6 @@ static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_mkNode___closed__ LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_checkUnusedAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteArray___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__1; -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedMkStr1___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__3___closed__1; @@ -832,7 +833,6 @@ static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_mkNode___closed__ static lean_object* l_Lean_Elab_Term_Quotation_instReprMatchResult___closed__4; static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___lambda__3___closed__13; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___closed__12; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___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_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__10; @@ -6282,7 +6282,7 @@ return x_26; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -7749,7 +7749,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quota { lean_object* x_15; uint8_t x_16; x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___lambda__2___closed__3; -x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_3, x_15); +x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_3, x_15); lean_dec(x_3); if (x_16 == 0) { @@ -14450,11 +14450,11 @@ x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Te return x_13; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -22690,7 +22690,7 @@ lean_object* x_12; lean_object* x_13; uint8_t x_14; x_12 = lean_array_get_size(x_3); x_13 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_13, 0, x_12); -x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_8, x_13); +x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_8, x_13); lean_dec(x_13); lean_dec(x_8); if (x_14 == 0) @@ -24908,7 +24908,7 @@ x_48 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFrom lean_inc(x_26); x_49 = l_Lean_Syntax_node2(x_26, x_48, x_41, x_47); x_50 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___lambda__2___closed__3; -x_51 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_50); +x_51 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_50); if (x_51 == 0) { lean_object* x_52; lean_object* x_53; @@ -25032,7 +25032,7 @@ x_98 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFrom lean_inc(x_76); x_99 = l_Lean_Syntax_node2(x_76, x_98, x_91, x_97); x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___lambda__2___closed__3; -x_101 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_100); +x_101 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_100); lean_dec(x_13); if (x_101 == 0) { @@ -25166,7 +25166,7 @@ x_151 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFro lean_inc(x_129); x_152 = l_Lean_Syntax_node2(x_129, x_151, x_144, x_150); x_153 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___lambda__2___closed__3; -x_154 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_153); +x_154 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_153); lean_dec(x_13); if (x_154 == 0) { @@ -25803,7 +25803,7 @@ x_416 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFro lean_inc(x_394); x_417 = l_Lean_Syntax_node2(x_394, x_416, x_409, x_415); x_418 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___lambda__2___closed__3; -x_419 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_418); +x_419 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_418); lean_dec(x_13); if (x_419 == 0) { @@ -25924,7 +25924,7 @@ x_465 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFro lean_inc(x_443); x_466 = l_Lean_Syntax_node2(x_443, x_465, x_458, x_464); x_467 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___lambda__2___closed__3; -x_468 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_467); +x_468 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_467); lean_dec(x_13); if (x_468 == 0) { @@ -26046,7 +26046,7 @@ x_514 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFro lean_inc(x_492); x_515 = l_Lean_Syntax_node2(x_492, x_514, x_507, x_513); x_516 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___lambda__2___closed__3; -x_517 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_516); +x_517 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__3(x_13, x_516); lean_dec(x_13); if (x_517 == 0) { diff --git a/stage0/stdlib/Lean/Elab/RecAppSyntax.c b/stage0/stdlib/Lean/Elab/RecAppSyntax.c index c21dbd9f7f80..0a77d5d2f9da 100644 --- a/stage0/stdlib/Lean/Elab/RecAppSyntax.c +++ b/stage0/stdlib/Lean/Elab/RecAppSyntax.c @@ -23,7 +23,10 @@ static lean_object* l___private_Lean_Elab_RecAppSyntax_0__Lean_recAppKey___close LEAN_EXPORT lean_object* l___private_Lean_Elab_RecAppSyntax_0__Lean_recAppKey; lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*); extern lean_object* l_Lean_KVMap_empty; +uint8_t l_Lean_KVMap_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRecAppSyntax_x3f___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_MData_isRecApp___boxed(lean_object*); +LEAN_EXPORT uint8_t l_Lean_MData_isRecApp(lean_object*); static lean_object* _init_l___private_Lean_Elab_RecAppSyntax_0__Lean_recAppKey___closed__1() { _start: { @@ -147,6 +150,25 @@ lean_dec(x_1); return x_2; } } +LEAN_EXPORT uint8_t l_Lean_MData_isRecApp(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = l___private_Lean_Elab_RecAppSyntax_0__Lean_recAppKey; +x_3 = l_Lean_KVMap_contains(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_MData_isRecApp___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_MData_isRecApp(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Expr(uint8_t builtin, lean_object*); static bool _G_initialized = false; diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index 05faea753c13..f85471cdfc47 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -161,6 +161,7 @@ lean_object* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_addDefaults___spec__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, 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_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__2___rarg(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyDefaultValue_x3f_go_x3f___closed__1; lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectUniversesFromFields_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -205,7 +206,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_to LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParamFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_mkCoercionToCopiedParent___closed__1; static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___closed__2; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareTacticSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -425,7 +425,7 @@ lean_object* l_Lean_LocalDecl_value(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_collectLevelParamsInStructure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getFieldType___lambda__5___closed__3; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldKind____x40_Lean_Elab_Structure___hyg_345____closed__18; -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceProjOf_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); @@ -11019,7 +11019,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_19 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_14, x_17, x_16, x_18, x_5, x_6, x_7, x_8, x_15); +x_19 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_14, x_17, x_16, x_18, x_18, x_5, x_6, x_7, x_8, x_15); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; @@ -11469,7 +11469,7 @@ x_8 = lean_alloc_closure((void*)(l___private_Lean_Elab_Structure_0__Lean_Elab_Co lean_closure_set(x_8, 0, x_2); x_9 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_getFieldType___lambda__5___closed__1; x_10 = 0; -x_11 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_9, x_8, x_10, x_3, x_4, x_5, x_6, x_7); +x_11 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_9, x_8, x_10, x_10, x_3, x_4, x_5, x_6, x_7); return x_11; } } @@ -19131,7 +19131,7 @@ LEAN_EXPORT uint8_t l___private_Lean_Elab_Structure_0__Lean_Elab_Command_levelMV lean_object* x_3; uint8_t x_4; x_3 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_3, 0, x_2); -x_4 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(x_1, x_3); +x_4 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_levelMVarToParam_levelMVarToParam_x27___spec__1(x_1, x_3); lean_dec(x_3); return x_4; } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c index 1a37ef1b17b7..c37e6a40a882 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c @@ -186,7 +186,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeq1Indented___boxed(le static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__1; static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq___closed__2; -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__2; @@ -3285,7 +3285,7 @@ lean_inc(x_1); x_10 = l_Lean_Elab_Tactic_Conv_getLhs(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); @@ -3294,25 +3294,26 @@ lean_dec(x_10); x_13 = l_Lean_Elab_Tactic_Conv_evalZeta___rarg___lambda__1___closed__1; x_14 = l_Lean_Elab_Tactic_Conv_evalZeta___rarg___lambda__1___closed__2; x_15 = 1; +x_16 = 0; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_16 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_11, x_13, x_14, x_15, x_5, x_6, x_7, x_8, x_12); -if (lean_obj_tag(x_16) == 0) +x_17 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_11, x_13, x_14, x_15, x_16, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Elab_Tactic_Conv_changeLhs(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -return x_19; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Tactic_Conv_changeLhs(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +return x_20; } else { -uint8_t x_20; +uint8_t x_21; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -3321,29 +3322,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_20 = !lean_is_exclusive(x_16); -if (x_20 == 0) +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) { -return x_16; +return x_17; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_16, 0); -x_22 = lean_ctor_get(x_16, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_17, 1); +lean_inc(x_23); lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_16); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_dec(x_17); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } else { -uint8_t x_24; +uint8_t x_25; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -3352,23 +3353,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_24 = !lean_is_exclusive(x_10); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_10); +if (x_25 == 0) { return x_10; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_10, 0); -x_26 = lean_ctor_get(x_10, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_10, 0); +x_27 = lean_ctor_get(x_10, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); lean_dec(x_10); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c index cd84b1a2d8ee..6dd320448218 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c +++ b/stage0/stdlib/Lean/Elab/Tactic/ElabTerm.c @@ -224,7 +224,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalConstructor_declRange___ uint8_t l_Lean_Expr_isMVar(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducibleAndInstances_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithReducible___closed__2; -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalApply_declRange___closed__3; lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithUnfoldingAll_declRange___closed__1; @@ -10493,53 +10493,54 @@ return x_15; } else { -lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; x_16 = l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropToDecide___closed__2; x_17 = l___private_Lean_Elab_Tactic_ElabTerm_0__Lean_Elab_Tactic_preprocessPropToDecide___closed__3; x_18 = 1; +x_19 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_19 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_10, x_16, x_17, x_18, x_4, x_5, x_6, x_7, x_11); -if (lean_obj_tag(x_19) == 0) +x_20 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_10, x_16, x_17, x_18, x_19, x_4, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_box(0); -x_23 = lean_apply_9(x_12, x_20, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_21); -return x_23; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_9(x_12, x_21, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_22); +return x_24; } else { -uint8_t x_24; +uint8_t x_25; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_24 = !lean_is_exclusive(x_19); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_20); +if (x_25 == 0) { -return x_19; +return x_20; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_19, 0); -x_26 = lean_ctor_get(x_19, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_20, 0); +x_27 = lean_ctor_get(x_20, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_19); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_dec(x_20); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index da95a4a3a4b5..e29d6dead9c4 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -52,6 +52,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tactic_simp_trace; static lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__2___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___closed__7; lean_object* l_Lean_ConstantInfo_type(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); lean_object* l_Lean_LocalContext_findFromUserName_x3f(lean_object*, lean_object*); @@ -238,6 +239,7 @@ lean_object* l_Lean_Elab_Term_runTactic(lean_object*, lean_object*, lean_object* LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Tactic_traceSimpCall___spec__3(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_go___lambda__2(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_mkFreshId___at_Lean_Elab_Tactic_elabSimpArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_SimpKind_toCtorIdx___boxed(lean_object*); @@ -264,6 +266,7 @@ lean_object* l_Lean_Meta_abstractMVars(lean_object*, lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalConstNoOverload___at_Lean_Elab_Tactic_elabSimpArgs___spec__4___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_withMainContext___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); lean_object* l_Lean_Syntax_node3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); @@ -317,6 +320,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_traceSimpCall uint8_t l_Lean_LocalDecl_isLet(lean_object*); static lean_object* l_Lean_Elab_Tactic_traceSimpCall___closed__4; static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_elabSimpArgs___spec__5___closed__2; +static lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_traceSimpCall___spec__11(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_tacticToDischarge___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); @@ -465,6 +469,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_instBEqSimpKind; lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem___closed__8; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Tactic_elabSimpArgs___spec__10___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_elabSimpConfigCore___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDSimp___closed__1; size_t lean_usize_add(size_t, size_t); @@ -479,7 +484,6 @@ static lean_object* l_Lean_Elab_Tactic_mkSimpContext___lambda__2___closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_Simp___hyg_348____closed__2; LEAN_EXPORT uint8_t l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_beqSimpKind____x40_Lean_Elab_Tactic_Simp___hyg_825_(uint8_t, uint8_t); -static lean_object* l_Lean_Elab_Tactic_evalSimp___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimp_declRange___closed__4; static lean_object* l_Lean_Elab_Tactic_traceSimpCall___lambda__1___closed__11; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -500,6 +504,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_elabSimp static lean_object* l_Lean_Elab_Tactic_traceSimpCall___closed__3; static lean_object* l_Lean_Elab_Tactic_traceSimpCall___lambda__1___closed__4; static lean_object* l_Lean_Elab_Tactic_traceSimpCall___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_evalExpr_x27___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -12195,123 +12200,127 @@ lean_inc(x_84); x_85 = lean_is_inaccessible_user_name(x_84); if (x_85 == 0) { -lean_object* x_86; lean_object* x_87; +uint8_t x_86; +x_86 = l_Lean_Name_hasMacroScopes(x_84); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_inc(x_84); lean_inc(x_1); -x_86 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_84); -x_87 = l_Lean_LocalDecl_fvarId(x_81); +x_87 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_84); +x_88 = l_Lean_LocalDecl_fvarId(x_81); lean_dec(x_81); -if (lean_obj_tag(x_86) == 0) +if (lean_obj_tag(x_87) == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_88 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_traceSimpCall___spec__10___closed__10; -x_89 = l_panic___at_Lean_LocalDecl_setBinderInfo___spec__1(x_88); -x_90 = l_Lean_LocalDecl_fvarId(x_89); -lean_dec(x_89); -x_91 = lean_name_eq(x_90, x_87); -lean_dec(x_87); +lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_89 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_traceSimpCall___spec__10___closed__10; +x_90 = l_panic___at_Lean_LocalDecl_setBinderInfo___spec__1(x_89); +x_91 = l_Lean_LocalDecl_fvarId(x_90); lean_dec(x_90); -if (x_91 == 0) +x_92 = lean_name_eq(x_91, x_88); +lean_dec(x_88); +lean_dec(x_91); +if (x_92 == 0) { -lean_object* x_92; lean_object* x_93; +lean_object* x_93; lean_object* x_94; lean_dec(x_84); lean_free_object(x_75); lean_dec(x_83); -x_92 = lean_box(0); -lean_ctor_set(x_6, 1, x_92); -x_93 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_93, 0, x_6); -x_15 = x_93; +x_93 = lean_box(0); +lean_ctor_set(x_6, 1, x_93); +x_94 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_94, 0, x_6); +x_15 = x_94; x_16 = x_11; goto block_21; } else { -lean_object* x_94; lean_object* x_95; -x_94 = lean_array_push(x_83, x_84); -lean_ctor_set(x_75, 0, x_94); -x_95 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_95, 0, x_6); -x_15 = x_95; +lean_object* x_95; lean_object* x_96; +x_95 = lean_array_push(x_83, x_84); +lean_ctor_set(x_75, 0, x_95); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_6); +x_15 = x_96; x_16 = x_11; goto block_21; } } else { -uint8_t x_96; +uint8_t x_97; lean_free_object(x_75); -x_96 = !lean_is_exclusive(x_86); -if (x_96 == 0) +x_97 = !lean_is_exclusive(x_87); +if (x_97 == 0) { -lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_97 = lean_ctor_get(x_86, 0); -x_98 = l_Lean_LocalDecl_fvarId(x_97); -lean_dec(x_97); -x_99 = lean_name_eq(x_98, x_87); -lean_dec(x_87); +lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_98 = lean_ctor_get(x_87, 0); +x_99 = l_Lean_LocalDecl_fvarId(x_98); lean_dec(x_98); -if (x_99 == 0) +x_100 = lean_name_eq(x_99, x_88); +lean_dec(x_88); +lean_dec(x_99); +if (x_100 == 0) { -lean_object* x_100; lean_object* x_101; -lean_free_object(x_86); +lean_object* x_101; lean_object* x_102; +lean_free_object(x_87); lean_dec(x_84); lean_dec(x_83); -x_100 = lean_box(0); -lean_ctor_set(x_6, 1, x_100); -x_101 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_101, 0, x_6); -x_15 = x_101; +x_101 = lean_box(0); +lean_ctor_set(x_6, 1, x_101); +x_102 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_102, 0, x_6); +x_15 = x_102; x_16 = x_11; goto block_21; } else { -lean_object* x_102; lean_object* x_103; -x_102 = lean_array_push(x_83, x_84); -lean_ctor_set(x_86, 0, x_102); -lean_ctor_set(x_6, 1, x_86); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_6); -x_15 = x_103; +lean_object* x_103; lean_object* x_104; +x_103 = lean_array_push(x_83, x_84); +lean_ctor_set(x_87, 0, x_103); +lean_ctor_set(x_6, 1, x_87); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_6); +x_15 = x_104; x_16 = x_11; goto block_21; } } else { -lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_104 = lean_ctor_get(x_86, 0); -lean_inc(x_104); -lean_dec(x_86); -x_105 = l_Lean_LocalDecl_fvarId(x_104); -lean_dec(x_104); -x_106 = lean_name_eq(x_105, x_87); +lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_105 = lean_ctor_get(x_87, 0); +lean_inc(x_105); lean_dec(x_87); +x_106 = l_Lean_LocalDecl_fvarId(x_105); lean_dec(x_105); -if (x_106 == 0) +x_107 = lean_name_eq(x_106, x_88); +lean_dec(x_88); +lean_dec(x_106); +if (x_107 == 0) { -lean_object* x_107; lean_object* x_108; +lean_object* x_108; lean_object* x_109; lean_dec(x_84); lean_dec(x_83); -x_107 = lean_box(0); -lean_ctor_set(x_6, 1, x_107); -x_108 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_108, 0, x_6); -x_15 = x_108; +x_108 = lean_box(0); +lean_ctor_set(x_6, 1, x_108); +x_109 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_109, 0, x_6); +x_15 = x_109; x_16 = x_11; goto block_21; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_array_push(x_83, x_84); -x_110 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_6, 1, x_110); +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_array_push(x_83, x_84); x_111 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_111, 0, x_6); -x_15 = x_111; +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_6, 1, x_111); +x_112 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_112, 0, x_6); +x_15 = x_112; x_16 = x_11; goto block_21; } @@ -12320,119 +12329,139 @@ goto block_21; } else { -lean_object* x_112; lean_object* x_113; +lean_object* x_113; lean_object* x_114; lean_dec(x_84); lean_free_object(x_75); lean_dec(x_83); lean_dec(x_81); -x_112 = lean_box(0); -lean_ctor_set(x_6, 1, x_112); -x_113 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_113, 0, x_6); -x_15 = x_113; +x_113 = lean_box(0); +lean_ctor_set(x_6, 1, x_113); +x_114 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_114, 0, x_6); +x_15 = x_114; x_16 = x_11; goto block_21; } } else { -lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_114 = lean_ctor_get(x_75, 0); -lean_inc(x_114); +lean_object* x_115; lean_object* x_116; +lean_dec(x_84); +lean_free_object(x_75); +lean_dec(x_83); +lean_dec(x_81); +x_115 = lean_box(0); +lean_ctor_set(x_6, 1, x_115); +x_116 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_116, 0, x_6); +x_15 = x_116; +x_16 = x_11; +goto block_21; +} +} +else +{ +lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_117 = lean_ctor_get(x_75, 0); +lean_inc(x_117); lean_dec(x_75); -x_115 = l_Lean_LocalDecl_userName(x_81); -lean_inc(x_115); -x_116 = lean_is_inaccessible_user_name(x_115); -if (x_116 == 0) +x_118 = l_Lean_LocalDecl_userName(x_81); +lean_inc(x_118); +x_119 = lean_is_inaccessible_user_name(x_118); +if (x_119 == 0) +{ +uint8_t x_120; +x_120 = l_Lean_Name_hasMacroScopes(x_118); +if (x_120 == 0) { -lean_object* x_117; lean_object* x_118; -lean_inc(x_115); +lean_object* x_121; lean_object* x_122; +lean_inc(x_118); lean_inc(x_1); -x_117 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_115); -x_118 = l_Lean_LocalDecl_fvarId(x_81); +x_121 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_118); +x_122 = l_Lean_LocalDecl_fvarId(x_81); lean_dec(x_81); -if (lean_obj_tag(x_117) == 0) -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_traceSimpCall___spec__10___closed__10; -x_120 = l_panic___at_Lean_LocalDecl_setBinderInfo___spec__1(x_119); -x_121 = l_Lean_LocalDecl_fvarId(x_120); -lean_dec(x_120); -x_122 = lean_name_eq(x_121, x_118); +if (lean_obj_tag(x_121) == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; +x_123 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_traceSimpCall___spec__10___closed__10; +x_124 = l_panic___at_Lean_LocalDecl_setBinderInfo___spec__1(x_123); +x_125 = l_Lean_LocalDecl_fvarId(x_124); +lean_dec(x_124); +x_126 = lean_name_eq(x_125, x_122); +lean_dec(x_122); +lean_dec(x_125); +if (x_126 == 0) +{ +lean_object* x_127; lean_object* x_128; lean_dec(x_118); -lean_dec(x_121); -if (x_122 == 0) -{ -lean_object* x_123; lean_object* x_124; -lean_dec(x_115); -lean_dec(x_114); -x_123 = lean_box(0); -lean_ctor_set(x_6, 1, x_123); -x_124 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_124, 0, x_6); -x_15 = x_124; +lean_dec(x_117); +x_127 = lean_box(0); +lean_ctor_set(x_6, 1, x_127); +x_128 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_128, 0, x_6); +x_15 = x_128; x_16 = x_11; goto block_21; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_array_push(x_114, x_115); -x_126 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_6, 1, x_126); -x_127 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_127, 0, x_6); -x_15 = x_127; +lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_129 = lean_array_push(x_117, x_118); +x_130 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_6, 1, x_130); +x_131 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_131, 0, x_6); +x_15 = x_131; x_16 = x_11; goto block_21; } } else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_128 = lean_ctor_get(x_117, 0); -lean_inc(x_128); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - x_129 = x_117; +lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; +x_132 = lean_ctor_get(x_121, 0); +lean_inc(x_132); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + x_133 = x_121; } else { - lean_dec_ref(x_117); - x_129 = lean_box(0); -} -x_130 = l_Lean_LocalDecl_fvarId(x_128); -lean_dec(x_128); -x_131 = lean_name_eq(x_130, x_118); + lean_dec_ref(x_121); + x_133 = lean_box(0); +} +x_134 = l_Lean_LocalDecl_fvarId(x_132); +lean_dec(x_132); +x_135 = lean_name_eq(x_134, x_122); +lean_dec(x_122); +lean_dec(x_134); +if (x_135 == 0) +{ +lean_object* x_136; lean_object* x_137; +lean_dec(x_133); lean_dec(x_118); -lean_dec(x_130); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -lean_dec(x_129); -lean_dec(x_115); -lean_dec(x_114); -x_132 = lean_box(0); -lean_ctor_set(x_6, 1, x_132); -x_133 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_133, 0, x_6); -x_15 = x_133; +lean_dec(x_117); +x_136 = lean_box(0); +lean_ctor_set(x_6, 1, x_136); +x_137 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_137, 0, x_6); +x_15 = x_137; x_16 = x_11; goto block_21; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_array_push(x_114, x_115); -if (lean_is_scalar(x_129)) { - x_135 = lean_alloc_ctor(1, 1, 0); +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_array_push(x_117, x_118); +if (lean_is_scalar(x_133)) { + x_139 = lean_alloc_ctor(1, 1, 0); } else { - x_135 = x_129; + x_139 = x_133; } -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_6, 1, x_135); -x_136 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_136, 0, x_6); -x_15 = x_136; +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_6, 1, x_139); +x_140 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_140, 0, x_6); +x_15 = x_140; x_16 = x_11; goto block_21; } @@ -12440,15 +12469,30 @@ goto block_21; } else { -lean_object* x_137; lean_object* x_138; -lean_dec(x_115); -lean_dec(x_114); +lean_object* x_141; lean_object* x_142; +lean_dec(x_118); +lean_dec(x_117); +lean_dec(x_81); +x_141 = lean_box(0); +lean_ctor_set(x_6, 1, x_141); +x_142 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_142, 0, x_6); +x_15 = x_142; +x_16 = x_11; +goto block_21; +} +} +else +{ +lean_object* x_143; lean_object* x_144; +lean_dec(x_118); +lean_dec(x_117); lean_dec(x_81); -x_137 = lean_box(0); -lean_ctor_set(x_6, 1, x_137); -x_138 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_138, 0, x_6); -x_15 = x_138; +x_143 = lean_box(0); +lean_ctor_set(x_6, 1, x_143); +x_144 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_144, 0, x_6); +x_15 = x_144; x_16 = x_11; goto block_21; } @@ -12458,144 +12502,113 @@ goto block_21; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_139 = lean_ctor_get(x_6, 0); -x_140 = lean_ctor_get(x_6, 1); -lean_inc(x_140); -lean_inc(x_139); +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_145 = lean_ctor_get(x_6, 0); +x_146 = lean_ctor_get(x_6, 1); +lean_inc(x_146); +lean_inc(x_145); lean_dec(x_6); -x_141 = lean_ctor_get(x_22, 0); -lean_inc(x_141); +x_147 = lean_ctor_get(x_22, 0); +lean_inc(x_147); lean_dec(x_22); lean_inc(x_1); -x_142 = lean_local_ctx_find(x_1, x_141); -if (lean_obj_tag(x_142) == 0) -{ -lean_object* x_143; lean_object* x_144; -x_143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_143, 0, x_139); -lean_ctor_set(x_143, 1, x_140); -x_144 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_144, 0, x_143); -x_15 = x_144; +x_148 = lean_local_ctx_find(x_1, x_147); +if (lean_obj_tag(x_148) == 0) +{ +lean_object* x_149; lean_object* x_150; +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_145); +lean_ctor_set(x_149, 1, x_146); +x_150 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_150, 0, x_149); +x_15 = x_150; x_16 = x_11; goto block_21; } else { -if (lean_obj_tag(x_140) == 0) +if (lean_obj_tag(x_146) == 0) { -lean_object* x_145; lean_object* x_146; lean_object* x_147; -lean_dec(x_142); -x_145 = lean_box(0); -x_146 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_146, 0, x_139); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_147, 0, x_146); -x_15 = x_147; +lean_object* x_151; lean_object* x_152; lean_object* x_153; +lean_dec(x_148); +x_151 = lean_box(0); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_145); +lean_ctor_set(x_152, 1, x_151); +x_153 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_153, 0, x_152); +x_15 = x_153; x_16 = x_11; goto block_21; } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; -x_148 = lean_ctor_get(x_142, 0); -lean_inc(x_148); -lean_dec(x_142); -x_149 = lean_ctor_get(x_140, 0); -lean_inc(x_149); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - x_150 = x_140; +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; +x_154 = lean_ctor_get(x_148, 0); +lean_inc(x_154); +lean_dec(x_148); +x_155 = lean_ctor_get(x_146, 0); +lean_inc(x_155); +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + x_156 = x_146; } else { - lean_dec_ref(x_140); - x_150 = lean_box(0); + lean_dec_ref(x_146); + x_156 = lean_box(0); } -x_151 = l_Lean_LocalDecl_userName(x_148); -lean_inc(x_151); -x_152 = lean_is_inaccessible_user_name(x_151); -if (x_152 == 0) +x_157 = l_Lean_LocalDecl_userName(x_154); +lean_inc(x_157); +x_158 = lean_is_inaccessible_user_name(x_157); +if (x_158 == 0) { -lean_object* x_153; lean_object* x_154; -lean_inc(x_151); -lean_inc(x_1); -x_153 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_151); -x_154 = l_Lean_LocalDecl_fvarId(x_148); -lean_dec(x_148); -if (lean_obj_tag(x_153) == 0) +uint8_t x_159; +x_159 = l_Lean_Name_hasMacroScopes(x_157); +if (x_159 == 0) { -lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; -x_155 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_traceSimpCall___spec__10___closed__10; -x_156 = l_panic___at_Lean_LocalDecl_setBinderInfo___spec__1(x_155); -x_157 = l_Lean_LocalDecl_fvarId(x_156); -lean_dec(x_156); -x_158 = lean_name_eq(x_157, x_154); +lean_object* x_160; lean_object* x_161; +lean_inc(x_157); +lean_inc(x_1); +x_160 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_157); +x_161 = l_Lean_LocalDecl_fvarId(x_154); lean_dec(x_154); +if (lean_obj_tag(x_160) == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; +x_162 = l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_traceSimpCall___spec__10___closed__10; +x_163 = l_panic___at_Lean_LocalDecl_setBinderInfo___spec__1(x_162); +x_164 = l_Lean_LocalDecl_fvarId(x_163); +lean_dec(x_163); +x_165 = lean_name_eq(x_164, x_161); +lean_dec(x_161); +lean_dec(x_164); +if (x_165 == 0) +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_dec(x_157); -if (x_158 == 0) -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec(x_151); -lean_dec(x_150); -lean_dec(x_149); -x_159 = lean_box(0); -x_160 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_160, 0, x_139); -lean_ctor_set(x_160, 1, x_159); -x_161 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_161, 0, x_160); -x_15 = x_161; -x_16 = x_11; -goto block_21; -} -else -{ -lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_162 = lean_array_push(x_149, x_151); -if (lean_is_scalar(x_150)) { - x_163 = lean_alloc_ctor(1, 1, 0); -} else { - x_163 = x_150; -} -lean_ctor_set(x_163, 0, x_162); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_139); -lean_ctor_set(x_164, 1, x_163); -x_165 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_165, 0, x_164); -x_15 = x_165; +lean_dec(x_156); +lean_dec(x_155); +x_166 = lean_box(0); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_145); +lean_ctor_set(x_167, 1, x_166); +x_168 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_168, 0, x_167); +x_15 = x_168; x_16 = x_11; goto block_21; } -} else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; -lean_dec(x_150); -x_166 = lean_ctor_get(x_153, 0); -lean_inc(x_166); -if (lean_is_exclusive(x_153)) { - lean_ctor_release(x_153, 0); - x_167 = x_153; +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_169 = lean_array_push(x_155, x_157); +if (lean_is_scalar(x_156)) { + x_170 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_153); - x_167 = lean_box(0); + x_170 = x_156; } -x_168 = l_Lean_LocalDecl_fvarId(x_166); -lean_dec(x_166); -x_169 = lean_name_eq(x_168, x_154); -lean_dec(x_154); -lean_dec(x_168); -if (x_169 == 0) -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_dec(x_167); -lean_dec(x_151); -lean_dec(x_149); -x_170 = lean_box(0); +lean_ctor_set(x_170, 0, x_169); x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_139); +lean_ctor_set(x_171, 0, x_145); lean_ctor_set(x_171, 1, x_170); x_172 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_172, 0, x_171); @@ -12603,37 +12616,34 @@ x_15 = x_172; x_16 = x_11; goto block_21; } +} else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_173 = lean_array_push(x_149, x_151); -if (lean_is_scalar(x_167)) { - x_174 = lean_alloc_ctor(1, 1, 0); +lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; +lean_dec(x_156); +x_173 = lean_ctor_get(x_160, 0); +lean_inc(x_173); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + x_174 = x_160; } else { - x_174 = x_167; -} -lean_ctor_set(x_174, 0, x_173); -x_175 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_175, 0, x_139); -lean_ctor_set(x_175, 1, x_174); -x_176 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_176, 0, x_175); -x_15 = x_176; -x_16 = x_11; -goto block_21; -} -} + lean_dec_ref(x_160); + x_174 = lean_box(0); } -else +x_175 = l_Lean_LocalDecl_fvarId(x_173); +lean_dec(x_173); +x_176 = lean_name_eq(x_175, x_161); +lean_dec(x_161); +lean_dec(x_175); +if (x_176 == 0) { lean_object* x_177; lean_object* x_178; lean_object* x_179; -lean_dec(x_151); -lean_dec(x_150); -lean_dec(x_149); -lean_dec(x_148); +lean_dec(x_174); +lean_dec(x_157); +lean_dec(x_155); x_177 = lean_box(0); x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_139); +lean_ctor_set(x_178, 0, x_145); lean_ctor_set(x_178, 1, x_177); x_179 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_179, 0, x_178); @@ -12641,79 +12651,135 @@ x_15 = x_179; x_16 = x_11; goto block_21; } +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_180 = lean_array_push(x_155, x_157); +if (lean_is_scalar(x_174)) { + x_181 = lean_alloc_ctor(1, 1, 0); +} else { + x_181 = x_174; +} +lean_ctor_set(x_181, 0, x_180); +x_182 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_182, 0, x_145); +lean_ctor_set(x_182, 1, x_181); +x_183 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_183, 0, x_182); +x_15 = x_183; +x_16 = x_11; +goto block_21; +} +} +} +else +{ +lean_object* x_184; lean_object* x_185; lean_object* x_186; +lean_dec(x_157); +lean_dec(x_156); +lean_dec(x_155); +lean_dec(x_154); +x_184 = lean_box(0); +x_185 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_185, 0, x_145); +lean_ctor_set(x_185, 1, x_184); +x_186 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_186, 0, x_185); +x_15 = x_186; +x_16 = x_11; +goto block_21; +} +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_dec(x_157); +lean_dec(x_156); +lean_dec(x_155); +lean_dec(x_154); +x_187 = lean_box(0); +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_145); +lean_ctor_set(x_188, 1, x_187); +x_189 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_189, 0, x_188); +x_15 = x_189; +x_16 = x_11; +goto block_21; +} } } } } case 2: { -uint8_t x_180; -x_180 = !lean_is_exclusive(x_6); -if (x_180 == 0) +uint8_t x_190; +x_190 = !lean_is_exclusive(x_6); +if (x_190 == 0) { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_181 = lean_ctor_get(x_6, 0); -x_182 = lean_ctor_get(x_22, 1); -lean_inc(x_182); +lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_191 = lean_ctor_get(x_6, 0); +x_192 = lean_ctor_get(x_22, 1); +lean_inc(x_192); lean_dec(x_22); -x_183 = lean_array_push(x_181, x_182); -lean_ctor_set(x_6, 0, x_183); -x_184 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_184, 0, x_6); -x_15 = x_184; +x_193 = lean_array_push(x_191, x_192); +lean_ctor_set(x_6, 0, x_193); +x_194 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_194, 0, x_6); +x_15 = x_194; x_16 = x_11; goto block_21; } else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_185 = lean_ctor_get(x_6, 0); -x_186 = lean_ctor_get(x_6, 1); -lean_inc(x_186); -lean_inc(x_185); +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_195 = lean_ctor_get(x_6, 0); +x_196 = lean_ctor_get(x_6, 1); +lean_inc(x_196); +lean_inc(x_195); lean_dec(x_6); -x_187 = lean_ctor_get(x_22, 1); -lean_inc(x_187); +x_197 = lean_ctor_get(x_22, 1); +lean_inc(x_197); lean_dec(x_22); -x_188 = lean_array_push(x_185, x_187); -x_189 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_186); -x_190 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_190, 0, x_189); -x_15 = x_190; +x_198 = lean_array_push(x_195, x_197); +x_199 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_199, 1, x_196); +x_200 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_200, 0, x_199); +x_15 = x_200; x_16 = x_11; goto block_21; } } default: { -uint8_t x_191; +uint8_t x_201; lean_dec(x_22); -x_191 = !lean_is_exclusive(x_6); -if (x_191 == 0) +x_201 = !lean_is_exclusive(x_6); +if (x_201 == 0) { -lean_object* x_192; -x_192 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_192, 0, x_6); -x_15 = x_192; +lean_object* x_202; +x_202 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_202, 0, x_6); +x_15 = x_202; x_16 = x_11; goto block_21; } else { -lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_193 = lean_ctor_get(x_6, 0); -x_194 = lean_ctor_get(x_6, 1); -lean_inc(x_194); -lean_inc(x_193); +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_203 = lean_ctor_get(x_6, 0); +x_204 = lean_ctor_get(x_6, 1); +lean_inc(x_204); +lean_inc(x_203); lean_dec(x_6); -x_195 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_195, 0, x_193); -lean_ctor_set(x_195, 1, x_194); -x_196 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_196, 0, x_195); -x_15 = x_196; +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set(x_205, 1, x_204); +x_206 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_206, 0, x_205); +x_15 = x_206; x_16 = x_11; goto block_21; } @@ -13824,7 +13890,7 @@ x_16 = l_Lean_Elab_Tactic_simpLocation(x_2, x_3, x_15, x_4, x_5, x_6, x_7, x_8, return x_16; } } -static lean_object* _init_l_Lean_Elab_Tactic_evalSimp___closed__1() { +static lean_object* _init_l_Lean_Elab_Tactic_evalSimp___lambda__2___closed__1() { _start: { lean_object* x_1; @@ -13832,21 +13898,12 @@ x_1 = l_Lean_Elab_Tactic_tactic_simp_trace; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +uint8_t x_11; uint8_t x_12; lean_object* x_13; x_11 = 0; x_12 = 0; -x_13 = lean_box(x_11); -x_14 = lean_box(x_12); -x_15 = lean_box(x_11); -lean_inc(x_1); -x_16 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_mkSimpContext___boxed), 13, 4); -lean_closure_set(x_16, 0, x_1); -lean_closure_set(x_16, 1, x_13); -lean_closure_set(x_16, 2, x_14); -lean_closure_set(x_16, 3, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -13855,132 +13912,133 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_17 = l_Lean_Elab_Tactic_withMainContext___rarg(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_17) == 0) +lean_inc(x_1); +x_13 = l_Lean_Elab_Tactic_mkSimpContext(x_1, x_11, x_12, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_dec(x_14); lean_inc(x_1); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimp___lambda__1___boxed), 12, 2); -lean_closure_set(x_22, 0, x_1); -lean_closure_set(x_22, 1, x_20); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimp___lambda__1___boxed), 12, 2); +lean_closure_set(x_18, 0, x_1); +lean_closure_set(x_18, 1, x_16); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_23 = l_Lean_Elab_Tactic_Simp_DischargeWrapper_with___rarg(x_21, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_19); -lean_dec(x_21); -if (lean_obj_tag(x_23) == 0) +x_19 = l_Lean_Elab_Tactic_Simp_DischargeWrapper_with___rarg(x_17, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +lean_dec(x_17); +if (lean_obj_tag(x_19) == 0) { -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_25 = lean_ctor_get(x_23, 0); -x_26 = lean_ctor_get(x_23, 1); -x_27 = lean_ctor_get(x_8, 2); -lean_inc(x_27); -x_28 = l_Lean_Elab_Tactic_evalSimp___closed__1; -x_29 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_27, x_28); -lean_dec(x_27); -if (x_29 == 0) +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +x_23 = lean_ctor_get(x_8, 2); +lean_inc(x_23); +x_24 = l_Lean_Elab_Tactic_evalSimp___lambda__2___closed__1; +x_25 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_23, x_24); +lean_dec(x_23); +if (x_25 == 0) { -lean_object* x_30; -lean_dec(x_25); +lean_object* x_26; +lean_dec(x_21); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_30 = lean_box(0); -lean_ctor_set(x_23, 0, x_30); -return x_23; +x_26 = lean_box(0); +lean_ctor_set(x_19, 0, x_26); +return x_19; } else { -lean_object* x_31; -lean_free_object(x_23); -x_31 = l_Lean_Elab_Tactic_traceSimpCall(x_1, x_25, x_6, x_7, x_8, x_9, x_26); -return x_31; +lean_object* x_27; +lean_free_object(x_19); +x_27 = l_Lean_Elab_Tactic_traceSimpCall(x_1, x_21, x_6, x_7, x_8, x_9, x_22); +return x_27; } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_32 = lean_ctor_get(x_23, 0); -x_33 = lean_ctor_get(x_23, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_23); -x_34 = lean_ctor_get(x_8, 2); -lean_inc(x_34); -x_35 = l_Lean_Elab_Tactic_evalSimp___closed__1; -x_36 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_34, x_35); -lean_dec(x_34); -if (x_36 == 0) +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_19); +x_30 = lean_ctor_get(x_8, 2); +lean_inc(x_30); +x_31 = l_Lean_Elab_Tactic_evalSimp___lambda__2___closed__1; +x_32 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_30, x_31); +lean_dec(x_30); +if (x_32 == 0) { -lean_object* x_37; lean_object* x_38; -lean_dec(x_32); +lean_object* x_33; lean_object* x_34; +lean_dec(x_28); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_37 = lean_box(0); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_33); -return x_38; +x_33 = lean_box(0); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_29); +return x_34; } else { -lean_object* x_39; -x_39 = l_Lean_Elab_Tactic_traceSimpCall(x_1, x_32, x_6, x_7, x_8, x_9, x_33); -return x_39; +lean_object* x_35; +x_35 = l_Lean_Elab_Tactic_traceSimpCall(x_1, x_28, x_6, x_7, x_8, x_9, x_29); +return x_35; } } } else { -uint8_t x_40; +uint8_t x_36; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_23); -if (x_40 == 0) +x_36 = !lean_is_exclusive(x_19); +if (x_36 == 0) { -return x_23; +return x_19; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_23, 0); -x_42 = lean_ctor_get(x_23, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_23); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_19, 0); +x_38 = lean_ctor_get(x_19, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_19); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } else { -uint8_t x_44; +uint8_t x_40; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -13990,27 +14048,37 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_17); -if (x_44 == 0) +x_40 = !lean_is_exclusive(x_13); +if (x_40 == 0) { -return x_17; +return x_13; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_17, 0); -x_46 = lean_ctor_get(x_17, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_17); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_13, 0); +x_42 = lean_ctor_get(x_13, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimp___lambda__2), 10, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = l_Lean_Elab_Tactic_withMainContext___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -14188,7 +14256,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll___lambda__1(lean_object* lean_object* x_13; lean_object* x_14; uint8_t x_15; x_13 = lean_ctor_get(x_10, 2); lean_inc(x_13); -x_14 = l_Lean_Elab_Tactic_evalSimp___closed__1; +x_14 = l_Lean_Elab_Tactic_evalSimp___lambda__2___closed__1; x_15 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_13, x_14); lean_dec(x_13); if (x_15 == 0) @@ -14214,7 +14282,7 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; uint8_t x_12; lean_object* x_13; @@ -14512,6 +14580,16 @@ return x_59; } } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSimpAll___lambda__2), 10, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = l_Lean_Elab_Tactic_withMainContext___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSimpAll___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -14690,33 +14768,49 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_12 = lean_ctor_get(x_9, 2); -lean_inc(x_12); -x_13 = l_Lean_Elab_Tactic_evalSimp___closed__1; -x_14 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_12, x_13); -lean_dec(x_12); -if (x_14 == 0) +lean_object* x_12; +x_12 = l_Lean_Elab_Tactic_traceSimpCall(x_1, x_2, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: { -lean_object* x_15; lean_object* x_16; +lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_13 = lean_ctor_get(x_10, 2); +lean_inc(x_13); +x_14 = l_Lean_Elab_Tactic_evalSimp___lambda__2___closed__1; +x_15 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); lean_dec(x_1); -x_15 = lean_box(0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_11); -return x_16; +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_12); +return x_17; } else { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_9, 5); -lean_inc(x_17); -x_18 = l_Lean_Elab_Tactic_traceSimpCall(x_17, x_1, x_7, x_8, x_9, x_10, x_11); -return x_18; +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_10, 5); +lean_inc(x_18); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_dsimpLocation_go___lambda__1___boxed), 11, 2); +lean_closure_set(x_19, 0, x_18); +lean_closure_set(x_19, 1, x_1); +x_20 = l_Lean_MVarId_withContext___at_Lean_Elab_Tactic_withMainContext___spec__1___rarg(x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_20; } } } @@ -14746,6 +14840,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_14); x_17 = l_Lean_Meta_dsimpGoal(x_14, x_1, x_3, x_2, x_16, x_8, x_9, x_10, x_11, x_15); if (lean_obj_tag(x_17) == 0) { @@ -14781,11 +14876,7 @@ lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = l_Lean_Elab_Tactic_dsimpLocation_go___lambda__1(x_21, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +x_26 = l_Lean_Elab_Tactic_dsimpLocation_go___lambda__2(x_21, x_14, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_25); lean_dec(x_24); return x_26; } @@ -14793,6 +14884,7 @@ else { uint8_t x_27; lean_dec(x_21); +lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -14854,11 +14946,7 @@ lean_inc(x_37); x_38 = lean_ctor_get(x_36, 1); lean_inc(x_38); lean_dec(x_36); -x_39 = l_Lean_Elab_Tactic_dsimpLocation_go___lambda__1(x_32, x_37, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +x_39 = l_Lean_Elab_Tactic_dsimpLocation_go___lambda__2(x_32, x_14, x_37, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_38); lean_dec(x_37); return x_39; } @@ -14866,6 +14954,7 @@ else { uint8_t x_40; lean_dec(x_32); +lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -14898,6 +14987,7 @@ return x_43; else { uint8_t x_44; +lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -14969,10 +15059,18 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); return x_12; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_Tactic_dsimpLocation_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_3); +return x_13; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_dsimpLocation_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { @@ -15737,8 +15835,8 @@ l_Lean_Elab_Tactic_traceSimpCall___closed__4 = _init_l_Lean_Elab_Tactic_traceSim lean_mark_persistent(l_Lean_Elab_Tactic_traceSimpCall___closed__4); l_Lean_Elab_Tactic_simpLocation_go___closed__1 = _init_l_Lean_Elab_Tactic_simpLocation_go___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_simpLocation_go___closed__1); -l_Lean_Elab_Tactic_evalSimp___closed__1 = _init_l_Lean_Elab_Tactic_evalSimp___closed__1(); -lean_mark_persistent(l_Lean_Elab_Tactic_evalSimp___closed__1); +l_Lean_Elab_Tactic_evalSimp___lambda__2___closed__1 = _init_l_Lean_Elab_Tactic_evalSimp___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_evalSimp___lambda__2___closed__1); l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__1); l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSimp___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Util.c b/stage0/stdlib/Lean/Elab/Util.c index 813b6347df06..da2167861394 100644 --- a/stage0/stdlib/Lean/Elab/Util.c +++ b/stage0/stdlib/Lean/Elab/Util.c @@ -69,6 +69,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_adaptMacro___rarg(lean_object*, lean_object LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Util___hyg_858____closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_checkSyntaxNodeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(lean_object*, lean_object*); static lean_object* l___auto____x40_Lean_Elab_Util___hyg_858____closed__23; static lean_object* l_Lean_Elab_mkElabAttribute___rarg___lambda__3___closed__2; static lean_object* l___auto____x40_Lean_Elab_Util___hyg_858____closed__14; @@ -183,7 +184,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_logException(lean_object*); static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_2999____closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_macroAttribute; LEAN_EXPORT lean_object* l_Lean_Elab_pp_macroStack; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(lean_object*, lean_object*); uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_checkSyntaxNodeKindAtNamespaces___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -534,7 +534,7 @@ x_2 = lean_ctor_get(x_1, 0); x_3 = 0; x_4 = l_Lean_Syntax_getPos_x3f(x_2, x_3); x_5 = lean_box(0); -x_6 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(x_4, x_5); +x_6 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(x_4, x_5); lean_dec(x_4); if (x_6 == 0) { diff --git a/stage0/stdlib/Lean/Expr.c b/stage0/stdlib/Lean/Expr.c index 774d6f00b94d..2df8900fa9b1 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -145,7 +145,6 @@ LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Expr_0__Lean_reprExpr__ lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_instForInFVarIdSetFVarId___closed__1; LEAN_EXPORT lean_object* l_Lean_instBEqMVarId; -LEAN_EXPORT lean_object* l_Lean_mkLetFunAnnotation(lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isStringLit(lean_object*); lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_lowerLooseBVars___boxed(lean_object*, lean_object*, lean_object*); @@ -187,6 +186,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_MVarIdSet_insert___spec_ uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); LEAN_EXPORT uint64_t l_Lean_Expr_Data_hash(uint64_t); LEAN_EXPORT lean_object* l_Lean_mkBVar(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Expr_isLetFun(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_beqMVarId____x40_Lean_Expr___hyg_2229____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_updateLet_x21Impl(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_isAppOfArity___boxed(lean_object*, lean_object*, lean_object*); @@ -206,7 +206,6 @@ static lean_object* l_Lean_Expr_ctorName___closed__2; static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateProj_x21Impl___closed__3; LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Expr_const___override___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instReprExpr; -LEAN_EXPORT lean_object* l_Lean_letFunAnnotation_x3f___boxed(lean_object*); static lean_object* l_Lean_mkSimpleThunk___closed__1; static lean_object* l_Lean_Expr_sortLevel_x21___closed__2; static lean_object* l_Lean_mkAnd___closed__1; @@ -237,7 +236,6 @@ static lean_object* l___private_Lean_Expr_0__Lean_reprMVarId____x40_Lean_Expr___ LEAN_EXPORT lean_object* l_Lean_Expr_appFn_x21_x27(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withApp___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MData_empty; -static lean_object* l_Lean_mkLetFunAnnotation___closed__1; lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_expr_mk_forall(lean_object*, lean_object*, lean_object*, uint8_t); @@ -386,6 +384,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_getOptParamDefault_x3f___boxed(lean_object* static lean_object* l_Lean_mkNatLit___closed__8; LEAN_EXPORT lean_object* l_Lean_FVarIdMap_insert(lean_object*); LEAN_EXPORT lean_object* l_Lean_patternWithRef_x3f___boxed(lean_object*); +static lean_object* l_Lean_Expr_isLetFun___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_equal___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_setPPExplicit(lean_object*, uint8_t); static lean_object* l___private_Lean_Expr_0__Lean_reprMVarId____x40_Lean_Expr___hyg_2338____closed__10; @@ -533,7 +532,6 @@ LEAN_EXPORT lean_object* l_Lean_Expr_isOutParam___boxed(lean_object*); static lean_object* l_Lean_Expr_letName_x21___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_isAppOf___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_ctorName___boxed(lean_object*); -static lean_object* l_Lean_mkLetFunAnnotation___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_letName_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_Expr___hyg_137_(lean_object*, lean_object*); static lean_object* l_Lean_Expr_mkData___closed__4; @@ -543,7 +541,6 @@ static lean_object* l_Lean_mkNatLit___closed__3; LEAN_EXPORT lean_object* l_Lean_instFVarIdHashSetInhabited; LEAN_EXPORT lean_object* l_Lean_mkNot(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_bindingName_x21___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_isLetFun___boxed(lean_object*); lean_object* lean_expr_lift_loose_bvars(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_letName_x21___boxed(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Expr_mvarId_x21___spec__1(lean_object*); @@ -636,6 +633,7 @@ LEAN_EXPORT lean_object* lean_lit_type(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_containsFVar___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkForallEx___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_3663____closed__25; +LEAN_EXPORT lean_object* l_Lean_Expr_isLetFun___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_letBody_x21___boxed(lean_object*); @@ -750,7 +748,6 @@ LEAN_EXPORT uint8_t lean_expr_binder_info(lean_object*); static lean_object* l_Lean_mkDecIsFalse___closed__3; static lean_object* l_Lean_mkNatLit___closed__5; LEAN_EXPORT uint64_t l_List_foldl___at_Lean_Expr_const___override___spec__1(uint64_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_letFunAnnotation_x3f(lean_object*); static lean_object* l_Lean_instReprExpr___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_BinderInfo_noConfusion___rarg___closed__1; @@ -887,12 +884,14 @@ uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Expr_litValue_x21___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_mkAppRevRange(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkEM___closed__4; +static lean_object* l_Lean_Expr_isLetFun___closed__2; static lean_object* l_Lean_Literal_type___closed__3; static lean_object* l_Lean_Expr_bvarIdx_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_getRevArgD___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprBinderInfo____x40_Lean_Expr___hyg_497____closed__14; LEAN_EXPORT lean_object* l_Lean_Expr_bvarIdx_x21(lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_letFun_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_Expr_etaExpandedBody(lean_object*, lean_object*, lean_object*); static lean_object* l_List_repr___at___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_3663____spec__1___closed__8; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -953,7 +952,6 @@ lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_Expr_bvarIdx_x21___closed__2; lean_object* lean_expr_abstract_range(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ExprStructEq_instToStringExprStructEq___boxed(lean_object*); -LEAN_EXPORT uint8_t l_Lean_isLetFun(lean_object*); LEAN_EXPORT uint64_t lean_expr_hash(lean_object*); LEAN_EXPORT uint64_t l_Lean_instInhabitedData__1; LEAN_EXPORT lean_object* l_Lean_mkFreshLMVarId___rarg(lean_object*, lean_object*); @@ -28993,6 +28991,222 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Expr_setAppPPExplicitForExposingMVars___s return x_6; } } +static lean_object* _init_l_Lean_Expr_isLetFun___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letFun", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Expr_isLetFun___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_isLetFun___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Lean_Expr_isLetFun(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; uint8_t x_4; +x_2 = l_Lean_Expr_isLetFun___closed__2; +x_3 = lean_unsigned_to_nat(4u); +x_4 = l_Lean_Expr_isAppOfArity(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_isLetFun___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Expr_isLetFun(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_letFun_x3f(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +if (lean_obj_tag(x_2) == 5) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +if (lean_obj_tag(x_3) == 5) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +if (lean_obj_tag(x_4) == 5) +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 4) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +if (lean_obj_tag(x_6) == 1) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_dec(x_2); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +lean_dec(x_4); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_dec(x_6); +x_12 = l_Lean_Expr_isLetFun___closed__1; +x_13 = lean_string_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_14 = lean_box(0); +return x_14; +} +else +{ +if (lean_obj_tag(x_8) == 6) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_8, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_8, 2); +lean_inc(x_16); +lean_dec(x_8); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_10); +lean_ctor_set(x_18, 1, x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_21 = l_Lean_instInhabitedExpr___closed__1; +x_22 = l_Lean_Expr_app___override(x_8, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_9); +lean_ctor_set(x_23, 1, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_10); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +return x_27; +} +} +} +else +{ +lean_object* x_28; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_28 = lean_box(0); +return x_28; +} +} +else +{ +lean_object* x_29; +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_29 = lean_box(0); +return x_29; +} +} +else +{ +lean_object* x_30; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_30 = lean_box(0); +return x_30; +} +} +else +{ +lean_object* x_31; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_31 = lean_box(0); +return x_31; +} +} +else +{ +lean_object* x_32; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_32 = lean_box(0); +return x_32; +} +} +else +{ +lean_object* x_33; +lean_dec(x_2); +lean_dec(x_1); +x_33 = lean_box(0); +return x_33; +} +} +else +{ +lean_object* x_34; +lean_dec(x_1); +x_34 = lean_box(0); +return x_34; +} +} +} static lean_object* _init_l_Lean_mkAnnotation___closed__1() { _start: { @@ -29072,98 +29286,6 @@ lean_dec(x_1); return x_3; } } -static lean_object* _init_l_Lean_mkLetFunAnnotation___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("let_fun", 7); -return x_1; -} -} -static lean_object* _init_l_Lean_mkLetFunAnnotation___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_mkLetFunAnnotation___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_mkLetFunAnnotation(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_mkLetFunAnnotation___closed__2; -x_3 = l_Lean_mkAnnotation(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_letFunAnnotation_x3f(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_mkLetFunAnnotation___closed__2; -x_3 = l_Lean_annotation_x3f(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_letFunAnnotation_x3f___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_letFunAnnotation_x3f(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT uint8_t l_Lean_isLetFun(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_letFunAnnotation_x3f(x_1); -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_3; -x_3 = 0; -return x_3; -} -else -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -lean_dec(x_2); -x_5 = l_Lean_Expr_isApp(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -lean_dec(x_4); -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; uint8_t x_8; -x_7 = l_Lean_Expr_appFn_x21(x_4); -lean_dec(x_4); -x_8 = l_Lean_Expr_isLambda(x_7); -lean_dec(x_7); -return x_8; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_isLetFun___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_isLetFun(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} static lean_object* _init_l_Lean_mkInaccessible___closed__1() { _start: { @@ -30461,12 +30583,12 @@ l_Lean_Expr_setPPUniverses___closed__1 = _init_l_Lean_Expr_setPPUniverses___clos lean_mark_persistent(l_Lean_Expr_setPPUniverses___closed__1); l_Lean_Expr_setPPUniverses___closed__2 = _init_l_Lean_Expr_setPPUniverses___closed__2(); lean_mark_persistent(l_Lean_Expr_setPPUniverses___closed__2); +l_Lean_Expr_isLetFun___closed__1 = _init_l_Lean_Expr_isLetFun___closed__1(); +lean_mark_persistent(l_Lean_Expr_isLetFun___closed__1); +l_Lean_Expr_isLetFun___closed__2 = _init_l_Lean_Expr_isLetFun___closed__2(); +lean_mark_persistent(l_Lean_Expr_isLetFun___closed__2); l_Lean_mkAnnotation___closed__1 = _init_l_Lean_mkAnnotation___closed__1(); lean_mark_persistent(l_Lean_mkAnnotation___closed__1); -l_Lean_mkLetFunAnnotation___closed__1 = _init_l_Lean_mkLetFunAnnotation___closed__1(); -lean_mark_persistent(l_Lean_mkLetFunAnnotation___closed__1); -l_Lean_mkLetFunAnnotation___closed__2 = _init_l_Lean_mkLetFunAnnotation___closed__2(); -lean_mark_persistent(l_Lean_mkLetFunAnnotation___closed__2); l_Lean_mkInaccessible___closed__1 = _init_l_Lean_mkInaccessible___closed__1(); lean_mark_persistent(l_Lean_mkInaccessible___closed__1); l_Lean_mkInaccessible___closed__2 = _init_l_Lean_mkInaccessible___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index 0fa2b2d4b2e9..8f47bad40e5c 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -60,11 +60,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkEqRec(lean_object*, lean_object*, lean_ob LEAN_EXPORT lean_object* l_Lean_Meta_mkEqTrue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_withTraceNode___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__1___lambda__3___closed__3; static lean_object* l_Lean_Meta_mkImpDepCongrCtx___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_mkNoConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkEqSymm___closed__5; static lean_object* l_Lean_Meta_mkEqTrans___closed__2; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__1; static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs___closed__1; +static lean_object* l_Lean_Meta_mkLetFun___closed__3; static lean_object* l_Lean_Meta_mkEqSymm___closed__3; lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkSorry___closed__4; @@ -89,6 +90,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkSyntheticSorry(lean_object*, lean_object* static lean_object* l_Lean_Meta_mkMul___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___at_Lean_Meta_mkAppOptM___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_mkLetFun___closed__1; static lean_object* l_Lean_Meta_mkOfEqTrue___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_throwAppBuilderException(lean_object*); static lean_object* l_Lean_withTraceNode___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__1___lambda__5___closed__1; @@ -121,7 +123,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_infer(lea LEAN_EXPORT lean_object* l_Lean_Meta_mkExpectedTypeHint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__3___closed__6; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__3; static lean_object* l_Lean_Meta_mkNoConfusion___closed__5; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkForallCongr___closed__1; @@ -149,7 +150,6 @@ static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilder static lean_object* l_Lean_Meta_mkFalseElim___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkProjection___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_throwAppBuilderException___rarg___closed__4; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__9; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkHEqSymm___closed__2; @@ -158,6 +158,7 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Meta_AppBuilde LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getDecLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__14; static lean_object* l_Lean_Meta_mkCongrArg___closed__5; static lean_object* l_Lean_Meta_mkAdd___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_throwAppBuilderException___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -189,7 +190,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkLetValCongr(lean_object*, lean_object*, l size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_isSubobjectField_x3f(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___closed__8; -static lean_object* l_Lean_Meta_mkDecideProof___closed__4; static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__4___closed__1; static lean_object* l_Lean_Meta_mkPure___closed__3; static lean_object* l_Lean_Meta_mkLt___closed__1; @@ -209,9 +209,7 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Meta_AppBuilde static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__3___closed__1; static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__13; LEAN_EXPORT lean_object* l_Lean_Meta_isMonad_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__10; lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_isLevelMVarAssignable___spec__1(lean_object*, lean_object*); lean_object* l_List_mapTR_loop___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__1___closed__10; @@ -224,8 +222,10 @@ LEAN_EXPORT lean_object* l_List_anyM___at___private_Lean_Meta_AppBuilder_0__Lean LEAN_EXPORT lean_object* l_Lean_Meta_mkEqNDRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkHEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__3; static lean_object* l_Lean_Meta_mkLetBodyCongr___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___at_Lean_Meta_mkAppM___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__4; LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkAbsurd___closed__2; static lean_object* l_Lean_Meta_mkOfNonempty___closed__1; @@ -238,7 +238,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkLetCongr(lean_object*, lean_object*, lean static lean_object* l_Lean_Meta_mkMul___closed__1; static lean_object* l_Lean_Meta_mkHEqSymm___closed__3; lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__11; static lean_object* l_Lean_Meta_mkLetBodyCongr___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_mkPropExt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -277,6 +276,7 @@ extern lean_object* l_Lean_levelZero; lean_object* lean_io_mono_nanos_now(lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__3___closed__5; static lean_object* l_Lean_withTraceNode___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__1___lambda__3___closed__4; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__6; uint8_t l_Lean_Level_hasMVar(lean_object*); static lean_object* l_Lean_Meta_mkEq___closed__1; extern lean_object* l_Lean_instInhabitedExpr; @@ -287,6 +287,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkDecide(lean_object*, lean_object*, lean_o static lean_object* l_Lean_Meta_mkCongr___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_mkForallCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkEqNDRec___closed__6; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__8; static lean_object* l_Lean_Meta_mkSorry___closed__5; static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__9; static lean_object* l_Lean_withTraceNode___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__1___lambda__3___closed__1; @@ -307,11 +308,13 @@ static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilder static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___closed__5; static lean_object* l_Lean_Meta_isMonad_x3f___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___at_Lean_Meta_mkAppM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__12; lean_object* l_Lean_Expr_appFn_x21(lean_object*); extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_throwAppBuilderException___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkSub___closed__4; static lean_object* l_Lean_Meta_mkAdd___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__9; static lean_object* l_Lean_Meta_mkNoConfusion___closed__1; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__1___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkPure___closed__1; @@ -332,22 +335,20 @@ static lean_object* l_Lean_Meta_mkEqFalse___closed__2; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkListLit___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_mkProjection___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__2; static lean_object* l_Lean_Meta_mkDecideProof___closed__3; double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); extern lean_object* l_Lean_crossEmoji; static lean_object* l_Lean_Meta_mkOfNonempty___closed__3; static lean_object* l_Lean_Meta_mkCongrFun___closed__3; static lean_object* l_Lean_Meta_mkLe___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkImpCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Meta_processPostponed___spec__4(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_Meta_mkLetFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___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_throwError___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_throwAppBuilderException___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__3___closed__2; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__6; static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_mkOfEqTrue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkSorry___closed__6; @@ -358,7 +359,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkLT(lean_object*, lean_object*, lean_objec static lean_object* l_Lean_Meta_mkPropExt___closed__1; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__8; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkFun___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkDefault___closed__3; lean_object* l_Lean_MVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -380,7 +380,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFin LEAN_EXPORT lean_object* l_Lean_Meta_mkListLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkLetValCongr___closed__1; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkSorry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -389,7 +388,8 @@ static lean_object* l_Lean_Meta_mkEqOfHEq___closed__1; static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_hasTypeMsg___closed__2; LEAN_EXPORT lean_object* l_Lean_withSeconds___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkLetCongr___closed__1; -static lean_object* l_Lean_Meta_mkNoConfusion___closed__10; +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419_(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__2; static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMArgs_loop___closed__3; static lean_object* l_Lean_Meta_mkEqTrue___closed__1; static lean_object* l_Lean_Meta_mkIffOfEq___closed__2; @@ -402,7 +402,6 @@ lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMe LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_hasTypeMsg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkLe___closed__3; lean_object* lean_panic_fn(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__7; static lean_object* l_Lean_Meta_mkCongrArg___closed__3; lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkEqRefl___closed__2; @@ -411,6 +410,7 @@ uint8_t l_Lean_isStructure(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkDecide___closed__1; static lean_object* l_Lean_Meta_mkEqSymm___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_mkFunExt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__7; static lean_object* l_Lean_Meta_mkEqNDRec___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___at_Lean_Meta_mkAppOptM_x27___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkProjection___lambda__1___closed__2; @@ -418,7 +418,6 @@ static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilder static lean_object* l_Lean_Meta_mkListLit___closed__5; static lean_object* l_Lean_Meta_mkArrayLit___closed__2; static lean_object* l_Lean_isLevelMVarAssignable___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__4___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266_(lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___closed__3; lean_object* l_Lean_Meta_throwAppTypeMismatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkNumeral(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -429,6 +428,7 @@ static lean_object* l_Lean_Meta_mkImpCongrCtx___closed__1; static lean_object* l_Lean_Meta_mkImpCongrCtx___closed__2; static lean_object* l_Lean_Meta_mkLetCongr___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_mkLetFun___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkListLitAux(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); @@ -440,22 +440,24 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkEqOfHEq(lean_object*, lean_object*, lean_ lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___closed__6; extern lean_object* l_Lean_trace_profiler; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__13; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkCongrFun___closed__4; lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkEqMP___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___at_Lean_Meta_mkAppOptM_x27___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__14; static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__1___closed__9; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkAppM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTR_loop___at_Lean_Meta_mkAppOptM___spec__2___closed__2; static lean_object* l_Lean_Meta_mkListLit___closed__2; lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_mkHEqTrans(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__1; LEAN_EXPORT lean_object* l_Lean_hasAssignableLevelMVar___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_AppBuilder_0__Lean_Meta_throwAppBuilderException___spec__1(lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_hasTypeMsg___closed__4; @@ -468,7 +470,9 @@ static lean_object* l_Lean_Meta_mkListLit___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkEqMPR___closed__1; uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__11; static lean_object* l_Lean_Meta_mkNoConfusion___closed__4; +lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkProjection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkNoConfusion___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -486,6 +490,7 @@ static lean_object* l_Lean_Meta_mkEqOfHEq___closed__3; static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppMFinal___closed__1; static lean_object* l_Lean_Meta_mkEqOfHEq___lambda__1___closed__1; static lean_object* l_Lean_Meta_mkId___closed__1; +static lean_object* l_Lean_Meta_mkLetFun___closed__2; uint8_t l_Lean_Expr_isForall(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkAppM_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_mkAppOptM___spec__2(lean_object*, lean_object*); @@ -496,7 +501,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkImpCongrCtx(lean_object*, lean_object*, l LEAN_EXPORT lean_object* l_Lean_Meta_mkAppOptM_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkHEqRefl___closed__1; static lean_object* l_Lean_Meta_mkNoConfusion___closed__3; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__12; lean_object* l_Lean_MessageData_ofName(lean_object*); static lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkAppOptMAux___closed__3; static lean_object* l_Lean_Meta_mkDecide___closed__2; @@ -10484,6 +10488,354 @@ lean_dec(x_3); return x_9; } } +static lean_object* _init_l_Lean_Meta_mkLetFun___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_mkLetFun___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letFun", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_mkLetFun___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_mkLetFun___closed__2; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Meta_mkLetFun___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_mkLetFun(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_9 = l_Lean_Meta_mkLetFun___closed__1; +lean_inc(x_1); +x_10 = lean_array_push(x_9, x_1); +x_11 = 0; +x_12 = 1; +x_13 = 1; +lean_inc(x_3); +lean_inc(x_10); +x_14 = l_Lean_Meta_mkLambdaFVars(x_10, x_3, x_11, x_12, x_13, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_17 = lean_infer_type(x_3, x_4, x_5, x_6, x_7, x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_20 = lean_infer_type(x_1, x_4, x_5, x_6, x_7, x_19); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +lean_inc(x_18); +x_23 = l_Lean_Meta_mkLambdaFVars(x_10, x_18, x_11, x_12, x_13, x_4, x_5, x_6, x_7, x_22); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_21); +x_26 = l_Lean_Meta_getLevel(x_21, x_4, x_5, x_6, x_7, x_25); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Meta_getLevel(x_18, x_4, x_5, x_6, x_7, x_28); +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_27); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_Lean_Meta_mkLetFun___closed__3; +x_36 = l_Lean_Expr_const___override(x_35, x_34); +x_37 = l_Lean_Meta_mkLetFun___closed__4; +x_38 = lean_array_push(x_37, x_21); +x_39 = lean_array_push(x_38, x_24); +x_40 = lean_array_push(x_39, x_2); +x_41 = lean_array_push(x_40, x_15); +x_42 = l_Lean_mkAppN(x_36, x_41); +lean_ctor_set(x_29, 0, x_42); +return x_29; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_43 = lean_ctor_get(x_29, 0); +x_44 = lean_ctor_get(x_29, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_29); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_43); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_27); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_Meta_mkLetFun___closed__3; +x_49 = l_Lean_Expr_const___override(x_48, x_47); +x_50 = l_Lean_Meta_mkLetFun___closed__4; +x_51 = lean_array_push(x_50, x_21); +x_52 = lean_array_push(x_51, x_24); +x_53 = lean_array_push(x_52, x_2); +x_54 = lean_array_push(x_53, x_15); +x_55 = l_Lean_mkAppN(x_49, x_54); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_44); +return x_56; +} +} +else +{ +uint8_t x_57; +lean_dec(x_27); +lean_dec(x_24); +lean_dec(x_21); +lean_dec(x_15); +lean_dec(x_2); +x_57 = !lean_is_exclusive(x_29); +if (x_57 == 0) +{ +return x_29; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_29, 0); +x_59 = lean_ctor_get(x_29, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_29); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_24); +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_61 = !lean_is_exclusive(x_26); +if (x_61 == 0) +{ +return x_26; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_26, 0); +x_63 = lean_ctor_get(x_26, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_26); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_65 = !lean_is_exclusive(x_23); +if (x_65 == 0) +{ +return x_23; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_23, 0); +x_67 = lean_ctor_get(x_23, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_23); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_69 = !lean_is_exclusive(x_20); +if (x_69 == 0) +{ +return x_20; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_20, 0); +x_71 = lean_ctor_get(x_20, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_20); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +else +{ +uint8_t x_73; +lean_dec(x_15); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_73 = !lean_is_exclusive(x_17); +if (x_73 == 0) +{ +return x_17; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_17, 0); +x_75 = lean_ctor_get(x_17, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_17); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; +} +} +} +else +{ +uint8_t x_77; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_77 = !lean_is_exclusive(x_14); +if (x_77 == 0) +{ +return x_14; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_14, 0); +x_79 = lean_ctor_get(x_14, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_14); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +} +} static lean_object* _init_l_Lean_Meta_mkEqNDRec___closed__1() { _start: { @@ -11359,15 +11711,6 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -static lean_object* _init_l_Lean_Meta_mkNoConfusion___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(4u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Meta_mkNoConfusion(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -11518,7 +11861,7 @@ x_58 = lean_unsigned_to_nat(1u); x_59 = lean_nat_sub(x_55, x_58); lean_dec(x_55); x_60 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_28, x_57, x_59); -x_61 = l_Lean_Meta_mkNoConfusion___closed__10; +x_61 = l_Lean_Meta_mkLetFun___closed__4; x_62 = lean_array_push(x_61, x_1); x_63 = lean_array_push(x_62, x_25); x_64 = lean_array_push(x_63, x_26); @@ -11557,7 +11900,7 @@ x_80 = lean_unsigned_to_nat(1u); x_81 = lean_nat_sub(x_77, x_80); lean_dec(x_77); x_82 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_28, x_79, x_81); -x_83 = l_Lean_Meta_mkNoConfusion___closed__10; +x_83 = l_Lean_Meta_mkLetFun___closed__4; x_84 = lean_array_push(x_83, x_1); x_85 = lean_array_push(x_84, x_25); x_86 = lean_array_push(x_85, x_26); @@ -11764,7 +12107,7 @@ lean_ctor_set(x_8, 0, x_1); x_9 = lean_box(0); x_10 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_10, 0, x_2); -x_11 = l_Lean_Meta_mkNoConfusion___closed__10; +x_11 = l_Lean_Meta_mkLetFun___closed__4; x_12 = lean_array_push(x_11, x_8); x_13 = lean_array_push(x_12, x_9); x_14 = lean_array_push(x_13, x_9); @@ -13320,15 +13663,6 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_mkDecideProof___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Meta_mkDecideProof(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -13386,7 +13720,7 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); lean_inc(x_19); lean_dec(x_17); -x_20 = l_Lean_Meta_mkDecideProof___closed__4; +x_20 = l_Lean_Meta_mkLetFun___closed__1; x_21 = lean_array_push(x_20, x_18); x_22 = l_Lean_Meta_mkDecideProof___closed__3; x_23 = l_Lean_Meta_mkAppM(x_22, x_21, x_2, x_3, x_4, x_5, x_19); @@ -13754,7 +14088,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkFunExt(lean_object* x_1, lean_object* x_2 _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_Meta_mkDecideProof___closed__4; +x_7 = l_Lean_Meta_mkLetFun___closed__1; x_8 = lean_array_push(x_7, x_1); x_9 = l_Lean_Meta_mkFunExt___closed__2; x_10 = l_Lean_Meta_mkAppM(x_9, x_8, x_2, x_3, x_4, x_5, x_6); @@ -13783,7 +14117,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkPropExt(lean_object* x_1, lean_object* x_ _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_Meta_mkDecideProof___closed__4; +x_7 = l_Lean_Meta_mkLetFun___closed__1; x_8 = lean_array_push(x_7, x_1); x_9 = l_Lean_Meta_mkPropExt___closed__2; x_10 = l_Lean_Meta_mkAppM(x_9, x_8, x_2, x_3, x_4, x_5, x_6); @@ -13902,7 +14236,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkOfEqTrue(lean_object* x_1, lean_object* x _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_Meta_mkDecideProof___closed__4; +x_7 = l_Lean_Meta_mkLetFun___closed__1; x_8 = lean_array_push(x_7, x_1); x_9 = l_Lean_Meta_mkOfEqTrue___closed__2; x_10 = l_Lean_Meta_mkAppM(x_9, x_8, x_2, x_3, x_4, x_5, x_6); @@ -13931,7 +14265,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkEqTrue(lean_object* x_1, lean_object* x_2 _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_Meta_mkDecideProof___closed__4; +x_7 = l_Lean_Meta_mkLetFun___closed__1; x_8 = lean_array_push(x_7, x_1); x_9 = l_Lean_Meta_mkEqTrue___closed__2; x_10 = l_Lean_Meta_mkAppM(x_9, x_8, x_2, x_3, x_4, x_5, x_6); @@ -13960,7 +14294,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkEqFalse(lean_object* x_1, lean_object* x_ _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_Meta_mkDecideProof___closed__4; +x_7 = l_Lean_Meta_mkLetFun___closed__1; x_8 = lean_array_push(x_7, x_1); x_9 = l_Lean_Meta_mkEqFalse___closed__2; x_10 = l_Lean_Meta_mkAppM(x_9, x_8, x_2, x_3, x_4, x_5, x_6); @@ -13989,7 +14323,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkEqFalse_x27(lean_object* x_1, lean_object _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_Meta_mkDecideProof___closed__4; +x_7 = l_Lean_Meta_mkLetFun___closed__1; x_8 = lean_array_push(x_7, x_1); x_9 = l_Lean_Meta_mkEqFalse_x27___closed__2; x_10 = l_Lean_Meta_mkAppM(x_9, x_8, x_2, x_3, x_4, x_5, x_6); @@ -14108,7 +14442,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkForallCongr(lean_object* x_1, lean_object _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = l_Lean_Meta_mkDecideProof___closed__4; +x_7 = l_Lean_Meta_mkLetFun___closed__1; x_8 = lean_array_push(x_7, x_1); x_9 = l_Lean_Meta_mkForallCongr___closed__2; x_10 = l_Lean_Meta_mkAppM(x_9, x_8, x_2, x_3, x_4, x_5, x_6); @@ -14137,7 +14471,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_isMonad_x3f(lean_object* x_1, lean_object* _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_19; lean_object* x_20; -x_7 = l_Lean_Meta_mkDecideProof___closed__4; +x_7 = l_Lean_Meta_mkLetFun___closed__1; x_8 = lean_array_push(x_7, x_1); x_19 = l_Lean_Meta_isMonad_x3f___closed__2; lean_inc(x_5); @@ -14996,7 +15330,7 @@ x_9 = l_Lean_Expr_isAppOfArity(x_1, x_7, x_8); if (x_9 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = l_Lean_Meta_mkDecideProof___closed__4; +x_10 = l_Lean_Meta_mkLetFun___closed__1; x_11 = lean_array_push(x_10, x_1); x_12 = l_Lean_Meta_mkIffOfEq___closed__3; x_13 = l_Lean_Meta_mkAppM(x_12, x_11, x_2, x_3, x_4, x_5, x_6); @@ -15018,7 +15352,7 @@ return x_15; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__1() { _start: { lean_object* x_1; @@ -15026,27 +15360,27 @@ x_1 = lean_mk_string_from_bytes("Lean", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__1; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__2; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__2; x_2 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__3___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__4() { _start: { lean_object* x_1; @@ -15054,17 +15388,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__3; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__4; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__3; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__6() { _start: { lean_object* x_1; @@ -15072,37 +15406,37 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__5; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__6; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__5; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__8() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__7; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__7; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__9() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__8; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__8; x_2 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___lambda__3___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__10() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__10() { _start: { lean_object* x_1; @@ -15110,17 +15444,17 @@ x_1 = lean_mk_string_from_bytes("AppBuilder", 10); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__11() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__9; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__10; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__9; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__12() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__12() { _start: { lean_object* x_1; @@ -15128,33 +15462,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__13() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__11; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__12; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__11; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__14() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__13; -x_2 = lean_unsigned_to_nat(7266u); +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__13; +x_2 = lean_unsigned_to_nat(7419u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l___private_Lean_Meta_AppBuilder_0__Lean_Meta_withAppBuilderTrace___rarg___closed__1; x_3 = 0; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__14; +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__14; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -15470,6 +15804,14 @@ l_List_mapTR_loop___at_Lean_Meta_mkAppOptM___spec__2___closed__2 = _init_l_List_ lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_mkAppOptM___spec__2___closed__2); l_List_mapTR_loop___at_Lean_Meta_mkAppOptM___spec__2___closed__3 = _init_l_List_mapTR_loop___at_Lean_Meta_mkAppOptM___spec__2___closed__3(); lean_mark_persistent(l_List_mapTR_loop___at_Lean_Meta_mkAppOptM___spec__2___closed__3); +l_Lean_Meta_mkLetFun___closed__1 = _init_l_Lean_Meta_mkLetFun___closed__1(); +lean_mark_persistent(l_Lean_Meta_mkLetFun___closed__1); +l_Lean_Meta_mkLetFun___closed__2 = _init_l_Lean_Meta_mkLetFun___closed__2(); +lean_mark_persistent(l_Lean_Meta_mkLetFun___closed__2); +l_Lean_Meta_mkLetFun___closed__3 = _init_l_Lean_Meta_mkLetFun___closed__3(); +lean_mark_persistent(l_Lean_Meta_mkLetFun___closed__3); +l_Lean_Meta_mkLetFun___closed__4 = _init_l_Lean_Meta_mkLetFun___closed__4(); +lean_mark_persistent(l_Lean_Meta_mkLetFun___closed__4); l_Lean_Meta_mkEqNDRec___closed__1 = _init_l_Lean_Meta_mkEqNDRec___closed__1(); lean_mark_persistent(l_Lean_Meta_mkEqNDRec___closed__1); l_Lean_Meta_mkEqNDRec___closed__2 = _init_l_Lean_Meta_mkEqNDRec___closed__2(); @@ -15514,8 +15856,6 @@ l_Lean_Meta_mkNoConfusion___closed__8 = _init_l_Lean_Meta_mkNoConfusion___closed lean_mark_persistent(l_Lean_Meta_mkNoConfusion___closed__8); l_Lean_Meta_mkNoConfusion___closed__9 = _init_l_Lean_Meta_mkNoConfusion___closed__9(); lean_mark_persistent(l_Lean_Meta_mkNoConfusion___closed__9); -l_Lean_Meta_mkNoConfusion___closed__10 = _init_l_Lean_Meta_mkNoConfusion___closed__10(); -lean_mark_persistent(l_Lean_Meta_mkNoConfusion___closed__10); l_Lean_Meta_mkPure___closed__1 = _init_l_Lean_Meta_mkPure___closed__1(); lean_mark_persistent(l_Lean_Meta_mkPure___closed__1); l_Lean_Meta_mkPure___closed__2 = _init_l_Lean_Meta_mkPure___closed__2(); @@ -15590,8 +15930,6 @@ l_Lean_Meta_mkDecideProof___closed__2 = _init_l_Lean_Meta_mkDecideProof___closed lean_mark_persistent(l_Lean_Meta_mkDecideProof___closed__2); l_Lean_Meta_mkDecideProof___closed__3 = _init_l_Lean_Meta_mkDecideProof___closed__3(); lean_mark_persistent(l_Lean_Meta_mkDecideProof___closed__3); -l_Lean_Meta_mkDecideProof___closed__4 = _init_l_Lean_Meta_mkDecideProof___closed__4(); -lean_mark_persistent(l_Lean_Meta_mkDecideProof___closed__4); l_Lean_Meta_mkLt___closed__1 = _init_l_Lean_Meta_mkLt___closed__1(); lean_mark_persistent(l_Lean_Meta_mkLt___closed__1); l_Lean_Meta_mkLt___closed__2 = _init_l_Lean_Meta_mkLt___closed__2(); @@ -15714,35 +16052,35 @@ l_Lean_Meta_mkIffOfEq___closed__2 = _init_l_Lean_Meta_mkIffOfEq___closed__2(); lean_mark_persistent(l_Lean_Meta_mkIffOfEq___closed__2); l_Lean_Meta_mkIffOfEq___closed__3 = _init_l_Lean_Meta_mkIffOfEq___closed__3(); lean_mark_persistent(l_Lean_Meta_mkIffOfEq___closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__8(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__9(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__9); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__10(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__11(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__11); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__12(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__12); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__13(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__13); -l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__14(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266____closed__14); -if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7266_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__7); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__8(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__8); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__9(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__9); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__10(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__10); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__11(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__11); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__12(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__12); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__13(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__13); +l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__14 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__14(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419____closed__14); +if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_AppBuilder___hyg_7419_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index 013d6d5d44fd..116f668aec07 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -386,6 +386,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_2956____closed__18; LEAN_EXPORT lean_object* l_Lean_Meta_setMVarType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_shouldReduceReducibleOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_DefEqCache_reducible___default___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__1(lean_object*, lean_object*); @@ -490,6 +491,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withAssignableSyntheticOpaque___rarg(lean_o LEAN_EXPORT lean_object* l_Lean_Meta_lambdaLetTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshMVarId___at_Lean_Meta_mkFreshExprMVarAt___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getNumPostponed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at_Lean_Meta_setInlineAttribute___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__2___closed__1; @@ -550,7 +552,6 @@ uint64_t l_Lean_Expr_hash(lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_FVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LMVarId_isReadOnly(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_MVarId_getDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -669,7 +670,6 @@ uint8_t l_Lean_LocalDecl_isImplementationDetail(lean_object*); static lean_object* l_Lean_Meta_Cache_funInfo___default___closed__1; static lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_abstractRange(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instAlternativeMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_MVarId_getDecl___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_instantiateLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1423,7 +1423,7 @@ x_1 = l_Lean_Meta_instInhabitedInfoCacheKey___closed__2; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1490,17 +1490,17 @@ return x_12; else { uint8_t x_13; -x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_5, x_8); +x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_5, x_8); return x_13; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); diff --git a/stage0/stdlib/Lean/Meta/CasesOn.c b/stage0/stdlib/Lean/Meta/CasesOn.c index 2dc195e5f7ea..ff69ac9bd3f0 100644 --- a/stage0/stdlib/Lean/Meta/CasesOn.c +++ b/stage0/stdlib/Lean/Meta/CasesOn.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.CasesOn -// Imports: Init Lean.Meta.KAbstract Lean.Meta.Check +// Imports: Init Lean.Meta.KAbstract Lean.Meta.Check Lean.Meta.AppBuilder #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg_updateAlts___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); @@ -28,14 +29,17 @@ lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, l LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_CasesOnApp_addArg___spec__2(lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Meta_toCasesOnApp_x3f___spec__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_toCasesOnApp_x3f___lambda__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_Meta_CasesOnApp_refineThrough___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__1___boxed(lean_object**); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg_updateAlts___spec__1___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CasesOnApp_addArg_updateAlts___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg_updateAlts___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -44,55 +48,72 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addA LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__4___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_Meta_CasesOnApp_addArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_CasesOnApp_addArg_updateAlts___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg_updateAlts___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg_updateAlts(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__3; lean_object* l_Array_reverse___rarg(lean_object*); +lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Array_zip___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_kabstract(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg_updateAlts___spec__1___lambda__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_EXPORT lean_object* l_Lean_Meta_toCasesOnApp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_abstractM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); static lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__4___closed__4; static lean_object* l_panic___at_Lean_Meta_toCasesOnApp_x3f___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__2___boxed__const__1; lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_toCasesOnApp_x3f___lambda__2___closed__1; extern lean_object* l_Lean_levelZero; extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg_updateAlts___spec__1___closed__2; static lean_object* l_Lean_Meta_toCasesOnApp_x3f___lambda__1___closed__1; static lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__2___closed__1; static lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__4___closed__3; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__1; +static lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg_updateAlts___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__2; lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_toCasesOnApp_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_tail_x21___rarg(lean_object*); +static lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__1; static lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__3___closed__1; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg_updateAlts___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__3(lean_object*, 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_Meta_CasesOnApp_addArg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Meta_toCasesOnApp_x3f___spec__2___closed__1; lean_object* l_Lean_indentExpr(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -105,12 +126,15 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addA static lean_object* l_List_forIn_loop___at_Lean_Meta_toCasesOnApp_x3f___spec__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_addArg_updateAlts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg___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_Lean_Meta_CasesOnApp_addArg_updateAlts___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__3(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_toCasesOnApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); @@ -119,11 +143,16 @@ lean_object* lean_nat_add(lean_object*, lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_toCasesOnApp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_InductiveVal_numCtors(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg_updateAlts___spec__1___lambda__2___closed__1; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); uint8_t l_Lean_isCasesOnRecursor(lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__4; lean_object* l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_CasesOnApp_addArg___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_panic___at_Lean_Meta_toCasesOnApp_x3f___spec__1___closed__1() { @@ -175,7 +204,7 @@ static lean_object* _init_l_List_forIn_loop___at_Lean_Meta_toCasesOnApp_x3f___sp lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_List_forIn_loop___at_Lean_Meta_toCasesOnApp_x3f___spec__2___closed__1; x_2 = l_List_forIn_loop___at_Lean_Meta_toCasesOnApp_x3f___spec__2___closed__2; -x_3 = lean_unsigned_to_nat(42u); +x_3 = lean_unsigned_to_nat(43u); x_4 = lean_unsigned_to_nat(49u); x_5 = l_List_forIn_loop___at_Lean_Meta_toCasesOnApp_x3f___spec__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1625,7 +1654,7 @@ lean_closure_set(x_12, 1, x_4); lean_closure_set(x_12, 2, x_11); lean_closure_set(x_12, 3, x_3); x_13 = l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg_updateAlts___spec__1___lambda__2___closed__1; -x_14 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(x_5, x_13, x_12, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__5___rarg(x_5, x_13, x_12, x_6, x_7, x_8, x_9, x_10); return x_14; } } @@ -1789,7 +1818,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_55 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(x_50, x_52, x_54, x_7, x_8, x_9, x_10, x_49); +x_55 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__5___rarg(x_50, x_52, x_54, x_7, x_8, x_9, x_10, x_49); if (lean_obj_tag(x_55) == 0) { lean_object* x_56; lean_object* x_57; uint8_t x_58; @@ -1997,7 +2026,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_100 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(x_95, x_97, x_99, x_7, x_8, x_9, x_10, x_94); +x_100 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__5___rarg(x_95, x_97, x_99, x_7, x_8, x_9, x_10, x_94); if (lean_obj_tag(x_100) == 0) { lean_object* x_101; lean_object* x_102; uint8_t x_103; @@ -2259,7 +2288,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_154 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(x_149, x_151, x_153, x_7, x_8, x_9, x_10, x_148); +x_154 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__5___rarg(x_149, x_151, x_153, x_7, x_8, x_9, x_10, x_148); if (lean_obj_tag(x_154) == 0) { lean_object* x_155; lean_object* x_156; uint8_t x_157; @@ -2538,7 +2567,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_211 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(x_206, x_208, x_210, x_7, x_8, x_9, x_10, x_205); +x_211 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__5___rarg(x_206, x_208, x_210, x_7, x_8, x_9, x_10, x_205); if (lean_obj_tag(x_211) == 0) { lean_object* x_212; lean_object* x_213; uint8_t x_214; @@ -2833,7 +2862,7 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_271 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(x_266, x_268, x_270, x_7, x_8, x_9, x_10, x_265); +x_271 = l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__5___rarg(x_266, x_268, x_270, x_7, x_8, x_9, x_10, x_265); if (lean_obj_tag(x_271) == 0) { lean_object* x_272; lean_object* x_273; uint8_t x_274; @@ -4610,21 +4639,925 @@ x_10 = l_Lean_Meta_CasesOnApp_addArg_x3f(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8) return x_10; } } -lean_object* initialize_Init(uint8_t builtin, lean_object*); -lean_object* initialize_Lean_Meta_KAbstract(uint8_t builtin, lean_object*); -lean_object* initialize_Lean_Meta_Check(uint8_t builtin, lean_object*); -static bool _G_initialized = false; -LEAN_EXPORT lean_object* initialize_Lean_Meta_CasesOn(uint8_t builtin, lean_object* w) { -lean_object * res; -if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); -_G_initialized = true; -res = initialize_Init(builtin, lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Meta_KAbstract(builtin, lean_io_mk_world()); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = initialize_Lean_Meta_Check(builtin, lean_io_mk_world()); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_array_uget(x_3, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_3, x_2, x_12); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_14 = lean_infer_type(x_11, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = 1; +x_18 = lean_usize_add(x_2, x_17); +x_19 = lean_array_uset(x_13, x_2, x_15); +x_2 = x_18; +x_3 = x_19; +x_8 = x_16; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_9); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_sub(x_10, x_11); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_12, x_13); +lean_dec(x_12); +x_15 = l_Lean_Expr_getRevArg_x21(x_1, x_14); +x_16 = l_Lean_Expr_abstractM(x_15, x_2, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failed to transfer argument through matcher application, alt type must be telescope with #", 90); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" arguments", 10); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_get_size(x_2); +x_10 = lean_nat_dec_eq(x_9, x_1); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_dec(x_3); +lean_dec(x_2); +x_11 = l_Nat_repr(x_1); +x_12 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__2; +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__4; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(x_17, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +lean_dec(x_4); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +return x_18; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_18); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_1); +x_23 = lean_box(0); +x_24 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__1(x_3, x_2, x_23, x_4, x_5, x_6, x_7, x_8); +return x_24; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_array_uget(x_3, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_3, x_2, x_12); +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___boxed), 8, 1); +lean_closure_set(x_16, 0, x_14); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_17 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_15, x_16, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = 1; +x_21 = lean_usize_add(x_2, x_20); +x_22 = lean_array_uset(x_13, x_2, x_18); +x_2 = x_21; +x_3 = x_22; +x_8 = x_19; +goto _start; +} +else +{ +uint8_t x_24; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) +{ +return x_17; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_17, 0); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_17); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; size_t x_11; lean_object* x_12; +lean_dec(x_4); +x_10 = lean_array_get_size(x_3); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__1(x_11, x_1, x_3, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_2, 7); +lean_inc(x_15); +lean_dec(x_2); +x_16 = l_Array_zip___rarg(x_15, x_13); +lean_dec(x_13); +lean_dec(x_15); +x_17 = lean_array_get_size(x_16); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2(x_18, x_1, x_16, x_5, x_6, x_7, x_8, x_14); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +static lean_object* _init_l_Lean_Meta_CasesOnApp_refineThrough___lambda__2___boxed__const__1() { +_start: +{ +size_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_usize(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; +x_10 = lean_ctor_get(x_1, 4); +lean_inc(x_10); +x_11 = lean_ctor_get(x_1, 5); +lean_inc(x_11); +x_12 = l_Lean_Meta_CasesOnApp_addArg___lambda__3___closed__1; +x_13 = lean_array_push(x_12, x_11); +x_14 = l_Array_append___rarg(x_10, x_13); +lean_inc(x_14); +x_15 = l_Array_reverse___rarg(x_14); +x_16 = lean_array_get_size(x_15); +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Array_toSubarray___rarg(x_15, x_17, x_16); +lean_inc(x_2); +x_19 = l_Array_reverse___rarg(x_2); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_3); +x_21 = lean_array_get_size(x_19); +x_22 = lean_usize_of_nat(x_21); +lean_dec(x_21); +x_23 = 0; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_24 = l_Array_forInUnsafe_loop___at_Lean_Meta_CasesOnApp_addArg___spec__1(x_19, x_22, x_23, x_20, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_19); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_27); +x_28 = l_Lean_Meta_mkEq(x_27, x_27, x_5, x_6, x_7, x_8, x_26); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = 0; +x_32 = 1; +x_33 = 1; +x_34 = l_Lean_Meta_mkLambdaFVars(x_2, x_29, x_31, x_32, x_33, x_5, x_6, x_7, x_8, x_30); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ctor_get_uint8(x_1, sizeof(void*)*9); +x_38 = lean_ctor_get(x_1, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_1, 2); +lean_inc(x_39); +if (x_37 == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_62 = lean_ctor_get(x_1, 1); +lean_inc(x_62); +x_63 = l_List_tail_x21___rarg(x_62); +x_64 = l_Lean_levelZero; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_40 = x_65; +goto block_61; +} +else +{ +lean_object* x_66; +x_66 = lean_ctor_get(x_1, 1); +lean_inc(x_66); +x_40 = x_66; +goto block_61; +} +block_61: +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_41 = l_Lean_Expr_const___override(x_38, x_40); +x_42 = l_Lean_mkAppN(x_41, x_39); +x_43 = l_Lean_Expr_app___override(x_42, x_35); +x_44 = l_Lean_mkAppN(x_43, x_14); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_44); +x_45 = l_Lean_Meta_check(x_44, x_5, x_6, x_7, x_8, x_36); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_47 = lean_infer_type(x_44, x_5, x_6, x_7, x_8, x_46); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Meta_CasesOnApp_refineThrough___lambda__2___boxed__const__1; +x_51 = lean_alloc_closure((void*)(l_Lean_Meta_CasesOnApp_refineThrough___lambda__1___boxed), 9, 2); +lean_closure_set(x_51, 0, x_50); +lean_closure_set(x_51, 1, x_1); +x_52 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_48, x_51, x_5, x_6, x_7, x_8, x_49); +return x_52; +} +else +{ +uint8_t x_53; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_53 = !lean_is_exclusive(x_47); +if (x_53 == 0) +{ +return x_47; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_47, 0); +x_55 = lean_ctor_get(x_47, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_47); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +uint8_t x_57; +lean_dec(x_44); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_57 = !lean_is_exclusive(x_45); +if (x_57 == 0) +{ +return x_45; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_45, 0); +x_59 = lean_ctor_get(x_45, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_45); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +} +else +{ +uint8_t x_67; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_67 = !lean_is_exclusive(x_34); +if (x_67 == 0) +{ +return x_34; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_34, 0); +x_69 = lean_ctor_get(x_34, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_34); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +else +{ +uint8_t x_71; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_71 = !lean_is_exclusive(x_28); +if (x_71 == 0) +{ +return x_28; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_28, 0); +x_73 = lean_ctor_get(x_28, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_28); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +else +{ +uint8_t x_75; +lean_dec(x_14); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_75 = !lean_is_exclusive(x_24); +if (x_75 == 0) +{ +return x_24; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_24, 0); +x_77 = lean_ctor_get(x_24, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_24); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +} +static lean_object* _init_l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failed to transfer argument through `casesOn` application, motive must be lambda expression with #", 98); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +lean_dec(x_4); +x_10 = lean_array_get_size(x_3); +x_11 = lean_ctor_get(x_1, 4); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_12, x_13); +lean_dec(x_12); +x_15 = lean_nat_dec_eq(x_10, x_14); +lean_dec(x_10); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = l_Nat_repr(x_14); +x_17 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__2; +x_20 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = l_Lean_Meta_CasesOnApp_addArg___lambda__4___closed__4; +x_22 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_throwError___at___private_Lean_Meta_InferType_0__Lean_Meta_inferProjType___spec__1(x_22, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +return x_23; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_23); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_14); +x_28 = lean_box(0); +x_29 = l_Lean_Meta_CasesOnApp_refineThrough___lambda__2(x_1, x_3, x_2, x_28, x_5, x_6, x_7, x_8, x_9); +return x_29; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_1, 3); +lean_inc(x_8); +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_CasesOnApp_refineThrough___lambda__3), 9, 2); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +x_10 = l_Lean_Meta_lambdaTelescope___at_Lean_Meta_CasesOnApp_addArg___spec__2___rarg(x_8, x_9, x_3, x_4, x_5, x_6, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__1(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +size_t x_10; lean_object* x_11; +x_10 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_11 = l_Lean_Meta_CasesOnApp_refineThrough___lambda__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_CasesOnApp_refineThrough___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_CasesOnApp_refineThrough_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +lean_inc(x_5); +x_8 = l_Lean_Meta_CasesOnApp_refineThrough(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_dec(x_5); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_8, 0); +x_18 = l_Lean_Exception_isRuntime(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_17); +lean_dec(x_5); +x_19 = lean_box(0); +lean_ctor_set_tag(x_8, 0); +lean_ctor_set(x_8, 0, x_19); +return x_8; +} +else +{ +uint8_t x_20; +x_20 = lean_ctor_get_uint8(x_5, sizeof(void*)*11); +lean_dec(x_5); +if (x_20 == 0) +{ +return x_8; +} +else +{ +lean_object* x_21; +lean_dec(x_17); +x_21 = lean_box(0); +lean_ctor_set_tag(x_8, 0); +lean_ctor_set(x_8, 0, x_21); +return x_8; +} +} +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_8, 0); +x_23 = lean_ctor_get(x_8, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_8); +x_24 = l_Lean_Exception_isRuntime(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_5); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_23); +return x_26; +} +else +{ +uint8_t x_27; +x_27 = lean_ctor_get_uint8(x_5, sizeof(void*)*11); +lean_dec(x_5); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_23); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_22); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_23); +return x_30; +} +} +} +} +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_KAbstract(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_Check(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Meta_AppBuilder(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Meta_CasesOn(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_KAbstract(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_Check(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Meta_AppBuilder(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_panic___at_Lean_Meta_toCasesOnApp_x3f___spec__1___closed__1 = _init_l_panic___at_Lean_Meta_toCasesOnApp_x3f___spec__1___closed__1(); @@ -4669,6 +5602,20 @@ l_Lean_Meta_CasesOnApp_addArg___lambda__4___closed__3 = _init_l_Lean_Meta_CasesO lean_mark_persistent(l_Lean_Meta_CasesOnApp_addArg___lambda__4___closed__3); l_Lean_Meta_CasesOnApp_addArg___lambda__4___closed__4 = _init_l_Lean_Meta_CasesOnApp_addArg___lambda__4___closed__4(); lean_mark_persistent(l_Lean_Meta_CasesOnApp_addArg___lambda__4___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_CasesOnApp_refineThrough___spec__2___lambda__2___closed__4); +l_Lean_Meta_CasesOnApp_refineThrough___lambda__2___boxed__const__1 = _init_l_Lean_Meta_CasesOnApp_refineThrough___lambda__2___boxed__const__1(); +lean_mark_persistent(l_Lean_Meta_CasesOnApp_refineThrough___lambda__2___boxed__const__1); +l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__1 = _init_l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__1); +l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__2 = _init_l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_CasesOnApp_refineThrough___lambda__3___closed__2); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Meta/Coe.c b/stage0/stdlib/Lean/Meta/Coe.c index 7d18bcde74ac..42bcaf3e9c89 100644 --- a/stage0/stdlib/Lean/Meta/Coe.c +++ b/stage0/stdlib/Lean/Meta/Coe.c @@ -70,7 +70,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Coe___hyg_4_(lean_o LEAN_EXPORT lean_object* l_Lean_Meta_expandCoe___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Coe___hyg_290____closed__1; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Coe___hyg_4____closed__3; -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Meta_coerceMonadLift_x3f___closed__3; @@ -491,7 +491,7 @@ lean_ctor_set_uint8(x_8, 9, x_10); x_11 = l_Lean_Meta_expandCoe___closed__1; x_12 = l_Lean_Meta_expandCoe___closed__2; x_13 = 0; -x_14 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_11, x_12, x_13, x_2, x_3, x_4, x_5, x_6); +x_14 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_11, x_12, x_13, x_13, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_14) == 0) { uint8_t x_15; @@ -570,7 +570,7 @@ lean_ctor_set(x_2, 0, x_35); x_36 = l_Lean_Meta_expandCoe___closed__1; x_37 = l_Lean_Meta_expandCoe___closed__2; x_38 = 0; -x_39 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_36, x_37, x_38, x_2, x_3, x_4, x_5, x_6); +x_39 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_36, x_37, x_38, x_38, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_39) == 0) { lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; @@ -682,7 +682,7 @@ lean_ctor_set(x_68, 5, x_53); x_69 = l_Lean_Meta_expandCoe___closed__1; x_70 = l_Lean_Meta_expandCoe___closed__2; x_71 = 0; -x_72 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_69, x_70, x_71, x_68, x_3, x_4, x_5, x_6); +x_72 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_69, x_70, x_71, x_71, x_68, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_72) == 0) { lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; diff --git a/stage0/stdlib/Lean/Meta/IndPredBelow.c b/stage0/stdlib/Lean/Meta/IndPredBelow.c index 1847c831dd1e..bcb4c83b1131 100644 --- a/stage0/stdlib/Lean/Meta/IndPredBelow.c +++ b/stage0/stdlib/Lean/Meta/IndPredBelow.c @@ -14,7 +14,7 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext_mkHeader___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_backwardsChaining___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_induction___closed__1; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); @@ -23,18 +23,15 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCt static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__6; static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__19; lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__9; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(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* l_Lean_getConstInfoInduct___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_mkRecursorInfoForKernelRec___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10___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_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_induction(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_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615_(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_LocalContext_getFVars___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__9(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -43,27 +40,28 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_IndPredBelow_m lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_proveBrecOn_applyCtors___spec__2(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_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkMotiveBinder___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__3___closed__2; lean_object* l_Lean_commitWhen___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_elimEmptyInductive___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBrecOn_induction___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__5; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__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_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__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_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkBelow___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___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_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext___spec__5(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_addMotives(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_rebuild___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_IndPredBelow_getBelowIndices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__5; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(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*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn___closed__3; extern lean_object* l_Lean_maxRecDepthErrorMessage; static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__6; @@ -72,11 +70,13 @@ static lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___closed__2; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__1; +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallMetaTelescope(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__1___lambda__2(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_throwError___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_rebuild(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_backwardsChaining(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -88,17 +88,17 @@ LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Meta_IndPredBelow_mkBelowMatcher LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___boxed(lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___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_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___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_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__8; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___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* l_Lean_instBEqLocalInstance___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__1; lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__3; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_mkMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -106,11 +106,14 @@ static lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__2__ lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_copyVarName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_mkMotiveBinder___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg(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_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bvar___override(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13(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_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__1___closed__1; @@ -121,11 +124,10 @@ static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatch LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__11; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Meta_getParamNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___closed__3; static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__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_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_addBelowPattern___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -139,8 +141,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelow(lean_object*, lean_obj static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__8; lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkContext___spec__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_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveType___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__1___closed__4; @@ -151,11 +153,10 @@ lean_object* l_Lean_Exception_toMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_instInhabitedVariables; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelow___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(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_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_proveBrecOn_applyCtors___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___closed__2; @@ -163,13 +164,13 @@ static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec_ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_GeneralizeTelescope_generalizeTelescopeAux___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__7; static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__3; lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; lean_object* l_List_mapTR_loop___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__2; static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__14; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_applyIH(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -190,6 +191,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_getBelowIndices_loop___lambda_ size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__11; lean_object* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -200,10 +202,9 @@ static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___clo LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__2; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls_loop___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__6; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_getBelowIndices(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBrecOn_induction___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -221,11 +222,10 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkBe LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_mkMotiveBinder(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__13; static lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveName___closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__2; static lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__2; @@ -245,9 +245,11 @@ lean_object* l_Lean_Meta_isInductivePredicate(lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__9; static lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_modifyBinders___lambda__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__12; static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__3; @@ -271,12 +273,14 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__9; static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_replaceTempVars___spec__2(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg___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*); extern lean_object* l_Lean_Expr_instHashableExpr; lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__10; extern lean_object* l_Lean_levelZero; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_replaceTempVars(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__2(lean_object*); static lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__1; @@ -297,6 +301,8 @@ lean_object* l_Lean_instHashableLocalInstance___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_mkHeader___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_MkMatcherInput_numDiscrs(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__2; static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__7; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__5; @@ -305,15 +311,13 @@ LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBr LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__7; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__7; static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_modifyBinders___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1(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_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1(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_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_modifyBinders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -323,30 +327,32 @@ LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkType___lambda__ static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__4; +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkContext___spec__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); lean_object* l_Lean_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__4; static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_mkHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__12; lean_object* l_Array_append___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__1; static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__7; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_findBelowIdx___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_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__2___closed__2; static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__1___closed__3; uint8_t l_Lean_Expr_binderInfo(lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withExistingLocalDecls___at_Lean_Meta_Match_Alt_toMessageData___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7_(lean_object*); @@ -377,10 +383,11 @@ lean_object* l_Lean_Meta_Match_Pattern_toMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_replaceFVars(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_addBelowPattern___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -392,7 +399,7 @@ extern lean_object* l_Lean_brecOnSuffix; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__1___lambda__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_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1(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* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_rebuild___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -402,7 +409,6 @@ lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBrecOn_induction___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__8; static lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl___closed__1; -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__4; lean_object* l_Lean_indentExpr(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___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_Lean_Meta_IndPredBelow_mkCtorType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -414,12 +420,12 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_back LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_findBelowIdx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_addMotives___lambda__1(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_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_mkContext_addMotives___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_indexOfAux___at___private_Lean_Meta_FunInfo_0__Lean_Meta_collectDeps_visit___spec__1(lean_object*, lean_object*, lean_object*); @@ -428,30 +434,28 @@ LEAN_EXPORT lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___ lean_object* l_Array_insertAt_x21___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__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_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__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_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__3___closed__5; static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___closed__6; lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__1; static lean_object* l_Lean_Meta_IndPredBelow_mkBelow___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__10; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___boxed(lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12___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_object* l_Array_back___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__5; lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_copyVarName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__12; static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatcher___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -471,10 +475,9 @@ lean_object* l_Lean_Expr_fvar___override(lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_modifyBinders___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__3; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_modifyBinders___lambda__2(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_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__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_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_maxBackwardChainingDepth; static lean_object* l_Std_Range_forIn_loop___at_Lean_Meta_IndPredBelow_mkBelow___spec__2___closed__4; @@ -496,6 +499,7 @@ static lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBelowMatch LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__1___closed__2; +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_newMotive___lambda__2(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_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addHeaderVars___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -525,7 +529,6 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_IndPredBelow_p lean_object* l_List_mapTR_loop___at_Lean_Meta_Match_Alt_toMessageData___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_IndPredBelow_proveBrecOn_applyIH___spec__2___closed__1; -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__6; static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___closed__4; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__2(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_object*); @@ -533,13 +536,14 @@ LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_mkBrecO static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBrecOn_applyCtors___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__3; static lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveName___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_replaceTempVars___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_IndPredBelow_backwardsChaining___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_toInaccessible(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isConst(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(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*); uint8_t l_Lean_Exception_isRuntime(lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__13; lean_object* l_Array_instBEqArray___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_closeGoal___closed__5; uint8_t l_Lean_Expr_isForall(lean_object*); @@ -551,7 +555,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_addBelowPattern static lean_object* l_Lean_mkCasesOn___at_Lean_Meta_IndPredBelow_mkBelow___spec__1___closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_convertToBelow___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___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_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Match_instInhabitedPattern; static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__6; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -562,9 +566,9 @@ lean_object* l_Lean_MessageData_ofName(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkBrecOnDecl_mkIH(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_zipWith___at_List_zip___spec__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_proveBrecOn_applyCtors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(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_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__9___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Meta_IndPredBelow_mkInductiveType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); @@ -572,16 +576,17 @@ LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkContext_motiveType(lean_obje lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__2; lean_object* lean_mk_cases_on(lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__2; static lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_findBelowIdx___spec__2___lambda__3___closed__2; static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___closed__2; lean_object* l_Lean_Meta_withNewBinderInfos___at_Lean_Meta_withInstImplicitAsImplict___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Meta_IndPredBelow_proveBrecOn_induction___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_proveBrecOn_intros___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg___lambda__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_Meta_IndPredBelow_mkCtorType_mkBelowBinder(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_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_addMotives___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__2; static lean_object* l_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___closed__1; static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__1() { _start: @@ -5294,27 +5299,28 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; +lean_object* x_15; lean_inc(x_2); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_14 = lean_apply_7(x_2, x_6, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_14) == 0) +lean_inc(x_7); +x_15 = lean_apply_7(x_2, x_7, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -switch (lean_obj_tag(x_15)) { +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +switch (lean_obj_tag(x_16)) { case 0: { -uint8_t x_16; +uint8_t x_17; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -5323,118 +5329,117 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 0); -lean_dec(x_17); +lean_object* x_18; lean_object* x_19; x_18 = lean_ctor_get(x_15, 0); -lean_inc(x_18); -lean_dec(x_15); -lean_ctor_set(x_14, 0, x_18); -return x_14; +lean_dec(x_18); +x_19 = lean_ctor_get(x_16, 0); +lean_inc(x_19); +lean_dec(x_16); +lean_ctor_set(x_15, 0, x_19); +return x_15; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_14, 1); -lean_inc(x_19); -lean_dec(x_14); -x_20 = lean_ctor_get(x_15, 0); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_15, 1); lean_inc(x_20); lean_dec(x_15); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; +x_21 = lean_ctor_get(x_16, 0); +lean_inc(x_21); +lean_dec(x_16); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; } } case 1: { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_dec(x_6); -x_22 = lean_ctor_get(x_14, 1); -lean_inc(x_22); -lean_dec(x_14); -x_23 = lean_ctor_get(x_15, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_7); +x_23 = lean_ctor_get(x_15, 1); lean_inc(x_23); lean_dec(x_15); -x_24 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_22); -return x_24; +x_24 = lean_ctor_get(x_16, 0); +lean_inc(x_24); +lean_dec(x_16); +x_25 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_23); +return x_25; } default: { -lean_object* x_25; +lean_object* x_26; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_25 = lean_ctor_get(x_15, 0); -lean_inc(x_25); -lean_dec(x_15); -if (lean_obj_tag(x_25) == 0) +x_26 = lean_ctor_get(x_16, 0); +lean_inc(x_26); +lean_dec(x_16); +if (lean_obj_tag(x_26) == 0) { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_14); -if (x_26 == 0) +uint8_t x_27; +x_27 = !lean_is_exclusive(x_15); +if (x_27 == 0) { -lean_object* x_27; -x_27 = lean_ctor_get(x_14, 0); -lean_dec(x_27); -lean_ctor_set(x_14, 0, x_6); -return x_14; +lean_object* x_28; +x_28 = lean_ctor_get(x_15, 0); +lean_dec(x_28); +lean_ctor_set(x_15, 0, x_7); +return x_15; } else { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_14, 1); -lean_inc(x_28); -lean_dec(x_14); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_6); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_15, 1); +lean_inc(x_29); +lean_dec(x_15); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_7); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } else { -uint8_t x_30; -lean_dec(x_6); -x_30 = !lean_is_exclusive(x_14); -if (x_30 == 0) +uint8_t x_31; +lean_dec(x_7); +x_31 = !lean_is_exclusive(x_15); +if (x_31 == 0) { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_14, 0); -lean_dec(x_31); -x_32 = lean_ctor_get(x_25, 0); -lean_inc(x_32); -lean_dec(x_25); -lean_ctor_set(x_14, 0, x_32); -return x_14; +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_15, 0); +lean_dec(x_32); +x_33 = lean_ctor_get(x_26, 0); +lean_inc(x_33); +lean_dec(x_26); +lean_ctor_set(x_15, 0, x_33); +return x_15; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_14, 1); -lean_inc(x_33); -lean_dec(x_14); -x_34 = lean_ctor_get(x_25, 0); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_15, 1); lean_inc(x_34); -lean_dec(x_25); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -return x_35; +lean_dec(x_15); +x_35 = lean_ctor_get(x_26, 0); +lean_inc(x_35); +lean_dec(x_26); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +return x_36; } } } @@ -5442,7 +5447,8 @@ return x_35; } else { -uint8_t x_36; +uint8_t x_37; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -5451,26 +5457,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_14); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_15); +if (x_37 == 0) { -return x_14; +return x_15; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_14, 0); -x_38 = lean_ctor_get(x_14, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_15, 0); +x_39 = lean_ctor_get(x_15, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_14); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_dec(x_15); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } @@ -5546,201 +5551,203 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPre return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; -x_16 = lean_array_push(x_1, x_8); -x_17 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(x_2, x_3, x_4, x_5, x_6, x_16, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_push(x_1, x_9); +x_18 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -if (lean_obj_tag(x_7) == 6) +if (lean_obj_tag(x_8) == 6) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_7, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_8, 0); lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_8, 1); lean_inc(x_17); -x_18 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_19 = lean_expr_instantiate_rev(x_16, x_6); -lean_dec(x_16); +x_18 = lean_ctor_get(x_8, 2); +lean_inc(x_18); +x_19 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_20 = lean_expr_instantiate_rev(x_17, x_7); +lean_dec(x_17); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_20 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_20) == 0) +x_21 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_box(x_3); -x_24 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1___boxed), 15, 7); -lean_closure_set(x_24, 0, x_6); -lean_closure_set(x_24, 1, x_1); -lean_closure_set(x_24, 2, x_2); -lean_closure_set(x_24, 3, x_23); -lean_closure_set(x_24, 4, x_4); -lean_closure_set(x_24, 5, x_5); -lean_closure_set(x_24, 6, x_17); -x_25 = 0; -x_26 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg(x_15, x_18, x_21, x_24, x_25, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -return x_26; +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(x_3); +x_25 = lean_box(x_4); +x_26 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1___boxed), 16, 8); +lean_closure_set(x_26, 0, x_7); +lean_closure_set(x_26, 1, x_1); +lean_closure_set(x_26, 2, x_2); +lean_closure_set(x_26, 3, x_24); +lean_closure_set(x_26, 4, x_25); +lean_closure_set(x_26, 5, x_5); +lean_closure_set(x_26, 6, x_6); +lean_closure_set(x_26, 7, x_18); +x_27 = 0; +x_28 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg(x_16, x_19, x_22, x_26, x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +return x_28; } else { -uint8_t x_27; -lean_dec(x_17); -lean_dec(x_15); +uint8_t x_29; +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_20); -if (x_27 == 0) +x_29 = !lean_is_exclusive(x_21); +if (x_29 == 0) { -return x_20; +return x_21; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_20, 0); -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_20); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_21, 0); +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_21); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } else { -lean_object* x_31; lean_object* x_32; -x_31 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_33; lean_object* x_34; +x_33 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_32 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_32) == 0) +x_34 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = 0; -x_36 = 1; -x_37 = l_Lean_Meta_mkLambdaFVars(x_6, x_33, x_35, x_3, x_36, x_10, x_11, x_12, x_13, x_34); -if (lean_obj_tag(x_37) == 0) +lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = 0; +x_38 = 1; +x_39 = l_Lean_Meta_mkLambdaFVars(x_7, x_35, x_37, x_3, x_38, x_11, x_12, x_13, x_14, x_36); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_39); -return x_40; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_40, x_9, x_10, x_11, x_12, x_13, x_14, x_41); +return x_42; } else { -uint8_t x_41; +uint8_t x_43; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_41 = !lean_is_exclusive(x_37); -if (x_41 == 0) +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) { -return x_37; +return x_39; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_37, 0); -x_43 = lean_ctor_get(x_37, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_37); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_39, 0); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_39); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } else { -uint8_t x_45; +uint8_t x_47; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_45 = !lean_is_exclusive(x_32); -if (x_45 == 0) +x_47 = !lean_is_exclusive(x_34); +if (x_47 == 0) { -return x_32; +return x_34; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_32, 0); -x_47 = lean_ctor_get(x_32, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_32); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_34, 0); +x_49 = lean_ctor_get(x_34, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_34); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } } @@ -5809,201 +5816,203 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPre return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; -x_16 = lean_array_push(x_1, x_8); -x_17 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(x_2, x_3, x_4, x_5, x_6, x_16, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_push(x_1, x_9); +x_18 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -if (lean_obj_tag(x_7) == 7) +if (lean_obj_tag(x_8) == 7) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_7, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_8, 0); lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_8, 1); lean_inc(x_17); -x_18 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_19 = lean_expr_instantiate_rev(x_16, x_6); -lean_dec(x_16); +x_18 = lean_ctor_get(x_8, 2); +lean_inc(x_18); +x_19 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_20 = lean_expr_instantiate_rev(x_17, x_7); +lean_dec(x_17); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_20 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_20) == 0) +x_21 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_box(x_3); -x_24 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1___boxed), 15, 7); -lean_closure_set(x_24, 0, x_6); -lean_closure_set(x_24, 1, x_1); -lean_closure_set(x_24, 2, x_2); -lean_closure_set(x_24, 3, x_23); -lean_closure_set(x_24, 4, x_4); -lean_closure_set(x_24, 5, x_5); -lean_closure_set(x_24, 6, x_17); -x_25 = 0; -x_26 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___rarg(x_15, x_18, x_21, x_24, x_25, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -return x_26; +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(x_3); +x_25 = lean_box(x_4); +x_26 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1___boxed), 16, 8); +lean_closure_set(x_26, 0, x_7); +lean_closure_set(x_26, 1, x_1); +lean_closure_set(x_26, 2, x_2); +lean_closure_set(x_26, 3, x_24); +lean_closure_set(x_26, 4, x_25); +lean_closure_set(x_26, 5, x_5); +lean_closure_set(x_26, 6, x_6); +lean_closure_set(x_26, 7, x_18); +x_27 = 0; +x_28 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___rarg(x_16, x_19, x_22, x_26, x_27, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +return x_28; } else { -uint8_t x_27; -lean_dec(x_17); -lean_dec(x_15); +uint8_t x_29; +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_20); -if (x_27 == 0) +x_29 = !lean_is_exclusive(x_21); +if (x_29 == 0) { -return x_20; +return x_21; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_20, 0); -x_29 = lean_ctor_get(x_20, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_20); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_21, 0); +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_21); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } else { -lean_object* x_31; lean_object* x_32; -x_31 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_33; lean_object* x_34; +x_33 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_32 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_32) == 0) +x_34 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = 0; -x_36 = 1; -x_37 = l_Lean_Meta_mkForallFVars(x_6, x_33, x_35, x_3, x_36, x_10, x_11, x_12, x_13, x_34); -if (lean_obj_tag(x_37) == 0) +lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = 0; +x_38 = 1; +x_39 = l_Lean_Meta_mkForallFVars(x_7, x_35, x_37, x_3, x_38, x_11, x_12, x_13, x_14, x_36); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_39); -return x_40; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_40, x_9, x_10, x_11, x_12, x_13, x_14, x_41); +return x_42; } else { -uint8_t x_41; +uint8_t x_43; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_41 = !lean_is_exclusive(x_37); -if (x_41 == 0) +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) { -return x_37; +return x_39; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_37, 0); -x_43 = lean_ctor_get(x_37, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_37); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_39, 0); +x_45 = lean_ctor_get(x_39, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_39); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } else { -uint8_t x_45; +uint8_t x_47; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_45 = !lean_is_exclusive(x_32); -if (x_45 == 0) +x_47 = !lean_is_exclusive(x_34); +if (x_47 == 0) { -return x_32; +return x_34; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_32, 0); -x_47 = lean_ctor_get(x_32, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_32); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_34, 0); +x_49 = lean_ctor_get(x_34, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_34); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } } @@ -6072,499 +6081,874 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Meta_IndPredB return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; -x_16 = lean_array_push(x_1, x_8); -x_17 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(x_2, x_3, x_4, x_5, x_6, x_16, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +lean_object* x_17; lean_object* x_18; +x_17 = lean_array_push(x_1, x_9); +x_18 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -if (lean_obj_tag(x_7) == 8) +if (lean_obj_tag(x_8) == 8) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_7, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_8, 0); lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_8, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_8, 2); lean_inc(x_18); -lean_dec(x_7); -x_19 = lean_expr_instantiate_rev(x_16, x_6); -lean_dec(x_16); +x_19 = lean_ctor_get(x_8, 3); +lean_inc(x_19); +lean_dec(x_8); +x_20 = lean_expr_instantiate_rev(x_17, x_7); +lean_dec(x_17); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_20 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_20) == 0) +x_21 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_24 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_22); -if (lean_obj_tag(x_24) == 0) +x_25 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_box(x_3); -x_28 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1___boxed), 15, 7); -lean_closure_set(x_28, 0, x_6); -lean_closure_set(x_28, 1, x_1); -lean_closure_set(x_28, 2, x_2); -lean_closure_set(x_28, 3, x_27); -lean_closure_set(x_28, 4, x_4); -lean_closure_set(x_28, 5, x_5); -lean_closure_set(x_28, 6, x_18); -x_29 = 0; -x_30 = l_Lean_Meta_withLetDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__9___rarg(x_15, x_21, x_25, x_28, x_29, x_8, x_9, x_10, x_11, x_12, x_13, x_26); -return x_30; +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_box(x_3); +x_29 = lean_box(x_4); +x_30 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1___boxed), 16, 8); +lean_closure_set(x_30, 0, x_7); +lean_closure_set(x_30, 1, x_1); +lean_closure_set(x_30, 2, x_2); +lean_closure_set(x_30, 3, x_28); +lean_closure_set(x_30, 4, x_29); +lean_closure_set(x_30, 5, x_5); +lean_closure_set(x_30, 6, x_6); +lean_closure_set(x_30, 7, x_19); +x_31 = 0; +x_32 = l_Lean_Meta_withLetDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__9___rarg(x_16, x_22, x_26, x_30, x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_27); +return x_32; } else { -uint8_t x_31; -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_15); +uint8_t x_33; +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_31 = !lean_is_exclusive(x_24); -if (x_31 == 0) +x_33 = !lean_is_exclusive(x_25); +if (x_33 == 0) { -return x_24; +return x_25; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_24, 0); -x_33 = lean_ctor_get(x_24, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_24); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_25, 0); +x_35 = lean_ctor_get(x_25, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_25); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } else { -uint8_t x_35; +uint8_t x_37; +lean_dec(x_19); lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_15); +lean_dec(x_16); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_20); -if (x_35 == 0) +x_37 = !lean_is_exclusive(x_21); +if (x_37 == 0) { -return x_20; +return x_21; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_20, 0); -x_37 = lean_ctor_get(x_20, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_20); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_21, 0); +x_39 = lean_ctor_get(x_21, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_21); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } else { -lean_object* x_39; lean_object* x_40; -x_39 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_41; lean_object* x_42; +x_41 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_40 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_40) == 0) +x_42 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = 0; -x_44 = 1; -x_45 = l_Lean_Meta_mkLambdaFVars(x_6, x_41, x_43, x_3, x_44, x_10, x_11, x_12, x_13, x_42); -if (lean_obj_tag(x_45) == 0) +lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; lean_object* x_47; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = 0; +x_46 = 1; +x_47 = l_Lean_Meta_mkLambdaFVars(x_7, x_43, x_45, x_3, x_46, x_11, x_12, x_13, x_14, x_44); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_46, x_8, x_9, x_10, x_11, x_12, x_13, x_47); -return x_48; +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_48, x_9, x_10, x_11, x_12, x_13, x_14, x_49); +return x_50; } else { -uint8_t x_49; +uint8_t x_51; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_49 = !lean_is_exclusive(x_45); -if (x_49 == 0) +x_51 = !lean_is_exclusive(x_47); +if (x_51 == 0) { -return x_45; +return x_47; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_45, 0); -x_51 = lean_ctor_get(x_45, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_45); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_47, 0); +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_47); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } else { -uint8_t x_53; +uint8_t x_55; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_53 = !lean_is_exclusive(x_40); -if (x_53 == 0) +x_55 = !lean_is_exclusive(x_42); +if (x_55 == 0) { -return x_40; +return x_42; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_40, 0); -x_55 = lean_ctor_get(x_40, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_40); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_42, 0); +x_57 = lean_ctor_get(x_42, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_42); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_7, x_6); -if (x_16 == 0) +uint8_t x_17; +x_17 = lean_usize_dec_lt(x_8, x_7); +if (x_17 == 0) { -lean_object* x_17; +lean_object* x_18; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_8); -lean_ctor_set(x_17, 1, x_15); -return x_17; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_16); +return x_18; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_array_uget(x_8, x_7); -x_19 = lean_unsigned_to_nat(0u); -x_20 = lean_array_uset(x_8, x_7, x_19); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_array_uget(x_9, x_8); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_9, x_8, x_20); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = 1; +x_26 = lean_usize_add(x_8, x_25); +x_27 = lean_array_uset(x_21, x_8, x_23); +x_8 = x_26; +x_9 = x_27; +x_16 = x_24; +goto _start; +} +else +{ +uint8_t x_29; lean_dec(x_21); -x_24 = 1; -x_25 = lean_usize_add(x_7, x_24); -x_26 = lean_array_uset(x_20, x_7, x_22); -x_7 = x_25; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_22); +if (x_29 == 0) +{ +return x_22; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_22, 0); +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_22); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; +x_17 = lean_usize_dec_lt(x_8, x_7); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_array_uget(x_9, x_8); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_9, x_8, x_20); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_22 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = 1; +x_26 = lean_usize_add(x_8, x_25); +x_27 = lean_array_uset(x_21, x_8, x_23); x_8 = x_26; -x_15 = x_23; +x_9 = x_27; +x_16 = x_24; +goto _start; +} +else +{ +uint8_t x_29; +lean_dec(x_21); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_22); +if (x_29 == 0) +{ +return x_22; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_22, 0); +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_22); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; +x_17 = lean_usize_dec_lt(x_8, x_7); +if (x_17 == 0) +{ +lean_object* x_18; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_array_uget(x_9, x_8); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_array_uset(x_9, x_8, x_20); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_22 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = 1; +x_26 = lean_usize_add(x_8, x_25); +x_27 = lean_array_uset(x_21, x_8, x_23); +x_8 = x_26; +x_9 = x_27; +x_16 = x_24; +goto _start; +} +else +{ +uint8_t x_29; +lean_dec(x_21); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_22); +if (x_29 == 0) +{ +return x_22; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_22, 0); +x_31 = lean_ctor_get(x_22, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_22); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +if (lean_obj_tag(x_7) == 5) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_7, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_7, 1); +lean_inc(x_18); +lean_dec(x_7); +x_19 = lean_array_set(x_8, x_9, x_18); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_sub(x_9, x_20); +lean_dec(x_9); +x_7 = x_17; +x_8 = x_19; +x_9 = x_21; goto _start; } else { -uint8_t x_28; -lean_dec(x_20); +lean_dec(x_9); +if (x_4 == 0) +{ +lean_object* x_23; +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_23 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_array_get_size(x_8); +x_27 = lean_usize_of_nat(x_26); +lean_dec(x_26); +x_28 = 0; +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_29 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_27, x_28, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_25); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_mkAppN(x_24, x_30); +x_33 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_32, x_10, x_11, x_12, x_13, x_14, x_15, x_31); +return x_33; +} +else +{ +uint8_t x_34; +lean_dec(x_24); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_29); +if (x_34 == 0) +{ +return x_29; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_29, 0); +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_29); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +else +{ +uint8_t x_38; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) { -return x_21; +return x_23; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 0); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -} +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_23); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -if (lean_obj_tag(x_6) == 5) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_6, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_6, 1); -lean_inc(x_17); -lean_dec(x_6); -x_18 = lean_array_set(x_7, x_8, x_17); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_sub(x_8, x_19); -lean_dec(x_8); -x_6 = x_16; -x_7 = x_18; -x_8 = x_20; -goto _start; } else { -lean_object* x_22; -lean_dec(x_8); +uint8_t x_42; +x_42 = l_Lean_Expr_isConst(x_7); +if (x_42 == 0) +{ +lean_object* x_43; +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_22 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_22) == 0) +x_43 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_array_get_size(x_7); -x_26 = lean_usize_of_nat(x_25); -lean_dec(x_25); -x_27 = 0; +lean_object* x_44; lean_object* x_45; lean_object* x_46; size_t x_47; size_t x_48; lean_object* x_49; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_array_get_size(x_8); +x_47 = lean_usize_of_nat(x_46); +lean_dec(x_46); +x_48 = 0; +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_28 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10(x_1, x_2, x_3, x_4, x_5, x_26, x_27, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_24); -if (lean_obj_tag(x_28) == 0) +x_49 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_47, x_48, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_45); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_mkAppN(x_23, x_29); -x_32 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_30); -return x_32; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = l_Lean_mkAppN(x_44, x_50); +x_53 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_52, x_10, x_11, x_12, x_13, x_14, x_15, x_51); +return x_53; } else { -uint8_t x_33; -lean_dec(x_23); +uint8_t x_54; +lean_dec(x_44); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_33 = !lean_is_exclusive(x_28); -if (x_33 == 0) +x_54 = !lean_is_exclusive(x_49); +if (x_54 == 0) { -return x_28; +return x_49; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_28, 0); -x_35 = lean_ctor_get(x_28, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_28); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_49, 0); +x_56 = lean_ctor_get(x_49, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_49); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } else { -uint8_t x_37; +uint8_t x_58; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_43); +if (x_58 == 0) +{ +return x_43; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_43, 0); +x_60 = lean_ctor_get(x_43, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_43); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +lean_object* x_62; size_t x_63; size_t x_64; lean_object* x_65; +x_62 = lean_array_get_size(x_8); +x_63 = lean_usize_of_nat(x_62); +lean_dec(x_62); +x_64 = 0; +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_65 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_63, x_64, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_65) == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_68 = l_Lean_mkAppN(x_7, x_66); +x_69 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_68, x_10, x_11, x_12, x_13, x_14, x_15, x_67); +return x_69; +} +else +{ +uint8_t x_70; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_22); -if (x_37 == 0) +x_70 = !lean_is_exclusive(x_65); +if (x_70 == 0) { -return x_22; +return x_65; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_22, 0); -x_39 = lean_ctor_get(x_22, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_22); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_65, 0); +x_72 = lean_ctor_get(x_65, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_65); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; } } } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +} +} +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -6617,15 +7001,15 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12___rarg), 9, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg), 9, 0); return x_3; } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__1() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -6635,21 +7019,21 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__2() { +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__1; +x_1 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__2; +x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__2; x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_1); lean_ctor_set(x_8, 1, x_7); @@ -6659,15 +7043,15 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___boxed), 6, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___boxed), 6, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; @@ -6861,7 +7245,7 @@ lean_dec(x_11); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_59 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg(x_16, x_6, x_7, x_8, x_9, x_10); +x_59 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg(x_16, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6887,281 +7271,281 @@ return x_63; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; -switch (lean_obj_tag(x_7)) { +lean_object* x_16; +switch (lean_obj_tag(x_8)) { case 0: { -lean_object* x_62; lean_object* x_63; +lean_object* x_63; lean_object* x_64; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_62 = lean_ctor_get(x_7, 0); -lean_inc(x_62); -lean_dec(x_7); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_14); -return x_63; +x_63 = lean_ctor_get(x_8, 0); +lean_inc(x_63); +lean_dec(x_8); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_15); +return x_64; } case 1: { -lean_object* x_64; lean_object* x_65; -lean_dec(x_6); -x_64 = lean_ctor_get(x_7, 0); -lean_inc(x_64); +lean_object* x_65; lean_object* x_66; lean_dec(x_7); -x_65 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_64, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_65; +x_65 = lean_ctor_get(x_8, 0); +lean_inc(x_65); +lean_dec(x_8); +x_66 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_65, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_66; } default: { -lean_object* x_66; -x_66 = lean_ctor_get(x_7, 0); -lean_inc(x_66); -lean_dec(x_7); -if (lean_obj_tag(x_66) == 0) +lean_object* x_67; +x_67 = lean_ctor_get(x_8, 0); +lean_inc(x_67); +lean_dec(x_8); +if (lean_obj_tag(x_67) == 0) { -x_15 = x_6; -goto block_61; +x_16 = x_7; +goto block_62; } else { -lean_object* x_67; -lean_dec(x_6); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -lean_dec(x_66); -x_15 = x_67; -goto block_61; +lean_object* x_68; +lean_dec(x_7); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +lean_dec(x_67); +x_16 = x_68; +goto block_62; } } } -block_61: +block_62: { -switch (lean_obj_tag(x_15)) { +switch (lean_obj_tag(x_16)) { case 5: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_16 = lean_unsigned_to_nat(0u); -x_17 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_16); -x_18 = l_Lean_Meta_IndPredBelow_mkContext_motiveType___lambda__1___closed__1; -lean_inc(x_17); -x_19 = lean_mk_array(x_17, x_18); -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_sub(x_17, x_20); -lean_dec(x_17); -x_22 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11(x_1, x_2, x_3, x_4, x_5, x_15, x_19, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_22; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_17 = lean_unsigned_to_nat(0u); +x_18 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_16, x_17); +x_19 = l_Lean_Meta_IndPredBelow_mkContext_motiveType___lambda__1___closed__1; +lean_inc(x_18); +x_20 = lean_mk_array(x_18, x_19); +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_sub(x_18, x_21); +lean_dec(x_18); +x_23 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_16, x_20, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_23; } case 6: { -lean_object* x_23; lean_object* x_24; -x_23 = l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__1; -x_24 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(x_1, x_2, x_3, x_4, x_5, x_23, x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_24; +lean_object* x_24; lean_object* x_25; +x_24 = l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__1; +x_25 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_24, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_25; } case 7: { -lean_object* x_25; lean_object* x_26; -x_25 = l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__1; -x_26 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(x_1, x_2, x_3, x_4, x_5, x_25, x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_26; +lean_object* x_26; lean_object* x_27; +x_26 = l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__1; +x_27 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_26, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_27; } case 8: { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__1; -x_28 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(x_1, x_2, x_3, x_4, x_5, x_27, x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_28; +lean_object* x_28; lean_object* x_29; +x_28 = l_Lean_Meta_IndPredBelow_instInhabitedVariables___closed__1; +x_29 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_28, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_29; } case 10: { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_15, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_15, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); lean_inc(x_30); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_30); +lean_inc(x_31); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_31 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_31) == 0) +x_32 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; uint8_t x_36; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_ptr_addr(x_31); lean_dec(x_31); -x_34 = lean_ptr_addr(x_30); -lean_dec(x_30); -x_35 = lean_ptr_addr(x_32); -x_36 = lean_usize_dec_eq(x_34, x_35); -if (x_36 == 0) +x_36 = lean_ptr_addr(x_33); +x_37 = lean_usize_dec_eq(x_35, x_36); +if (x_37 == 0) { -lean_object* x_37; lean_object* x_38; -lean_dec(x_15); -x_37 = l_Lean_Expr_mdata___override(x_29, x_32); -x_38 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_37, x_8, x_9, x_10, x_11, x_12, x_13, x_33); -return x_38; +lean_object* x_38; lean_object* x_39; +lean_dec(x_16); +x_38 = l_Lean_Expr_mdata___override(x_30, x_33); +x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_38, x_9, x_10, x_11, x_12, x_13, x_14, x_34); +return x_39; } else { -lean_object* x_39; -lean_dec(x_32); -lean_dec(x_29); -x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_33); -return x_39; +lean_object* x_40; +lean_dec(x_33); +lean_dec(x_30); +x_40 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_34); +return x_40; } } else { -uint8_t x_40; +uint8_t x_41; +lean_dec(x_31); lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_15); +lean_dec(x_16); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_31); -if (x_40 == 0) +x_41 = !lean_is_exclusive(x_32); +if (x_41 == 0) { -return x_31; +return x_32; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_31, 0); -x_42 = lean_ctor_get(x_31, 1); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_32, 0); +x_43 = lean_ctor_get(x_32, 1); +lean_inc(x_43); lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_31); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_dec(x_32); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } case 11: { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_44 = lean_ctor_get(x_15, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_15, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_ctor_get(x_16, 0); lean_inc(x_45); -x_46 = lean_ctor_get(x_15, 2); +x_46 = lean_ctor_get(x_16, 1); lean_inc(x_46); +x_47 = lean_ctor_get(x_16, 2); +lean_inc(x_47); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_46); +lean_inc(x_47); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_47 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_46, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_47) == 0) +x_48 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_47, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; uint8_t x_52; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); +lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; uint8_t x_53; +x_49 = lean_ctor_get(x_48, 0); lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_ptr_addr(x_47); lean_dec(x_47); -x_50 = lean_ptr_addr(x_46); -lean_dec(x_46); -x_51 = lean_ptr_addr(x_48); -x_52 = lean_usize_dec_eq(x_50, x_51); -if (x_52 == 0) +x_52 = lean_ptr_addr(x_49); +x_53 = lean_usize_dec_eq(x_51, x_52); +if (x_53 == 0) { -lean_object* x_53; lean_object* x_54; -lean_dec(x_15); -x_53 = l_Lean_Expr_proj___override(x_44, x_45, x_48); -x_54 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_53, x_8, x_9, x_10, x_11, x_12, x_13, x_49); -return x_54; +lean_object* x_54; lean_object* x_55; +lean_dec(x_16); +x_54 = l_Lean_Expr_proj___override(x_45, x_46, x_49); +x_55 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_54, x_9, x_10, x_11, x_12, x_13, x_14, x_50); +return x_55; } else { -lean_object* x_55; -lean_dec(x_48); +lean_object* x_56; +lean_dec(x_49); +lean_dec(x_46); lean_dec(x_45); -lean_dec(x_44); -x_55 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_49); -return x_55; +x_56 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_50); +return x_56; } } else { -uint8_t x_56; +uint8_t x_57; +lean_dec(x_47); lean_dec(x_46); lean_dec(x_45); -lean_dec(x_44); -lean_dec(x_15); +lean_dec(x_16); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_56 = !lean_is_exclusive(x_47); -if (x_56 == 0) +x_57 = !lean_is_exclusive(x_48); +if (x_57 == 0) { -return x_47; +return x_48; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_47, 0); -x_58 = lean_ctor_get(x_47, 1); +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_48, 0); +x_59 = lean_ctor_get(x_48, 1); +lean_inc(x_59); lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_47); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_dec(x_48); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } default: { -lean_object* x_60; -x_60 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_60; +lean_object* x_61; +x_61 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_61; } } } @@ -7179,131 +7563,134 @@ lean_ctor_set(x_6, 1, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; -lean_inc(x_7); -x_14 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_14, 0, lean_box(0)); -lean_closure_set(x_14, 1, lean_box(0)); -lean_closure_set(x_14, 2, x_7); -lean_inc(x_5); +lean_object* x_15; lean_object* x_16; +lean_inc(x_8); +x_15 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(x_15, 0, lean_box(0)); +lean_closure_set(x_15, 1, lean_box(0)); +lean_closure_set(x_15, 2, x_8); +lean_inc(x_6); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_15 = lean_apply_8(x_5, lean_box(0), x_14, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_15) == 0) +x_16 = lean_apply_8(x_6, lean_box(0), x_15, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_16) == 0) { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_6); -x_19 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_17, x_6); -if (lean_obj_tag(x_19) == 0) +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_7); +x_20 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_18, x_7); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_free_object(x_15); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_free_object(x_16); lean_inc(x_1); -lean_inc(x_6); -x_20 = lean_apply_1(x_1, x_6); -x_21 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_21, 0, x_20); -x_22 = lean_box(x_3); +lean_inc(x_7); +x_21 = lean_apply_1(x_1, x_7); +x_22 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_22, 0, x_21); +x_23 = lean_box(x_3); +x_24 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_23 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1___boxed), 14, 6); -lean_closure_set(x_23, 0, x_1); -lean_closure_set(x_23, 1, x_2); -lean_closure_set(x_23, 2, x_22); -lean_closure_set(x_23, 3, x_4); -lean_closure_set(x_23, 4, x_5); -lean_closure_set(x_23, 5, x_6); -x_24 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12___rarg), 9, 2); -lean_closure_set(x_24, 0, x_21); -lean_closure_set(x_24, 1, x_23); +x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1___boxed), 15, 7); +lean_closure_set(x_25, 0, x_1); +lean_closure_set(x_25, 1, x_2); +lean_closure_set(x_25, 2, x_23); +lean_closure_set(x_25, 3, x_24); +lean_closure_set(x_25, 4, x_5); +lean_closure_set(x_25, 5, x_6); +lean_closure_set(x_25, 6, x_7); +x_26 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg), 9, 2); +lean_closure_set(x_26, 0, x_22); +lean_closure_set(x_26, 1, x_25); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_25 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13(x_4, lean_box(0), x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_18); -lean_dec(x_4); -if (lean_obj_tag(x_25) == 0) +x_27 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__15(x_5, lean_box(0), x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_19); +lean_dec(x_5); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -lean_inc(x_26); -x_28 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__2), 3, 2); -lean_closure_set(x_28, 0, x_6); -lean_closure_set(x_28, 1, x_26); -x_29 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_29, 0, x_7); -lean_closure_set(x_29, 1, x_28); -x_30 = lean_apply_8(x_5, lean_box(0), x_29, x_8, x_9, x_10, x_11, x_12, x_27); -if (lean_obj_tag(x_30) == 0) +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +lean_inc(x_28); +x_30 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__2), 3, 2); +lean_closure_set(x_30, 0, x_7); +lean_closure_set(x_30, 1, x_28); +x_31 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_31, 0, x_8); +lean_closure_set(x_31, 1, x_30); +x_32 = lean_apply_8(x_6, lean_box(0), x_31, x_9, x_10, x_11, x_12, x_13, x_29); +if (lean_obj_tag(x_32) == 0) { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +uint8_t x_33; +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -lean_ctor_set(x_30, 0, x_26); -return x_30; +lean_object* x_34; +x_34 = lean_ctor_get(x_32, 0); +lean_dec(x_34); +lean_ctor_set(x_32, 0, x_28); +return x_32; } else { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_30, 1); -lean_inc(x_33); -lean_dec(x_30); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_26); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_32, 1); +lean_inc(x_35); +lean_dec(x_32); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_28); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } else { -uint8_t x_35; -lean_dec(x_26); -x_35 = !lean_is_exclusive(x_30); -if (x_35 == 0) +uint8_t x_37; +lean_dec(x_28); +x_37 = !lean_is_exclusive(x_32); +if (x_37 == 0) { -return x_30; +return x_32; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_30, 0); -x_37 = lean_ctor_get(x_30, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_30); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_32, 0); +x_39 = lean_ctor_get(x_32, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_32); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } else { -uint8_t x_39; +uint8_t x_41; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7311,30 +7698,30 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_39 = !lean_is_exclusive(x_25); -if (x_39 == 0) +x_41 = !lean_is_exclusive(x_27); +if (x_41 == 0) { -return x_25; +return x_27; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_25, 0); -x_41 = lean_ctor_get(x_25, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_25); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_27, 0); +x_43 = lean_ctor_get(x_27, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_27); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } else { -lean_object* x_43; +lean_object* x_45; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7343,123 +7730,125 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_43 = lean_ctor_get(x_19, 0); -lean_inc(x_43); -lean_dec(x_19); -lean_ctor_set(x_15, 0, x_43); -return x_15; +x_45 = lean_ctor_get(x_20, 0); +lean_inc(x_45); +lean_dec(x_20); +lean_ctor_set(x_16, 0, x_45); +return x_16; } } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_15, 0); -x_45 = lean_ctor_get(x_15, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_15); -lean_inc(x_6); -x_46 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_44, x_6); -if (lean_obj_tag(x_46) == 0) +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_16, 0); +x_47 = lean_ctor_get(x_16, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_16); +lean_inc(x_7); +x_48 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_46, x_7); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_inc(x_1); -lean_inc(x_6); -x_47 = lean_apply_1(x_1, x_6); -x_48 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_48, 0, x_47); -x_49 = lean_box(x_3); +lean_inc(x_7); +x_49 = lean_apply_1(x_1, x_7); +x_50 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_50, 0, x_49); +x_51 = lean_box(x_3); +x_52 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_50 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1___boxed), 14, 6); -lean_closure_set(x_50, 0, x_1); -lean_closure_set(x_50, 1, x_2); -lean_closure_set(x_50, 2, x_49); -lean_closure_set(x_50, 3, x_4); -lean_closure_set(x_50, 4, x_5); -lean_closure_set(x_50, 5, x_6); -x_51 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12___rarg), 9, 2); -lean_closure_set(x_51, 0, x_48); -lean_closure_set(x_51, 1, x_50); +x_53 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1___boxed), 15, 7); +lean_closure_set(x_53, 0, x_1); +lean_closure_set(x_53, 1, x_2); +lean_closure_set(x_53, 2, x_51); +lean_closure_set(x_53, 3, x_52); +lean_closure_set(x_53, 4, x_5); +lean_closure_set(x_53, 5, x_6); +lean_closure_set(x_53, 6, x_7); +x_54 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg), 9, 2); +lean_closure_set(x_54, 0, x_50); +lean_closure_set(x_54, 1, x_53); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_52 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13(x_4, lean_box(0), x_51, x_7, x_8, x_9, x_10, x_11, x_12, x_45); -lean_dec(x_4); -if (lean_obj_tag(x_52) == 0) +x_55 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__15(x_5, lean_box(0), x_54, x_8, x_9, x_10, x_11, x_12, x_13, x_47); +lean_dec(x_5); +if (lean_obj_tag(x_55) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -lean_inc(x_53); -x_55 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__2), 3, 2); -lean_closure_set(x_55, 0, x_6); -lean_closure_set(x_55, 1, x_53); -x_56 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_56, 0, x_7); -lean_closure_set(x_56, 1, x_55); -x_57 = lean_apply_8(x_5, lean_box(0), x_56, x_8, x_9, x_10, x_11, x_12, x_54); -if (lean_obj_tag(x_57) == 0) +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +lean_inc(x_56); +x_58 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__2), 3, 2); +lean_closure_set(x_58, 0, x_7); +lean_closure_set(x_58, 1, x_56); +x_59 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_59, 0, x_8); +lean_closure_set(x_59, 1, x_58); +x_60 = lean_apply_8(x_6, lean_box(0), x_59, x_9, x_10, x_11, x_12, x_13, x_57); +if (lean_obj_tag(x_60) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_59 = x_57; +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_62 = x_60; } else { - lean_dec_ref(x_57); - x_59 = lean_box(0); + lean_dec_ref(x_60); + x_62 = lean_box(0); } -if (lean_is_scalar(x_59)) { - x_60 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(0, 2, 0); } else { - x_60 = x_59; + x_63 = x_62; } -lean_ctor_set(x_60, 0, x_53); -lean_ctor_set(x_60, 1, x_58); -return x_60; +lean_ctor_set(x_63, 0, x_56); +lean_ctor_set(x_63, 1, x_61); +return x_63; } else { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -lean_dec(x_53); -x_61 = lean_ctor_get(x_57, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_57, 1); -lean_inc(x_62); -if (lean_is_exclusive(x_57)) { - lean_ctor_release(x_57, 0); - lean_ctor_release(x_57, 1); - x_63 = x_57; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_56); +x_64 = lean_ctor_get(x_60, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_60, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_60)) { + lean_ctor_release(x_60, 0); + lean_ctor_release(x_60, 1); + x_66 = x_60; } else { - lean_dec_ref(x_57); - x_63 = lean_box(0); + lean_dec_ref(x_60); + x_66 = lean_box(0); } -if (lean_is_scalar(x_63)) { - x_64 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); } else { - x_64 = x_63; + x_67 = x_66; } -lean_ctor_set(x_64, 0, x_61); -lean_ctor_set(x_64, 1, x_62); -return x_64; +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_65); +return x_67; } } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7467,32 +7856,32 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_65 = lean_ctor_get(x_52, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_52, 1); -lean_inc(x_66); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_67 = x_52; +x_68 = lean_ctor_get(x_55, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_55, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_70 = x_55; } else { - lean_dec_ref(x_52); - x_67 = lean_box(0); + lean_dec_ref(x_55); + x_70 = lean_box(0); } -if (lean_is_scalar(x_67)) { - x_68 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_70)) { + x_71 = lean_alloc_ctor(1, 2, 0); } else { - x_68 = x_67; + x_71 = x_70; } -lean_ctor_set(x_68, 0, x_65); -lean_ctor_set(x_68, 1, x_66); -return x_68; +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_69); +return x_71; } } else { -lean_object* x_69; lean_object* x_70; +lean_object* x_72; lean_object* x_73; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7501,22 +7890,22 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_69 = lean_ctor_get(x_46, 0); -lean_inc(x_69); -lean_dec(x_46); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_45); -return x_70; +x_72 = lean_ctor_get(x_48, 0); +lean_inc(x_72); +lean_dec(x_48); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_47); +return x_73; } } } else { -uint8_t x_71; +uint8_t x_74; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7525,26 +7914,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_71 = !lean_is_exclusive(x_15); -if (x_71 == 0) +x_74 = !lean_is_exclusive(x_16); +if (x_74 == 0) { -return x_15; +return x_16; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_ctor_get(x_15, 0); -x_73 = lean_ctor_get(x_15, 1); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_15); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -return x_74; +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_16, 0); +x_76 = lean_ctor_get(x_16, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_16); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } @@ -7591,73 +7979,73 @@ x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_11 = lean_box(0); -x_12 = l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__1; -x_13 = l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__2; -x_14 = lean_st_mk_ref(x_13, x_10); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = lean_box(0); +x_13 = l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__1; +x_14 = l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__2; +x_15 = lean_st_mk_ref(x_14, x_11); +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -lean_inc(x_15); -x_17 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_2, x_3, x_4, x_11, x_12, x_1, x_15, x_5, x_6, x_7, x_8, x_9, x_16); -if (lean_obj_tag(x_17) == 0) +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +lean_inc(x_16); +x_18 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_2, x_3, x_4, x_5, x_12, x_13, x_1, x_16, x_6, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_st_ref_get(x_15, x_19); -lean_dec(x_15); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_st_ref_get(x_16, x_20); +lean_dec(x_16); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_dec(x_22); -lean_ctor_set(x_20, 0, x_18); -return x_20; +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_19); +return x_21; } else { -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_20, 1); -lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_18); -lean_ctor_set(x_24, 1, x_23); -return x_24; +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } else { -uint8_t x_25; -lean_dec(x_15); -x_25 = !lean_is_exclusive(x_17); -if (x_25 == 0) +uint8_t x_26; +lean_dec(x_16); +x_26 = !lean_is_exclusive(x_18); +if (x_26 == 0) { -return x_17; +return x_18; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_17, 0); -x_27 = lean_ctor_get(x_17, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_18, 0); +x_28 = lean_ctor_get(x_18, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_17); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_18); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } @@ -7818,7 +8206,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_11); lean_inc(x_2); -x_15 = l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1(x_2, x_8, x_13, x_14, x_11, x_3, x_4, x_5, x_6, x_12); +x_15 = l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1(x_2, x_8, x_13, x_14, x_14, x_11, x_3, x_4, x_5, x_6, x_12); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; @@ -7915,14 +8303,16 @@ return x_37; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); lean_dec(x_3); -x_15 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__3(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { @@ -7946,24 +8336,28 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_4); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_4); lean_dec(x_4); -x_17 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1(x_1, x_2, x_3, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_5); +lean_dec(x_5); +x_19 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___lambda__1(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__4(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { @@ -7987,24 +8381,28 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_4); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_4); lean_dec(x_4); -x_17 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1(x_1, x_2, x_3, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_5); +lean_dec(x_5); +x_19 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___lambda__1(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__5(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { @@ -8026,55 +8424,95 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_4); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_4); lean_dec(x_4); -x_17 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1(x_1, x_2, x_3, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_5); +lean_dec(x_5); +x_19 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___lambda__1(x_1, x_2, x_3, x_17, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__6(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; size_t x_17; size_t x_18; lean_object* x_19; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_18 = lean_unbox_usize(x_7); +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = lean_unbox_usize(x_7); lean_dec(x_7); -x_19 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10(x_1, x_2, x_16, x_4, x_5, x_17, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_19; +x_20 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_21 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__10(x_1, x_2, x_17, x_18, x_5, x_6, x_19, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_21; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_20 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_21 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__11(x_1, x_2, x_17, x_18, x_5, x_6, x_19, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_17 = lean_unbox(x_3); +lean_dec(x_3); +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_20 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_21 = l_Array_mapMUnsafe_map___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__12(x_1, x_2, x_17, x_18, x_5, x_6, x_19, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); +lean_dec(x_3); +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -8082,42 +8520,46 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14(x_1, x_2); +x_3 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___lambda__1(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); lean_dec(x_3); -x_15 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__2(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -8133,14 +8575,16 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_4); +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_4); lean_dec(x_4); -x_12 = l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; +x_13 = lean_unbox(x_5); +lean_dec(x_5); +x_14 = l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_mkCtorType_checkCount___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -16683,7 +17127,7 @@ x_11 = l_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop(x_1, x_3, x_ return x_11; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -16750,7 +17194,7 @@ lean_dec(x_10); lean_inc(x_2); x_25 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_25, 0, x_2); -x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1(x_24, x_25); +x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1(x_24, x_25); lean_dec(x_25); lean_dec(x_24); if (x_26 == 0) @@ -17269,11 +17713,11 @@ lean_dec(x_3); return x_9; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_IndPredBelow_mkBelowMatcher_transformFields_loop___spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -26433,7 +26877,7 @@ lean_dec(x_3); return x_9; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__1() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -26443,27 +26887,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__2() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__1; +x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__1; x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__3() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__2; +x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__2; x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__4() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__4() { _start: { lean_object* x_1; @@ -26471,17 +26915,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__5() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__3; -x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__4; +x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__3; +x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__6() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__6() { _start: { lean_object* x_1; @@ -26489,47 +26933,47 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__7() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__5; -x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__6; +x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__5; +x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__8() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__7; +x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__7; x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__9() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__8; +x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__8; x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__10() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__9; +x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__9; x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_7____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__11() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__11() { _start: { lean_object* x_1; @@ -26537,33 +26981,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__12() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__10; -x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__11; +x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__10; +x_2 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__13() { +static lean_object* _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__12; -x_2 = lean_unsigned_to_nat(10615u); +x_1 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__12; +x_2 = lean_unsigned_to_nat(10624u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Meta_IndPredBelow_mkBelow___closed__1; x_3 = 0; -x_4 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__13; +x_4 = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__13; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -26667,10 +27111,10 @@ l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___sp lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__2); l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3 = _init_l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3(); lean_mark_persistent(l_Lean_Expr_withAppAux___at_Lean_Meta_IndPredBelow_mkCtorType_mkBelowBinder___spec__3___closed__3); -l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__1(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__1); -l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__2(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__14___rarg___closed__2); +l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__1(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__1); +l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__2(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__16___rarg___closed__2); l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__1 = _init_l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__1(); lean_mark_persistent(l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__1); l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__2 = _init_l_Lean_Meta_transform___at_Lean_Meta_IndPredBelow_mkCtorType_checkCount___spec__1___closed__2(); @@ -26851,33 +27295,33 @@ l_Lean_Meta_IndPredBelow_mkBelow___closed__6 = _init_l_Lean_Meta_IndPredBelow_mk lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelow___closed__6); l_Lean_Meta_IndPredBelow_mkBelow___closed__7 = _init_l_Lean_Meta_IndPredBelow_mkBelow___closed__7(); lean_mark_persistent(l_Lean_Meta_IndPredBelow_mkBelow___closed__7); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__1 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__1(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__1); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__2 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__2(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__2); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__3 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__3(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__3); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__4 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__4(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__4); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__5 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__5(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__5); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__6 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__6(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__6); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__7 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__7(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__7); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__8 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__8(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__8); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__9 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__9(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__9); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__10 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__10(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__10); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__11 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__11(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__11); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__12 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__12(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__12); -l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__13 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__13(); -lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615____closed__13); -if (builtin) {res = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10615_(lean_io_mk_world()); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__1 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__1(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__1); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__2 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__2(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__2); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__3 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__3(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__3); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__4 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__4(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__4); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__5 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__5(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__5); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__6 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__6(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__6); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__7 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__7(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__7); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__8 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__8(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__8); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__9 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__9(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__9); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__10 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__10(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__10); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__11 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__11(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__11); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__12 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__12(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__12); +l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__13 = _init_l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__13(); +lean_mark_persistent(l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624____closed__13); +if (builtin) {res = l_Lean_Meta_IndPredBelow_initFn____x40_Lean_Meta_IndPredBelow___hyg_10624_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index 5c67b73d6d7d..b6ec4d3ffbe8 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -28,11 +28,11 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Match_getMkMatcherInpu lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Meta_Match_mkMatcher___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10778____closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__8; static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__4; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__2; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern___spec__1(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__15___boxed(lean_object**); @@ -43,6 +43,7 @@ static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCa static lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__5; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___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_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__10(lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4___boxed(lean_object**); lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__18; @@ -62,6 +63,7 @@ LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Le LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__5___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_refineThrough___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___closed__2; static lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__3___closed__2; LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition___spec__1___boxed(lean_object*, lean_object*); @@ -71,6 +73,7 @@ lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_objec lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes___spec__2___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,7 +82,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_pr LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMinorType___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__3; LEAN_EXPORT lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported___lambda__1___closed__1; @@ -122,7 +124,6 @@ size_t lean_hashset_mk_idx(lean_object*, uint64_t); size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__10; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__2; LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -177,22 +178,28 @@ static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNu lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___closed__3; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__6; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__13; lean_object* l_Lean_Meta_Match_MatcherInfo_arity(lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Match_mkMatcher___spec__9___at_Lean_Meta_Match_mkMatcher___spec__10___at_Lean_Meta_Match_mkMatcher___spec__11(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_HashSetImp_contains___at_Lean_Meta_Match_mkMatcher___spec__3(lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__5___closed__4; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__25(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__17; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_modifyState___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__7; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Meta_Match_State_used___default___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___lambda__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_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectArraySizes___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__5; LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNatValueTransition___boxed(lean_object*); @@ -203,7 +210,6 @@ static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCn static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___lambda__3___closed__1; uint8_t l_Lean_Expr_isNatLit(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMinorType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__9; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern___spec__1(uint8_t, lean_object*); static lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__9___closed__1; @@ -215,9 +221,11 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withClea LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__12; lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Meta_reduceMatcher_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_withMkMatcherInput___rarg___lambda__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException(lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___lambda__2___closed__1; @@ -228,6 +236,7 @@ static lean_object* l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lea static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___lambda__3___closed__2; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f___lambda__2___closed__2; static lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__1; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__3; static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__4; @@ -236,6 +245,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withClea LEAN_EXPORT lean_object* l_Lean_Meta_Match_isCurrVarInductive___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__11; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__4___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_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMinorType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition___spec__1(uint8_t, lean_object*); @@ -255,12 +265,14 @@ static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCa extern lean_object* l_Lean_Expr_instBEqExpr; lean_object* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Example_applyFVarSubst(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Match_getMkMatcherInputInContext___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at_Lean_Meta_Match_mkMatcher___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -270,6 +282,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__12(lean_object*, LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__7(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwNonSupported(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_GeneralizeTelescope_generalizeTelescopeAux___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_traceStep___closed__1; LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectValues___spec__1(lean_object*, lean_object*); @@ -282,7 +295,6 @@ lean_object* l_Lean_Meta_Match_Pattern_toExpr_visit(uint8_t, lean_object*, lean_ LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern(lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__8___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedNat; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__6(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample___spec__1___boxed(lean_object*, lean_object*); @@ -309,7 +321,6 @@ LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_Matc size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10778____closed__4; LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNonTrivialExample(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__12; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__14___closed__1; @@ -325,8 +336,10 @@ static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___closed__1; lean_object* l_Lean_Meta_Match_withGoalOf___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); lean_object* l_Lean_Meta_getArrayArgType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -340,13 +353,14 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1 LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Meta_Match_mkMatcher___spec__5(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__7; uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___spec__7___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___spec__8(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_toPattern___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_zip___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__6___boxed(lean_object**); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__9; LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process___closed__4; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf_go___closed__1; @@ -385,6 +399,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2(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_object* l_Lean_MVarId_admit(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__5; lean_object* l_Lean_PersistentHashMap_instInhabitedPersistentHashMap___rarg(lean_object*, lean_object*); @@ -399,6 +414,7 @@ uint8_t l_Lean_Meta_Match_Alt_isLocalDecl(lean_object*, lean_object*); lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNextPatternTypes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectArraySizes(lean_object*); +lean_object* l_Lean_Expr_abstractM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10820____lambda__1___boxed(lean_object*, lean_object*); @@ -417,7 +433,6 @@ lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0_ lean_object* l_instHashableBool___boxed(lean_object*); lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Match_instInhabitedDiscrInfo; lean_object* l_Lean_Meta_caseValues(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -433,6 +448,7 @@ LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__8___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___closed__3; lean_object* l_Lean_Meta_caseArraySizes(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -456,6 +472,7 @@ LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__2___closed__1; lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withMVarContextImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_constructorApp_x3f(lean_object*, lean_object*, uint8_t); @@ -539,12 +556,14 @@ lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at_Lean_Meta_Match_withCleanLCtxFor___spec__9___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2___closed__3; +static lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__13___boxed(lean_object**); static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_reorientCnstrs___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasValPattern___spec__1(uint8_t, lean_object*); static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10778____closed__3; +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___lambda__3___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_Array_foldlMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -562,6 +581,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAl lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__5___closed__3; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasNatValPattern___boxed(lean_object*); @@ -615,6 +635,7 @@ lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Meta_mkSimpCongrTheorem___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___spec__1(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_assign___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__2___closed__18; @@ -624,6 +645,7 @@ static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__3___c LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoArrayLit_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at_Lean_Meta_Match_withCleanLCtxFor___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834_(lean_object*); LEAN_EXPORT lean_object* l_List_filterTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstructorApp(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go___lambda__3___closed__1; @@ -653,9 +675,11 @@ static lean_object* l_panic___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Ma static lean_object* l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__1; LEAN_EXPORT lean_object* l_List_filterTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern___boxed(lean_object*); lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -719,7 +743,6 @@ static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__16___closed__2; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEqGuarded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withEqs(lean_object*); static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10778____closed__5; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__12(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -734,6 +757,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__7(lean_object*, l lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_erase(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__1; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__13___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -818,6 +842,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___boxed(lean_ob LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__4; static lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_refineThrough___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Match_instInhabitedAlt; static lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4___closed__1; static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__16___closed__1; @@ -839,7 +864,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_ex LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__11(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_object*); static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___lambda__2___closed__2; extern lean_object* l_Lean_instInhabitedName; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__4; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_throwCasesException___rarg___closed__9; LEAN_EXPORT lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processLeaf___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -869,9 +893,9 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withClea lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processArrayLit___spec__9(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_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__4; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__6; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__9; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at_Lean_Meta_Match_withMkMatcherInput___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -888,6 +912,8 @@ static lean_object* l_Lean_Meta_Match_withMkMatcherInput___rarg___lambda__1___cl LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Meta_Match_withCleanLCtxFor___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__1; +static lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Match_withMkMatcherInput___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_level_eq(lean_object*, lean_object*); @@ -908,7 +934,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); LEAN_EXPORT lean_object* l_List_filterTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__7___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_mkMatcher___spec__12(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__8; +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isConstructorTransition(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandVarIntoCtor_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -925,6 +951,7 @@ LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_ uint8_t l_Lean_Expr_isFVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Match_processInaccessibleAsCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___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_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at_Lean_Meta_Match_withCleanLCtxFor___spec__20(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -950,24 +977,25 @@ lean_object* l_Lean_Meta_Match_Alt_toMessageData(lean_object*, lean_object*, lea lean_object* l_Lean_Expr_collectFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Meta_Match_mkMatcher___spec__7(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkValueTypeClosure(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_mkMatcher___lambda__5___closed__4; lean_object* l_Lean_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__6; LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isDone(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__10; LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_addArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrayLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__17___boxed__const__1; LEAN_EXPORT uint8_t l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10820____lambda__1(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_mkMatcherAuxDefinition___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lambda__3___boxed(lean_object**); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__13; extern lean_object* l_Lean_Meta_Match_instInhabitedProblem; static lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__1; LEAN_EXPORT lean_object* l_List_allM___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_altsAreCtorLike___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -35870,7 +35898,1201 @@ return x_30; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__1() { +LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_refineThrough___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_eq(x_3, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_12 = lean_unsigned_to_nat(1u); +x_13 = lean_nat_sub(x_3, x_12); +lean_dec(x_3); +x_14 = lean_array_get_size(x_2); +x_15 = lean_nat_dec_lt(x_13, x_14); +lean_dec(x_14); +x_16 = lean_ctor_get(x_1, 5); +x_17 = lean_array_get_size(x_16); +x_18 = lean_nat_dec_lt(x_13, x_17); +lean_dec(x_17); +if (x_15 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = l_Lean_instInhabitedExpr; +x_20 = l___private_Init_Util_0__outOfBounds___rarg(x_19); +if (x_18 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = l___private_Init_Util_0__outOfBounds___rarg(x_19); +x_22 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_23 = l_Lean_Meta_kabstract(x_4, x_21, x_22, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_expr_instantiate1(x_24, x_20); +lean_dec(x_20); +lean_dec(x_24); +x_3 = x_13; +x_4 = x_26; +x_9 = x_25; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_20); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_28 = !lean_is_exclusive(x_23); +if (x_28 == 0) +{ +return x_23; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_23, 0); +x_30 = lean_ctor_get(x_23, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_23); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_array_fget(x_16, x_13); +x_33 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_34 = l_Lean_Meta_kabstract(x_4, x_32, x_33, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_expr_instantiate1(x_35, x_20); +lean_dec(x_20); +lean_dec(x_35); +x_3 = x_13; +x_4 = x_37; +x_9 = x_36; +goto _start; +} +else +{ +uint8_t x_39; +lean_dec(x_20); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) +{ +return x_34; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_34, 0); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_34); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +} +else +{ +lean_object* x_43; +x_43 = lean_array_fget(x_2, x_13); +if (x_18 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = l_Lean_instInhabitedExpr; +x_45 = l___private_Init_Util_0__outOfBounds___rarg(x_44); +x_46 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_47 = l_Lean_Meta_kabstract(x_4, x_45, x_46, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_expr_instantiate1(x_48, x_43); +lean_dec(x_43); +lean_dec(x_48); +x_3 = x_13; +x_4 = x_50; +x_9 = x_49; +goto _start; +} +else +{ +uint8_t x_52; +lean_dec(x_43); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_52 = !lean_is_exclusive(x_47); +if (x_52 == 0) +{ +return x_47; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_47, 0); +x_54 = lean_ctor_get(x_47, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_47); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_array_fget(x_16, x_13); +x_57 = lean_box(0); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_58 = l_Lean_Meta_kabstract(x_4, x_56, x_57, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_60); +lean_dec(x_58); +x_61 = lean_expr_instantiate1(x_59, x_43); +lean_dec(x_43); +lean_dec(x_59); +x_3 = x_13; +x_4 = x_61; +x_9 = x_60; +goto _start; +} +else +{ +uint8_t x_63; +lean_dec(x_43); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_63 = !lean_is_exclusive(x_58); +if (x_63 == 0) +{ +return x_58; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_58, 0); +x_65 = lean_ctor_get(x_58, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_58); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +} +else +{ +lean_object* x_67; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_4); +lean_ctor_set(x_67, 1, x_9); +return x_67; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_array_uget(x_3, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_3, x_2, x_12); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_14 = lean_infer_type(x_11, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = 1; +x_18 = lean_usize_add(x_2, x_17); +x_19 = lean_array_uset(x_13, x_2, x_15); +x_2 = x_18; +x_3 = x_19; +x_8 = x_16; +goto _start; +} +else +{ +uint8_t x_21; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_14, 0); +x_23 = lean_ctor_get(x_14, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_14); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_9); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_sub(x_10, x_11); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_sub(x_12, x_13); +lean_dec(x_12); +x_15 = l_Lean_Expr_getRevArg_x21(x_1, x_14); +x_16 = l_Lean_Expr_abstractM(x_15, x_2, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failed to transfer argument through matcher application, alt type must be telescope with #", 90); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_get_size(x_2); +x_10 = lean_nat_dec_eq(x_9, x_1); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_dec(x_3); +lean_dec(x_2); +x_11 = l_Nat_repr(x_1); +x_12 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__2; +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_17, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_6); +lean_dec(x_4); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +return x_18; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_18); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_1); +x_23 = lean_box(0); +x_24 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__1(x_3, x_2, x_23, x_4, x_5, x_6, x_7, x_8); +return x_24; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_2, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_3); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_array_uget(x_3, x_2); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_uset(x_3, x_2, x_12); +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___boxed), 8, 1); +lean_closure_set(x_16, 0, x_14); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_17 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_15, x_16, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = 1; +x_21 = lean_usize_add(x_2, x_20); +x_22 = lean_array_uset(x_13, x_2, x_18); +x_2 = x_21; +x_3 = x_22; +x_8 = x_19; +goto _start; +} +else +{ +uint8_t x_24; +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_24 = !lean_is_exclusive(x_17); +if (x_24 == 0) +{ +return x_17; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_17, 0); +x_26 = lean_ctor_get(x_17, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_17); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; +lean_dec(x_3); +x_9 = lean_array_get_size(x_2); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = 0; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2(x_10, x_11, x_2, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_1, 6); +lean_inc(x_15); +lean_dec(x_1); +x_16 = l_Array_zip___rarg(x_15, x_13); +lean_dec(x_13); +lean_dec(x_15); +x_17 = lean_array_get_size(x_16); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3(x_18, x_11, x_16, x_4, x_5, x_6, x_7, x_14); +return x_19; +} +else +{ +uint8_t x_20; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_12); +if (x_20 == 0) +{ +return x_12; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_12, 0); +x_22 = lean_ctor_get(x_12, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_12); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_9 = lean_infer_type(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_closure((void*)(l_Lean_Meta_MatcherApp_refineThrough___lambda__1), 8, 1); +lean_closure_set(x_12, 0, x_2); +x_13 = l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(x_10, x_12, x_4, x_5, x_6, x_7, x_11); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_14 = !lean_is_exclusive(x_9); +if (x_14 == 0) +{ +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 0); +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +static lean_object* _init_l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failed to transfer argument through matcher application, type error when constructing the new motive", 100); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_11 = 0; +x_12 = 1; +x_13 = 1; +x_14 = l_Lean_Meta_mkLambdaFVars(x_1, x_2, x_11, x_12, x_13, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_3, 0); +lean_inc(x_17); +x_18 = lean_array_to_list(lean_box(0), x_5); +x_19 = l_Lean_Expr_const___override(x_17, x_18); +x_20 = lean_ctor_get(x_3, 3); +lean_inc(x_20); +x_21 = l_Lean_mkAppN(x_19, x_20); +x_22 = l_Lean_Expr_app___override(x_21, x_15); +x_23 = l_Lean_mkAppN(x_22, x_4); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_23); +x_24 = l_Lean_Meta_isTypeCorrect(x_23, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_dec(x_23); +lean_dec(x_3); +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__2; +x_29 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_28, x_6, x_7, x_8, x_9, x_27); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +return x_29; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_29, 0); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_29); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_24, 1); +lean_inc(x_34); +lean_dec(x_24); +x_35 = lean_box(0); +x_36 = l_Lean_Meta_MatcherApp_refineThrough___lambda__2(x_23, x_3, x_35, x_6, x_7, x_8, x_9, x_34); +return x_36; +} +} +else +{ +uint8_t x_37; +lean_dec(x_23); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_37 = !lean_is_exclusive(x_24); +if (x_37 == 0) +{ +return x_24; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_24, 0); +x_39 = lean_ctor_get(x_24, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_24); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +uint8_t x_41; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_41 = !lean_is_exclusive(x_14); +if (x_41 == 0) +{ +return x_14; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_14, 0); +x_43 = lean_ctor_get(x_14, 1); +lean_inc(x_43); +lean_inc(x_42); +lean_dec(x_14); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_dec(x_4); +x_10 = lean_ctor_get(x_1, 5); +lean_inc(x_10); +x_11 = lean_array_get_size(x_10); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_12 = l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_refineThrough___spec__1(x_1, x_2, x_11, x_3, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_13); +x_15 = l_Lean_Meta_mkEq(x_13, x_13, x_5, x_6, x_7, x_8, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_1, 2); +lean_inc(x_16); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); +x_20 = l_Lean_Meta_MatcherApp_refineThrough___lambda__3(x_2, x_17, x_1, x_10, x_19, x_5, x_6, x_7, x_8, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_15, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_ctor_get(x_16, 0); +lean_inc(x_23); +lean_dec(x_16); +x_24 = lean_ctor_get(x_1, 1); +lean_inc(x_24); +x_25 = l_Lean_levelZero; +x_26 = lean_array_set(x_24, x_23, x_25); +lean_dec(x_23); +x_27 = l_Lean_Meta_MatcherApp_refineThrough___lambda__3(x_2, x_21, x_1, x_10, x_26, x_5, x_6, x_7, x_8, x_22); +return x_27; +} +} +else +{ +uint8_t x_28; +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) +{ +return x_15; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_12); +if (x_32 == 0) +{ +return x_12; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_12, 0); +x_34 = lean_ctor_get(x_12, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_12); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +static lean_object* _init_l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failed to transfer argument through matcher application, motive must be lambda expression with #", 96); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_dec(x_4); +x_10 = lean_array_get_size(x_3); +x_11 = lean_ctor_get(x_1, 5); +lean_inc(x_11); +x_12 = lean_array_get_size(x_11); +lean_dec(x_11); +x_13 = lean_nat_dec_eq(x_10, x_12); +lean_dec(x_10); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_14 = l_Nat_repr(x_12); +x_15 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__2; +x_18 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4; +x_20 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(x_20, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_12); +x_26 = lean_box(0); +x_27 = l_Lean_Meta_MatcherApp_refineThrough___lambda__4(x_1, x_3, x_2, x_26, x_5, x_6, x_7, x_8, x_9); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_1, 4); +lean_inc(x_8); +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_MatcherApp_refineThrough___lambda__5), 9, 2); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +x_10 = l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm___spec__1___rarg(x_8, x_9, x_3, x_4, x_5, x_6, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_refineThrough___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Nat_foldRevM_loop___at_Lean_Meta_MatcherApp_refineThrough___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__2(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_10 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Meta_MatcherApp_refineThrough___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_MatcherApp_refineThrough_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +lean_inc(x_5); +x_8 = l_Lean_Meta_MatcherApp_refineThrough(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_dec(x_5); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_8, 0); +x_18 = l_Lean_Exception_isRuntime(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_17); +lean_dec(x_5); +x_19 = lean_box(0); +lean_ctor_set_tag(x_8, 0); +lean_ctor_set(x_8, 0, x_19); +return x_8; +} +else +{ +uint8_t x_20; +x_20 = lean_ctor_get_uint8(x_5, sizeof(void*)*11); +lean_dec(x_5); +if (x_20 == 0) +{ +return x_8; +} +else +{ +lean_object* x_21; +lean_dec(x_17); +x_21 = lean_box(0); +lean_ctor_set_tag(x_8, 0); +lean_ctor_set(x_8, 0, x_21); +return x_8; +} +} +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_8, 0); +x_23 = lean_ctor_get(x_8, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_8); +x_24 = l_Lean_Exception_isRuntime(x_22); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_5); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_23); +return x_26; +} +else +{ +uint8_t x_27; +x_27 = lean_ctor_get_uint8(x_5, sizeof(void*)*11); +lean_dec(x_5); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_23); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_22); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_23); +return x_30; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -35880,17 +37102,17 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__1; x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__3() { _start: { lean_object* x_1; @@ -35898,17 +37120,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__5() { _start: { lean_object* x_1; @@ -35916,57 +37138,57 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__5; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__6; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__6; x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_Match___hyg_10778____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__8() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__7; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__7; x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__9() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__8; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__8; x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__10() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__9; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__9; x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___rarg___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__11() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__11() { _start: { lean_object* x_1; @@ -35974,33 +37196,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__12() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__10; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__11; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__10; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__13() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__12; -x_2 = lean_unsigned_to_nat(16123u); +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__12; +x_2 = lean_unsigned_to_nat(16834u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f___lambda__2___closed__2; x_3 = 0; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__13; +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__13; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -36586,33 +37808,45 @@ l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3 = _init_l_Lean_Meta_Matche lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__3); l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4 = _init_l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4(); lean_mark_persistent(l_Lean_Meta_MatcherApp_addArg___lambda__4___closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__8(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__9(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__9); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__10(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__11(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__11); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__12(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__12); -l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__13(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123____closed__13); -if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16123_(lean_io_mk_world()); +l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Meta_MatcherApp_refineThrough___spec__3___lambda__2___closed__2); +l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__1 = _init_l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__1); +l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__2 = _init_l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_refineThrough___lambda__3___closed__2); +l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__1 = _init_l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__1); +l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__2 = _init_l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Meta_MatcherApp_refineThrough___lambda__5___closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__7); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__8(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__8); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__9(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__9); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__10(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__10); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__11(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__11); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__12(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__12); +l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__13(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834____closed__13); +if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_Match_Match___hyg_16834_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c index fc62b8de1157..22336e688187 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c +++ b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c @@ -18,15 +18,17 @@ lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_Meta_substVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_FVarSubst_apply(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqHEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18___boxed(lean_object**); lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__4___closed__4; static lean_object* l_Lean_Meta_Match_proveCondEqThm___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoal___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Match_forallAltTelescope_isNamedPatternProof___lambda__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___closed__8; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__15; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_isDone___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8(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*); @@ -41,7 +43,7 @@ lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spe static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__11___boxed(lean_object**); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__4___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -50,9 +52,11 @@ size_t lean_usize_shift_right(size_t, size_t); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___spec__4___rarg___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* l_Lean_commitWhen___at___private_Lean_Meta_Tactic_Contradiction_0__Lean_Meta_elimEmptyInductive___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_proveCondEqThm_go___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_casesOnStuckLHS___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__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_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(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*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); @@ -63,15 +67,15 @@ static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___closed__9; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__6(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_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Meta_getStuckMVar_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(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_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__5___lambda__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_proveCondEqThm___lambda__3___closed__1; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___closed__3; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Match_proveCondEqThm_go___spec__2___closed__2; static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___closed__11; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1(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_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__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_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); @@ -82,9 +86,9 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_M extern lean_object* l_Lean_maxRecDepthErrorMessage; static lean_object* l_Lean_Meta_Match_getEquationsForImpl___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__12; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__3___closed__1; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__5; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Match_proveCondEqThm_go___spec__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec__2(lean_object*, size_t, lean_object*); @@ -92,8 +96,10 @@ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_subs static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__4___closed__3; static lean_object* l_Lean_Meta_Match_proveCondEqThm___closed__1; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__1___closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterMap___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_applySubst___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__11; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__2___closed__2; size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -106,7 +112,6 @@ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEq static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__4___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__3; lean_object* l_Lean_MessageData_ofList(lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___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_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -117,10 +122,9 @@ lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___lambda__5___closed__2; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___spec__5___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_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__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_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withSplitterAlts___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___lambda__2___closed__2; lean_object* lean_mk_array(lean_object*, lean_object*); @@ -132,10 +136,10 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchE lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___closed__2; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__2; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__2___boxed(lean_object**); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___closed__4; +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__14; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Match_proveCondEqThm_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); @@ -149,9 +153,11 @@ lean_object* l_Lean_ConstantInfo_name(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec__2___closed__2; lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___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_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_proveCondEqThm___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__8; lean_object* lean_environment_find(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___lambda__1___closed__1; uint8_t l_Lean_Expr_isNatLit(lean_object*); @@ -167,23 +173,22 @@ lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Meta_reduceMatcher_x3f___s static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_casesOnStuckLHS___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Expr_mvar___override(lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__3___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__4___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__5(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoalLoop___lambda__1___closed__3; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17___boxed(lean_object**); uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__4___closed__6; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__9; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_applySubst___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__9___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__1; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6___lambda__2___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__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* l_Lean_throwError___at_Lean_Meta_setInlineAttribute___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__5___boxed(lean_object**); lean_object* l_Lean_Exception_toMessageData(lean_object*); @@ -194,7 +199,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match LEAN_EXPORT lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__4___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_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1___boxed(lean_object**); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_contradiction___closed__1; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_GeneralizeTelescope_generalizeTelescopeAux___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); @@ -211,7 +216,6 @@ static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___lambda__5__ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Match_forallAltTelescope_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoalLoop___closed__1; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedPUnit; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -234,7 +238,6 @@ lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___spec__4___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -242,7 +245,6 @@ static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchE static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___closed__5; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_withContext___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___spec__2(lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__7; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoalLoop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -263,7 +265,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___lambda LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Expr_abstractRangeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(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_EXPORT lean_object* l_Lean_Meta_Match_proveCondEqThm___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_Match_proveCondEqThm_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -283,21 +285,19 @@ static lean_object* l_Lean_Meta_casesOnStuckLHS___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Match_SimpH_trySubstVarsAndContradiction(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__12(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_substRHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_size___rarg(lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__13; static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___lambda__5___closed__5; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__5___lambda__3___closed__2; lean_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__5___lambda__1___boxed(lean_object**); lean_object* l_Lean_MVarId_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTR_loop___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__12; lean_object* l_Lean_MVarId_deltaTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withSplitterAlts_go___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18___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_Meta_Match_unfoldNamedPattern___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts_go(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); @@ -312,7 +312,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_Match_MatchE uint8_t l_List_elem___at_Lean_MVarId_getNondepPropHyps___spec__3(lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(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_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__5___lambda__3___boxed(lean_object**); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoalLoop___lambda__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -323,13 +323,15 @@ lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withSplitterAlts_go___rarg___closed__2; static lean_object* l_Lean_Meta_Match_proveCondEqThm_go___lambda__3___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__4; +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__2___closed__4; lean_object* l_Lean_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__16; lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__14___boxed(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -347,6 +349,7 @@ lean_object* l_Lean_Meta_splitIfTarget_x3f(lean_object*, lean_object*, lean_obje lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_Lean_Expr_replaceFVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -358,7 +361,7 @@ lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_forallAltTelescope_go(lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_casesOnStuckLHS_findFVar_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__5(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_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__11___closed__1; @@ -380,8 +383,6 @@ static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___lambda__2___boxed(lean_object**); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__10___boxed(lean_object**); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__15; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__1; static lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__3___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__4___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__5___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__3; @@ -390,19 +391,21 @@ lean_object* l_Lean_RBNode_insert___at_Lean_FVarIdMap_insert___spec__1___rarg(le LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_mkMap___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_injection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_isConstructorApp_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(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_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAnyCandidate_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Match_forallAltTelescope_isNamedPatternProof(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15___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_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15___boxed(lean_object**); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_simpIfTarget(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__9; lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__Lean_Meta_inferForallType___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__3___closed__3; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__5___closed__1; @@ -410,6 +413,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_casesOnStuckLHS___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__10; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Meta_Match_getEquationsForImpl___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_SimpH_processNextEq___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -417,7 +421,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_fvarId(lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoal___closed__3; @@ -437,12 +440,13 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Matc LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoal___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_unfoldNamedPattern___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_proveCondEqThm___closed__6; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__12___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts_go___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoalLoop___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16___boxed(lean_object**); static lean_object* l_Lean_Meta_Match_unfoldNamedPattern___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Match_unfoldNamedPattern___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___spec__2___closed__1; @@ -458,7 +462,8 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Meta_Mat extern lean_object* l_Lean_inheritedTraceOptions; lean_object* l_Lean_MessageData_ofExpr(lean_object*); lean_object* l_Lean_Meta_Match_isNamedPattern_x3f(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__7; +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__5___closed__2; lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_mkSimpCongrTheorem___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -467,7 +472,7 @@ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSp static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__10___closed__4; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoal___closed__2; lean_object* l_Lean_LocalDecl_userName(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___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_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___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_object* lean_name_append_index_after(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___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_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -493,11 +498,8 @@ static lean_object* l_Lean_Meta_casesOnStuckLHS___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAnyCandidate_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_heqToEq(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__12___closed__2; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__14; static lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___closed__5; -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__11; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__10(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_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535_(lean_object*); lean_object* l_Lean_Expr_replaceFVars(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__4___closed__4; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___closed__7; @@ -524,11 +526,12 @@ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simp static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__3___closed__4; lean_object* l_Lean_MVarId_isAssigned___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__4(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_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__8; static lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__3___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__4___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__5___closed__6; LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__16; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_proveSubgoal___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -536,7 +539,7 @@ lean_object* l_Lean_indentExpr(lean_object*); LEAN_EXPORT lean_object* lean_get_match_equations_for(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_getNumEqsFromDiscrInfos(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__3___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6(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_object*, lean_object*, lean_object*); @@ -558,9 +561,12 @@ static lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___closed__8; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___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_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__3; lean_object* l_Lean_exprDependsOn___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6___lambda__2(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_mapMUnsafe_map___at_Lean_Meta_Match_forallAltTelescope_go___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__13; static lean_object* l_panic___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__5___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Match_proveCondEqThm_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); @@ -571,7 +577,6 @@ LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_M static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec__2___closed__1; extern lean_object* l_Lean_Meta_Match_matchEqnsExt; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts_go___rarg(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_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_casesOnStuckLHS(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_proveCondEqThm___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -589,9 +594,9 @@ static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSp static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof___closed__1; static lean_object* l_Lean_Meta_Match_proveCondEqThm___closed__4; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Cases_cases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -612,13 +617,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_forallAltTelescope_isNamedPatternProof___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__4___closed__2; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__1___closed__1; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__3___closed__6; size_t lean_usize_sub(size_t, size_t); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_tryClearMany(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -639,12 +643,14 @@ lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_casesOnStuckLHS_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_substSomeVar___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_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__3___boxed(lean_object**); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__2; static lean_object* l_Lean_Meta_Match_proveCondEqThm_go___lambda__3___closed__5; lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_proveCondEqThm_go___lambda__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1___boxed(lean_object**); size_t lean_usize_shift_left(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_isCastEqRec___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_casesOnStuckLHS_findFVar_x3f___closed__1; @@ -655,7 +661,6 @@ static lean_object* l_Lean_Meta_Match_proveCondEqThm_go___closed__2; lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_forallAltTelescope_go___rarg___lambda__4(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_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__5; static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___closed__2; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_Match_instInhabitedMatchEqnsExtState; @@ -718,7 +723,6 @@ uint8_t l_Lean_Exception_isRuntime(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkEquationsFor___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof___lambda__2___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__2(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_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16___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_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec_go___spec__2___closed__1; uint8_t l_Lean_Expr_isFVar(lean_object*); @@ -733,6 +737,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match lean_object* l_Lean_Meta_deltaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Match_proveCondEqThm___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Match_proveCondEqThm_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__6; static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__1___closed__3; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -745,7 +750,6 @@ lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_registerMatchEqns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Match_unfoldNamedPattern___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_injectionAny___spec__4___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertCastEqRec___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Meta_Match_getEquationsForImpl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1977,7 +1981,7 @@ lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; x_7 = l_Lean_Meta_Match_unfoldNamedPattern___closed__1; x_8 = l_Lean_Meta_Match_unfoldNamedPattern___closed__2; x_9 = 0; -x_10 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_7, x_8, x_9, x_2, x_3, x_4, x_5, x_6); +x_10 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_7, x_8, x_9, x_9, x_2, x_3, x_4, x_5, x_6); return x_10; } } @@ -2778,7 +2782,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_21 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_18, x_19, x_20, x_10, x_11, x_12, x_13, x_17); +x_21 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_18, x_19, x_20, x_20, x_10, x_11, x_12, x_13, x_17); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_54; lean_object* x_55; uint8_t x_56; @@ -3007,7 +3011,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_71 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_68, x_69, x_70, x_10, x_11, x_12, x_13, x_67); +x_71 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_68, x_69, x_70, x_70, x_10, x_11, x_12, x_13, x_67); if (lean_obj_tag(x_71) == 0) { lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_104; lean_object* x_105; uint8_t x_106; @@ -3236,7 +3240,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_121 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_118, x_119, x_120, x_10, x_11, x_12, x_13, x_117); +x_121 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_118, x_119, x_120, x_120, x_10, x_11, x_12, x_13, x_117); if (lean_obj_tag(x_121) == 0) { lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_154; lean_object* x_155; uint8_t x_156; @@ -3465,7 +3469,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_171 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_168, x_169, x_170, x_10, x_11, x_12, x_13, x_167); +x_171 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_168, x_169, x_170, x_170, x_10, x_11, x_12, x_13, x_167); if (lean_obj_tag(x_171) == 0) { lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_204; lean_object* x_205; uint8_t x_206; @@ -3694,7 +3698,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_221 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_218, x_219, x_220, x_10, x_11, x_12, x_13, x_217); +x_221 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_218, x_219, x_220, x_220, x_10, x_11, x_12, x_13, x_217); if (lean_obj_tag(x_221) == 0) { lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_254; lean_object* x_255; uint8_t x_256; @@ -3923,7 +3927,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_271 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_268, x_269, x_270, x_10, x_11, x_12, x_13, x_267); +x_271 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_268, x_269, x_270, x_270, x_10, x_11, x_12, x_13, x_267); if (lean_obj_tag(x_271) == 0) { lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_304; lean_object* x_305; uint8_t x_306; @@ -4152,7 +4156,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_321 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_318, x_319, x_320, x_10, x_11, x_12, x_13, x_317); +x_321 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_318, x_319, x_320, x_320, x_10, x_11, x_12, x_13, x_317); if (lean_obj_tag(x_321) == 0) { lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_354; lean_object* x_355; uint8_t x_356; @@ -4688,7 +4692,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_424 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_369, x_421, x_422, x_423, x_10, x_11, x_12, x_13, x_367); +x_424 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_369, x_421, x_422, x_423, x_423, x_10, x_11, x_12, x_13, x_367); if (lean_obj_tag(x_424) == 0) { lean_object* x_425; lean_object* x_426; lean_object* x_427; uint8_t x_428; uint8_t x_429; lean_object* x_430; @@ -4768,7 +4772,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_439 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_436, x_437, x_438, x_10, x_11, x_12, x_13, x_435); +x_439 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_436, x_437, x_438, x_438, x_10, x_11, x_12, x_13, x_435); if (lean_obj_tag(x_439) == 0) { lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_472; lean_object* x_473; uint8_t x_474; @@ -4997,7 +5001,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_489 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_486, x_487, x_488, x_10, x_11, x_12, x_13, x_485); +x_489 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_486, x_487, x_488, x_488, x_10, x_11, x_12, x_13, x_485); if (lean_obj_tag(x_489) == 0) { lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_522; lean_object* x_523; uint8_t x_524; @@ -5226,7 +5230,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_539 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_536, x_537, x_538, x_10, x_11, x_12, x_13, x_535); +x_539 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_536, x_537, x_538, x_538, x_10, x_11, x_12, x_13, x_535); if (lean_obj_tag(x_539) == 0) { lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_572; lean_object* x_573; uint8_t x_574; @@ -5455,7 +5459,7 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_589 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_586, x_587, x_588, x_10, x_11, x_12, x_13, x_585); +x_589 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_586, x_587, x_588, x_588, x_10, x_11, x_12, x_13, x_585); if (lean_obj_tag(x_589) == 0) { lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_622; lean_object* x_623; uint8_t x_624; @@ -31560,28 +31564,29 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; +lean_object* x_16; lean_inc(x_2); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_15 = lean_apply_8(x_2, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_15) == 0) +lean_inc(x_7); +x_16 = lean_apply_8(x_2, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -switch (lean_obj_tag(x_16)) { +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +switch (lean_obj_tag(x_17)) { case 0: { -uint8_t x_17; +uint8_t x_18; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -31591,119 +31596,118 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_16); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_15, 0); -lean_dec(x_18); +lean_object* x_19; lean_object* x_20; x_19 = lean_ctor_get(x_16, 0); -lean_inc(x_19); -lean_dec(x_16); -lean_ctor_set(x_15, 0, x_19); -return x_15; +lean_dec(x_19); +x_20 = lean_ctor_get(x_17, 0); +lean_inc(x_20); +lean_dec(x_17); +lean_ctor_set(x_16, 0, x_20); +return x_16; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_ctor_get(x_16, 0); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 1); lean_inc(x_21); lean_dec(x_16); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +lean_dec(x_17); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +return x_23; } } case 1: { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_6); -x_23 = lean_ctor_get(x_15, 1); -lean_inc(x_23); -lean_dec(x_15); -x_24 = lean_ctor_get(x_16, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_7); +x_24 = lean_ctor_get(x_16, 1); lean_inc(x_24); lean_dec(x_16); -x_25 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_24, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_23); -return x_25; +x_25 = lean_ctor_get(x_17, 0); +lean_inc(x_25); +lean_dec(x_17); +x_26 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); +return x_26; } default: { -lean_object* x_26; +lean_object* x_27; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_26 = lean_ctor_get(x_16, 0); -lean_inc(x_26); -lean_dec(x_16); -if (lean_obj_tag(x_26) == 0) +x_27 = lean_ctor_get(x_17, 0); +lean_inc(x_27); +lean_dec(x_17); +if (lean_obj_tag(x_27) == 0) { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_15); -if (x_27 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) { -lean_object* x_28; -x_28 = lean_ctor_get(x_15, 0); -lean_dec(x_28); -lean_ctor_set(x_15, 0, x_6); -return x_15; +lean_object* x_29; +x_29 = lean_ctor_get(x_16, 0); +lean_dec(x_29); +lean_ctor_set(x_16, 0, x_7); +return x_16; } else { -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_15, 1); -lean_inc(x_29); -lean_dec(x_15); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_6); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_16, 1); +lean_inc(x_30); +lean_dec(x_16); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_7); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } else { -uint8_t x_31; -lean_dec(x_6); -x_31 = !lean_is_exclusive(x_15); -if (x_31 == 0) +uint8_t x_32; +lean_dec(x_7); +x_32 = !lean_is_exclusive(x_16); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_15, 0); -lean_dec(x_32); -x_33 = lean_ctor_get(x_26, 0); -lean_inc(x_33); -lean_dec(x_26); -lean_ctor_set(x_15, 0, x_33); -return x_15; +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_16, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +lean_dec(x_27); +lean_ctor_set(x_16, 0, x_34); +return x_16; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_15, 1); -lean_inc(x_34); -lean_dec(x_15); -x_35 = lean_ctor_get(x_26, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_16, 1); lean_inc(x_35); -lean_dec(x_26); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; +lean_dec(x_16); +x_36 = lean_ctor_get(x_27, 0); +lean_inc(x_36); +lean_dec(x_27); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +return x_37; } } } @@ -31711,7 +31715,8 @@ return x_36; } else { -uint8_t x_37; +uint8_t x_38; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -31721,26 +31726,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_15); -if (x_37 == 0) +x_38 = !lean_is_exclusive(x_16); +if (x_38 == 0) { -return x_15; +return x_16; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_15, 0); -x_39 = lean_ctor_get(x_15, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_16, 0); +x_40 = lean_ctor_get(x_16, 1); +lean_inc(x_40); lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_15); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_dec(x_16); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } @@ -31817,206 +31821,208 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_M return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_push(x_1, x_8); -x_18 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_push(x_1, x_9); +x_19 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -if (lean_obj_tag(x_7) == 6) +if (lean_obj_tag(x_8) == 6) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_8, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 2); +x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_20 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_19 = lean_ctor_get(x_8, 2); +lean_inc(x_19); +x_20 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_21 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_box(x_3); -x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1___boxed), 16, 7); -lean_closure_set(x_25, 0, x_6); -lean_closure_set(x_25, 1, x_1); -lean_closure_set(x_25, 2, x_2); -lean_closure_set(x_25, 3, x_24); -lean_closure_set(x_25, 4, x_4); -lean_closure_set(x_25, 5, x_5); -lean_closure_set(x_25, 6, x_18); -x_26 = 0; -x_27 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__12___rarg(x_16, x_19, x_22, x_25, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -return x_27; +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_box(x_3); +x_26 = lean_box(x_4); +x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1___boxed), 17, 8); +lean_closure_set(x_27, 0, x_7); +lean_closure_set(x_27, 1, x_1); +lean_closure_set(x_27, 2, x_2); +lean_closure_set(x_27, 3, x_25); +lean_closure_set(x_27, 4, x_26); +lean_closure_set(x_27, 5, x_5); +lean_closure_set(x_27, 6, x_6); +lean_closure_set(x_27, 7, x_19); +x_28 = 0; +x_29 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__12___rarg(x_17, x_20, x_23, x_27, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); +return x_29; } else { -uint8_t x_28; -lean_dec(x_18); -lean_dec(x_16); +uint8_t x_30; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) +x_30 = !lean_is_exclusive(x_22); +if (x_30 == 0) { -return x_21; +return x_22; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 0); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_34; lean_object* x_35; +x_34 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_33) == 0) +x_35 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = 0; -x_37 = 1; -x_38 = l_Lean_Meta_mkLambdaFVars(x_6, x_34, x_36, x_3, x_37, x_11, x_12, x_13, x_14, x_35); -if (lean_obj_tag(x_38) == 0) +lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 0; +x_39 = 1; +x_40 = l_Lean_Meta_mkLambdaFVars(x_7, x_36, x_38, x_3, x_39, x_12, x_13, x_14, x_15, x_37); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_40); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_42); +return x_43; } else { -uint8_t x_42; +uint8_t x_44; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) { -return x_38; +return x_40; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_38); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 0); +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_40); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_46; +uint8_t x_48; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_33); -if (x_46 == 0) +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) { -return x_33; +return x_35; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_33, 0); -x_48 = lean_ctor_get(x_33, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_33); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_35); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } @@ -32086,206 +32092,208 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_M return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_push(x_1, x_8); -x_18 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_push(x_1, x_9); +x_19 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -if (lean_obj_tag(x_7) == 7) +if (lean_obj_tag(x_8) == 7) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_8, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 2); +x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); -x_19 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_20 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_19 = lean_ctor_get(x_8, 2); +lean_inc(x_19); +x_20 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_21 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_box(x_3); -x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1___boxed), 16, 7); -lean_closure_set(x_25, 0, x_6); -lean_closure_set(x_25, 1, x_1); -lean_closure_set(x_25, 2, x_2); -lean_closure_set(x_25, 3, x_24); -lean_closure_set(x_25, 4, x_4); -lean_closure_set(x_25, 5, x_5); -lean_closure_set(x_25, 6, x_18); -x_26 = 0; -x_27 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__13___rarg(x_16, x_19, x_22, x_25, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -return x_27; +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_box(x_3); +x_26 = lean_box(x_4); +x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1___boxed), 17, 8); +lean_closure_set(x_27, 0, x_7); +lean_closure_set(x_27, 1, x_1); +lean_closure_set(x_27, 2, x_2); +lean_closure_set(x_27, 3, x_25); +lean_closure_set(x_27, 4, x_26); +lean_closure_set(x_27, 5, x_5); +lean_closure_set(x_27, 6, x_6); +lean_closure_set(x_27, 7, x_19); +x_28 = 0; +x_29 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__13___rarg(x_17, x_20, x_23, x_27, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); +return x_29; } else { -uint8_t x_28; -lean_dec(x_18); -lean_dec(x_16); +uint8_t x_30; +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_21); -if (x_28 == 0) +x_30 = !lean_is_exclusive(x_22); +if (x_30 == 0) { -return x_21; +return x_22; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_21, 0); -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_21); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_22, 0); +x_32 = lean_ctor_get(x_22, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_22); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_34; lean_object* x_35; +x_34 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_33) == 0) +x_35 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = 0; -x_37 = 1; -x_38 = l_Lean_Meta_mkForallFVars(x_6, x_34, x_36, x_3, x_37, x_11, x_12, x_13, x_14, x_35); -if (lean_obj_tag(x_38) == 0) +lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 0; +x_39 = 1; +x_40 = l_Lean_Meta_mkForallFVars(x_7, x_36, x_38, x_3, x_39, x_12, x_13, x_14, x_15, x_37); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_40); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_42); +return x_43; } else { -uint8_t x_42; +uint8_t x_44; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) { -return x_38; +return x_40; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_38, 0); -x_44 = lean_ctor_get(x_38, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_38); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_40, 0); +x_46 = lean_ctor_get(x_40, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_40); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_46; +uint8_t x_48; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_46 = !lean_is_exclusive(x_33); -if (x_46 == 0) +x_48 = !lean_is_exclusive(x_35); +if (x_48 == 0) { -return x_33; +return x_35; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_33, 0); -x_48 = lean_ctor_get(x_33, 1); -lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_33); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_35, 0); +x_50 = lean_ctor_get(x_35, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_35); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } @@ -32355,513 +32363,900 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at___private_Lean_Met return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; lean_object* x_18; -x_17 = lean_array_push(x_1, x_8); -x_18 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_push(x_1, x_9); +x_19 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(x_2, x_3, x_4, x_5, x_6, x_7, x_18, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -if (lean_obj_tag(x_7) == 8) +if (lean_obj_tag(x_8) == 8) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_7, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 1); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_8, 0); lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 2); +x_18 = lean_ctor_get(x_8, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_7, 3); +x_19 = lean_ctor_get(x_8, 2); lean_inc(x_19); -lean_dec(x_7); -x_20 = lean_expr_instantiate_rev(x_17, x_6); -lean_dec(x_17); +x_20 = lean_ctor_get(x_8, 3); +lean_inc(x_20); +lean_dec(x_8); +x_21 = lean_expr_instantiate_rev(x_18, x_7); +lean_dec(x_18); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_expr_instantiate_rev(x_18, x_6); -lean_dec(x_18); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_expr_instantiate_rev(x_19, x_7); +lean_dec(x_19); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_25 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_24, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_23); -if (lean_obj_tag(x_25) == 0) +x_26 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_27 = lean_ctor_get(x_26, 0); lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_box(x_3); -x_29 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1___boxed), 16, 7); -lean_closure_set(x_29, 0, x_6); -lean_closure_set(x_29, 1, x_1); -lean_closure_set(x_29, 2, x_2); -lean_closure_set(x_29, 3, x_28); -lean_closure_set(x_29, 4, x_4); -lean_closure_set(x_29, 5, x_5); -lean_closure_set(x_29, 6, x_19); -x_30 = 0; -x_31 = l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__14___rarg(x_16, x_22, x_26, x_29, x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_27); -return x_31; +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_box(x_3); +x_30 = lean_box(x_4); +x_31 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1___boxed), 17, 8); +lean_closure_set(x_31, 0, x_7); +lean_closure_set(x_31, 1, x_1); +lean_closure_set(x_31, 2, x_2); +lean_closure_set(x_31, 3, x_29); +lean_closure_set(x_31, 4, x_30); +lean_closure_set(x_31, 5, x_5); +lean_closure_set(x_31, 6, x_6); +lean_closure_set(x_31, 7, x_20); +x_32 = 0; +x_33 = l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__14___rarg(x_17, x_23, x_27, x_31, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_28); +return x_33; } else { -uint8_t x_32; -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_16); +uint8_t x_34; +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_25); -if (x_32 == 0) +x_34 = !lean_is_exclusive(x_26); +if (x_34 == 0) { -return x_25; +return x_26; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_25, 0); -x_34 = lean_ctor_get(x_25, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_25); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_26, 0); +x_36 = lean_ctor_get(x_26, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_26); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } else { -uint8_t x_36; +uint8_t x_38; +lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_21); -if (x_36 == 0) +x_38 = !lean_is_exclusive(x_22); +if (x_38 == 0) { -return x_21; +return x_22; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_21, 0); -x_38 = lean_ctor_get(x_21, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_21); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_22, 0); +x_40 = lean_ctor_get(x_22, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_22); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } else { -lean_object* x_40; lean_object* x_41; -x_40 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_42; lean_object* x_43; +x_42 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_41 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_41) == 0) +x_43 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_42, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_45; lean_object* x_46; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = 0; -x_45 = 1; -x_46 = l_Lean_Meta_mkLambdaFVars(x_6, x_42, x_44, x_3, x_45, x_11, x_12, x_13, x_14, x_43); -if (lean_obj_tag(x_46) == 0) +lean_object* x_44; lean_object* x_45; uint8_t x_46; uint8_t x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = 0; +x_47 = 1; +x_48 = l_Lean_Meta_mkLambdaFVars(x_7, x_44, x_46, x_3, x_47, x_12, x_13, x_14, x_15, x_45); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_47, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_48); -return x_49; +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_49, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_50); +return x_51; } else { -uint8_t x_50; +uint8_t x_52; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) +x_52 = !lean_is_exclusive(x_48); +if (x_52 == 0) { -return x_46; +return x_48; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_46, 0); -x_52 = lean_ctor_get(x_46, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_46); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_48, 0); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_48); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -uint8_t x_54; +uint8_t x_56; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_54 = !lean_is_exclusive(x_41); -if (x_54 == 0) +x_56 = !lean_is_exclusive(x_43); +if (x_56 == 0) { -return x_41; +return x_43; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_41, 0); -x_56 = lean_ctor_get(x_41, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_41); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_43, 0); +x_58 = lean_ctor_get(x_43, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_43); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -uint8_t x_17; -x_17 = lean_usize_dec_lt(x_7, x_6); -if (x_17 == 0) +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_8, x_7); +if (x_18 == 0) { -lean_object* x_18; +lean_object* x_19; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_8); -lean_ctor_set(x_18, 1, x_16); -return x_18; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_array_uget(x_8, x_7); -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_array_uset(x_8, x_7, x_20); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_array_uget(x_9, x_8); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_9, x_8, x_21); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = 1; -x_26 = lean_usize_add(x_7, x_25); -x_27 = lean_array_uset(x_21, x_7, x_23); -x_7 = x_26; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_8, x_26); +x_28 = lean_array_uset(x_22, x_8, x_24); x_8 = x_27; -x_16 = x_24; +x_9 = x_28; +x_17 = x_25; goto _start; } else { -uint8_t x_29; -lean_dec(x_21); +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_22); -if (x_29 == 0) +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) { -return x_22; +return x_23; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_22, 0); -x_31 = lean_ctor_get(x_22, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_22); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_dec(x_23); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_6) == 5) +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_8, x_7); +if (x_18 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_6, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_6, 1); -lean_inc(x_18); +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_6); -x_19 = lean_array_set(x_7, x_8, x_18); -x_20 = lean_unsigned_to_nat(1u); -x_21 = lean_nat_sub(x_8, x_20); -lean_dec(x_8); -x_6 = x_17; -x_7 = x_19; -x_8 = x_21; -goto _start; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +return x_19; } else { -lean_object* x_23; -lean_dec(x_8); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_array_uget(x_9, x_8); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_9, x_8, x_21); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); -x_26 = lean_array_get_size(x_7); -x_27 = lean_usize_of_nat(x_26); -lean_dec(x_26); -x_28 = 0; +x_26 = 1; +x_27 = lean_usize_add(x_8, x_26); +x_28 = lean_array_uset(x_22, x_8, x_24); +x_8 = x_27; +x_9 = x_28; +x_17 = x_25; +goto _start; +} +else +{ +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_23); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +uint8_t x_18; +x_18 = lean_usize_dec_lt(x_8, x_7); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_9); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_array_uget(x_9, x_8); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_9, x_8, x_21); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_29 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15(x_1, x_2, x_3, x_4, x_5, x_27, x_28, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25); -if (lean_obj_tag(x_29) == 0) +x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_8, x_26); +x_28 = lean_array_uset(x_22, x_8, x_24); +x_8 = x_27; +x_9 = x_28; +x_17 = x_25; +goto _start; +} +else +{ +uint8_t x_30; +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +return x_23; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_23, 0); +x_32 = lean_ctor_get(x_23, 1); +lean_inc(x_32); lean_inc(x_31); -lean_dec(x_29); -x_32 = l_Lean_mkAppN(x_24, x_30); -x_33 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_31); +lean_dec(x_23); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); return x_33; } +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +if (lean_obj_tag(x_7) == 5) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_7, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_7, 1); +lean_inc(x_19); +lean_dec(x_7); +x_20 = lean_array_set(x_8, x_9, x_19); +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_sub(x_9, x_21); +lean_dec(x_9); +x_7 = x_18; +x_8 = x_20; +x_9 = x_22; +goto _start; +} else { -uint8_t x_34; +lean_dec(x_9); +if (x_4 == 0) +{ +lean_object* x_24; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_24 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); lean_dec(x_24); +x_27 = lean_array_get_size(x_8); +x_28 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_29 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_28, x_29, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_26); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_mkAppN(x_25, x_31); +x_34 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_33, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_32); +return x_34; +} +else +{ +uint8_t x_35; +lean_dec(x_25); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) { -return x_29; +return x_30; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_30, 0); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_30); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_39 = !lean_is_exclusive(x_24); +if (x_39 == 0) +{ +return x_24; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_24, 0); +x_41 = lean_ctor_get(x_24, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_24); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +x_43 = l_Lean_Expr_isConst(x_7); +if (x_43 == 0) +{ +lean_object* x_44; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_44 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; size_t x_48; size_t x_49; lean_object* x_50; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_array_get_size(x_8); +x_48 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_49 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_50 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16(x_1, x_2, x_3, x_4, x_5, x_6, x_48, x_49, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_46); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l_Lean_mkAppN(x_45, x_51); +x_54 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_53, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_52); +return x_54; +} +else +{ +uint8_t x_55; +lean_dec(x_45); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_50); +if (x_55 == 0) +{ +return x_50; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_50, 0); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_50); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +else +{ +uint8_t x_59; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_59 = !lean_is_exclusive(x_44); +if (x_59 == 0) +{ +return x_44; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_44, 0); +x_61 = lean_ctor_get(x_44, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_44); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -uint8_t x_38; +lean_object* x_63; size_t x_64; size_t x_65; lean_object* x_66; +x_63 = lean_array_get_size(x_8); +x_64 = lean_usize_of_nat(x_63); +lean_dec(x_63); +x_65 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_66 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_64, x_65, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = l_Lean_mkAppN(x_7, x_67); +x_70 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_69, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_68); +return x_70; +} +else +{ +uint8_t x_71; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_23); -if (x_38 == 0) +x_71 = !lean_is_exclusive(x_66); +if (x_71 == 0) { -return x_23; +return x_66; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_23, 0); -x_40 = lean_ctor_get(x_23, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_23); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_66, 0); +x_73 = lean_ctor_get(x_66, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_66); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} } } } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -32916,15 +33311,15 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17___rarg), 10, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg), 10, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -32938,15 +33333,15 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg___boxed), 6, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21___rarg___boxed), 6, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; @@ -33141,7 +33536,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_60 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg(x_17, x_7, x_8, x_9, x_10, x_11); +x_60 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21___rarg(x_17, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -33167,286 +33562,286 @@ return x_64; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; -switch (lean_obj_tag(x_7)) { +lean_object* x_17; +switch (lean_obj_tag(x_8)) { case 0: { -lean_object* x_63; lean_object* x_64; +lean_object* x_64; lean_object* x_65; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_63 = lean_ctor_get(x_7, 0); -lean_inc(x_63); -lean_dec(x_7); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_15); -return x_64; +x_64 = lean_ctor_get(x_8, 0); +lean_inc(x_64); +lean_dec(x_8); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_16); +return x_65; } case 1: { -lean_object* x_65; lean_object* x_66; -lean_dec(x_6); -x_65 = lean_ctor_get(x_7, 0); -lean_inc(x_65); +lean_object* x_66; lean_object* x_67; lean_dec(x_7); -x_66 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_65, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_66; +x_66 = lean_ctor_get(x_8, 0); +lean_inc(x_66); +lean_dec(x_8); +x_67 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_66, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_67; } default: { -lean_object* x_67; -x_67 = lean_ctor_get(x_7, 0); -lean_inc(x_67); -lean_dec(x_7); -if (lean_obj_tag(x_67) == 0) +lean_object* x_68; +x_68 = lean_ctor_get(x_8, 0); +lean_inc(x_68); +lean_dec(x_8); +if (lean_obj_tag(x_68) == 0) { -x_16 = x_6; -goto block_62; +x_17 = x_7; +goto block_63; } else { -lean_object* x_68; -lean_dec(x_6); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -lean_dec(x_67); -x_16 = x_68; -goto block_62; +lean_object* x_69; +lean_dec(x_7); +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +lean_dec(x_68); +x_17 = x_69; +goto block_63; } } } -block_62: +block_63: { -switch (lean_obj_tag(x_16)) { +switch (lean_obj_tag(x_17)) { case 5: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = lean_unsigned_to_nat(0u); -x_18 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_16, x_17); -x_19 = l_Lean_Meta_casesOnStuckLHS_findFVar_x3f___closed__1; -lean_inc(x_18); -x_20 = lean_mk_array(x_18, x_19); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_sub(x_18, x_21); -lean_dec(x_18); -x_23 = l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16(x_1, x_2, x_3, x_4, x_5, x_16, x_20, x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_23; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_unsigned_to_nat(0u); +x_19 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_17, x_18); +x_20 = l_Lean_Meta_casesOnStuckLHS_findFVar_x3f___closed__1; +lean_inc(x_19); +x_21 = lean_mk_array(x_19, x_20); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_19, x_22); +lean_dec(x_19); +x_24 = l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_21, x_23, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_24; } case 6: { -lean_object* x_24; lean_object* x_25; -x_24 = l_Lean_Meta_casesOnStuckLHS___closed__2; -x_25 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(x_1, x_2, x_3, x_4, x_5, x_24, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_25; +lean_object* x_25; lean_object* x_26; +x_25 = l_Lean_Meta_casesOnStuckLHS___closed__2; +x_26 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_26; } case 7: { -lean_object* x_26; lean_object* x_27; -x_26 = l_Lean_Meta_casesOnStuckLHS___closed__2; -x_27 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(x_1, x_2, x_3, x_4, x_5, x_26, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_27; +lean_object* x_27; lean_object* x_28; +x_27 = l_Lean_Meta_casesOnStuckLHS___closed__2; +x_28 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_27, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_28; } case 8: { -lean_object* x_28; lean_object* x_29; -x_28 = l_Lean_Meta_casesOnStuckLHS___closed__2; -x_29 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(x_1, x_2, x_3, x_4, x_5, x_28, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_29; +lean_object* x_29; lean_object* x_30; +x_29 = l_Lean_Meta_casesOnStuckLHS___closed__2; +x_30 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_29, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_30; } case 10: { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_16, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); lean_inc(x_31); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_31); +lean_inc(x_32); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_32 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_32) == 0) +x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; uint8_t x_37; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; uint8_t x_38; +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_ptr_addr(x_32); lean_dec(x_32); -x_35 = lean_ptr_addr(x_31); -lean_dec(x_31); -x_36 = lean_ptr_addr(x_33); -x_37 = lean_usize_dec_eq(x_35, x_36); -if (x_37 == 0) +x_37 = lean_ptr_addr(x_34); +x_38 = lean_usize_dec_eq(x_36, x_37); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; -lean_dec(x_16); -x_38 = l_Lean_Expr_mdata___override(x_30, x_33); -x_39 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_38, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -return x_39; +lean_object* x_39; lean_object* x_40; +lean_dec(x_17); +x_39 = l_Lean_Expr_mdata___override(x_31, x_34); +x_40 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_35); +return x_40; } else { -lean_object* x_40; -lean_dec(x_33); -lean_dec(x_30); -x_40 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_34); -return x_40; +lean_object* x_41; +lean_dec(x_34); +lean_dec(x_31); +x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_35); +return x_41; } } else { -uint8_t x_41; +uint8_t x_42; +lean_dec(x_32); lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_41 = !lean_is_exclusive(x_32); -if (x_41 == 0) +x_42 = !lean_is_exclusive(x_33); +if (x_42 == 0) { -return x_32; +return x_33; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_32, 0); -x_43 = lean_ctor_get(x_32, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_33, 0); +x_44 = lean_ctor_get(x_33, 1); +lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_32); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_dec(x_33); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } case 11: { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_45 = lean_ctor_get(x_16, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_16, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_17, 0); lean_inc(x_46); -x_47 = lean_ctor_get(x_16, 2); +x_47 = lean_ctor_get(x_17, 1); lean_inc(x_47); +x_48 = lean_ctor_get(x_17, 2); +lean_inc(x_48); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_47); +lean_inc(x_48); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_48 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_47, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_48) == 0) +x_49 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_48, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_49; lean_object* x_50; size_t x_51; size_t x_52; uint8_t x_53; -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); +lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_ptr_addr(x_48); lean_dec(x_48); -x_51 = lean_ptr_addr(x_47); -lean_dec(x_47); -x_52 = lean_ptr_addr(x_49); -x_53 = lean_usize_dec_eq(x_51, x_52); -if (x_53 == 0) +x_53 = lean_ptr_addr(x_50); +x_54 = lean_usize_dec_eq(x_52, x_53); +if (x_54 == 0) { -lean_object* x_54; lean_object* x_55; -lean_dec(x_16); -x_54 = l_Lean_Expr_proj___override(x_45, x_46, x_49); -x_55 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_54, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_50); -return x_55; +lean_object* x_55; lean_object* x_56; +lean_dec(x_17); +x_55 = l_Lean_Expr_proj___override(x_46, x_47, x_50); +x_56 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_55, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_51); +return x_56; } else { -lean_object* x_56; -lean_dec(x_49); +lean_object* x_57; +lean_dec(x_50); +lean_dec(x_47); lean_dec(x_46); -lean_dec(x_45); -x_56 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_50); -return x_56; +x_57 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_51); +return x_57; } } else { -uint8_t x_57; +uint8_t x_58; +lean_dec(x_48); lean_dec(x_47); lean_dec(x_46); -lean_dec(x_45); -lean_dec(x_16); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_57 = !lean_is_exclusive(x_48); -if (x_57 == 0) +x_58 = !lean_is_exclusive(x_49); +if (x_58 == 0) { -return x_48; +return x_49; } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_48, 0); -x_59 = lean_ctor_get(x_48, 1); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_49, 0); +x_60 = lean_ctor_get(x_49, 1); +lean_inc(x_60); lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_48); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; +lean_dec(x_49); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; } } } default: { -lean_object* x_61; -x_61 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_61; +lean_object* x_62; +x_62 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_62; } } } @@ -33464,133 +33859,136 @@ lean_ctor_set(x_6, 1, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; -lean_inc(x_7); -x_15 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_15, 0, lean_box(0)); -lean_closure_set(x_15, 1, lean_box(0)); -lean_closure_set(x_15, 2, x_7); -lean_inc(x_5); +lean_object* x_16; lean_object* x_17; +lean_inc(x_8); +x_16 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(x_16, 0, lean_box(0)); +lean_closure_set(x_16, 1, lean_box(0)); +lean_closure_set(x_16, 2, x_8); +lean_inc(x_6); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_16 = lean_apply_9(x_5, lean_box(0), x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_16) == 0) +x_17 = lean_apply_9(x_6, lean_box(0), x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_17) == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_6); -x_20 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_18, x_6); -if (lean_obj_tag(x_20) == 0) +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_7); +x_21 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_19, x_7); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_free_object(x_16); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_free_object(x_17); lean_inc(x_1); -lean_inc(x_6); -x_21 = lean_apply_1(x_1, x_6); -x_22 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_22, 0, x_21); -x_23 = lean_box(x_3); +lean_inc(x_7); +x_22 = lean_apply_1(x_1, x_7); +x_23 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_23, 0, x_22); +x_24 = lean_box(x_3); +x_25 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_24 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1___boxed), 15, 6); -lean_closure_set(x_24, 0, x_1); -lean_closure_set(x_24, 1, x_2); -lean_closure_set(x_24, 2, x_23); -lean_closure_set(x_24, 3, x_4); -lean_closure_set(x_24, 4, x_5); -lean_closure_set(x_24, 5, x_6); -x_25 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17___rarg), 10, 2); -lean_closure_set(x_25, 0, x_22); -lean_closure_set(x_25, 1, x_24); +x_26 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1___boxed), 16, 7); +lean_closure_set(x_26, 0, x_1); +lean_closure_set(x_26, 1, x_2); +lean_closure_set(x_26, 2, x_24); +lean_closure_set(x_26, 3, x_25); +lean_closure_set(x_26, 4, x_5); +lean_closure_set(x_26, 5, x_6); +lean_closure_set(x_26, 6, x_7); +x_27 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg), 10, 2); +lean_closure_set(x_27, 0, x_23); +lean_closure_set(x_27, 1, x_26); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_26 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(x_4, lean_box(0), x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_19); -lean_dec(x_4); -if (lean_obj_tag(x_26) == 0) +x_28 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__20(x_5, lean_box(0), x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_20); +lean_dec(x_5); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -lean_inc(x_27); -x_29 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__2), 3, 2); -lean_closure_set(x_29, 0, x_6); -lean_closure_set(x_29, 1, x_27); -x_30 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_30, 0, x_7); -lean_closure_set(x_30, 1, x_29); -x_31 = lean_apply_9(x_5, lean_box(0), x_30, x_8, x_9, x_10, x_11, x_12, x_13, x_28); -if (lean_obj_tag(x_31) == 0) +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_29); +x_31 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__2), 3, 2); +lean_closure_set(x_31, 0, x_7); +lean_closure_set(x_31, 1, x_29); +x_32 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_32, 0, x_8); +lean_closure_set(x_32, 1, x_31); +x_33 = lean_apply_9(x_6, lean_box(0), x_32, x_9, x_10, x_11, x_12, x_13, x_14, x_30); +if (lean_obj_tag(x_33) == 0) { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +uint8_t x_34; +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) { -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_dec(x_33); -lean_ctor_set(x_31, 0, x_27); -return x_31; +lean_object* x_35; +x_35 = lean_ctor_get(x_33, 0); +lean_dec(x_35); +lean_ctor_set(x_33, 0, x_29); +return x_33; } else { -lean_object* x_34; lean_object* x_35; -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_27); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_29); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } else { -uint8_t x_36; -lean_dec(x_27); -x_36 = !lean_is_exclusive(x_31); -if (x_36 == 0) +uint8_t x_38; +lean_dec(x_29); +x_38 = !lean_is_exclusive(x_33); +if (x_38 == 0) { -return x_31; +return x_33; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_31, 0); -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_31); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_33, 0); +x_40 = lean_ctor_get(x_33, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_33); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } else { -uint8_t x_40; +uint8_t x_42; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -33599,30 +33997,30 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_40 = !lean_is_exclusive(x_26); -if (x_40 == 0) +x_42 = !lean_is_exclusive(x_28); +if (x_42 == 0) { -return x_26; +return x_28; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_26, 0); -x_42 = lean_ctor_get(x_26, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_26); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_28, 0); +x_44 = lean_ctor_get(x_28, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_28); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } else { -lean_object* x_44; +lean_object* x_46; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -33632,124 +34030,126 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_44 = lean_ctor_get(x_20, 0); -lean_inc(x_44); -lean_dec(x_20); -lean_ctor_set(x_16, 0, x_44); -return x_16; +x_46 = lean_ctor_get(x_21, 0); +lean_inc(x_46); +lean_dec(x_21); +lean_ctor_set(x_17, 0, x_46); +return x_17; } } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_16, 0); -x_46 = lean_ctor_get(x_16, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_16); -lean_inc(x_6); -x_47 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_45, x_6); -if (lean_obj_tag(x_47) == 0) +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_17, 0); +x_48 = lean_ctor_get(x_17, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_17); +lean_inc(x_7); +x_49 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_47, x_7); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_inc(x_1); -lean_inc(x_6); -x_48 = lean_apply_1(x_1, x_6); -x_49 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_49, 0, x_48); -x_50 = lean_box(x_3); +lean_inc(x_7); +x_50 = lean_apply_1(x_1, x_7); +x_51 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_51, 0, x_50); +x_52 = lean_box(x_3); +x_53 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_51 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1___boxed), 15, 6); -lean_closure_set(x_51, 0, x_1); -lean_closure_set(x_51, 1, x_2); -lean_closure_set(x_51, 2, x_50); -lean_closure_set(x_51, 3, x_4); -lean_closure_set(x_51, 4, x_5); -lean_closure_set(x_51, 5, x_6); -x_52 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17___rarg), 10, 2); -lean_closure_set(x_52, 0, x_49); -lean_closure_set(x_52, 1, x_51); +x_54 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1___boxed), 16, 7); +lean_closure_set(x_54, 0, x_1); +lean_closure_set(x_54, 1, x_2); +lean_closure_set(x_54, 2, x_52); +lean_closure_set(x_54, 3, x_53); +lean_closure_set(x_54, 4, x_5); +lean_closure_set(x_54, 5, x_6); +lean_closure_set(x_54, 6, x_7); +x_55 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg), 10, 2); +lean_closure_set(x_55, 0, x_51); +lean_closure_set(x_55, 1, x_54); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_53 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(x_4, lean_box(0), x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_46); -lean_dec(x_4); -if (lean_obj_tag(x_53) == 0) +x_56 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__20(x_5, lean_box(0), x_55, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_48); +lean_dec(x_5); +if (lean_obj_tag(x_56) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -lean_inc(x_54); -x_56 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__2), 3, 2); -lean_closure_set(x_56, 0, x_6); -lean_closure_set(x_56, 1, x_54); -x_57 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_57, 0, x_7); -lean_closure_set(x_57, 1, x_56); -x_58 = lean_apply_9(x_5, lean_box(0), x_57, x_8, x_9, x_10, x_11, x_12, x_13, x_55); -if (lean_obj_tag(x_58) == 0) +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +lean_inc(x_57); +x_59 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__2), 3, 2); +lean_closure_set(x_59, 0, x_7); +lean_closure_set(x_59, 1, x_57); +x_60 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_60, 0, x_8); +lean_closure_set(x_60, 1, x_59); +x_61 = lean_apply_9(x_6, lean_box(0), x_60, x_9, x_10, x_11, x_12, x_13, x_14, x_58); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_60 = x_58; +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_63 = x_61; } else { - lean_dec_ref(x_58); - x_60 = lean_box(0); + lean_dec_ref(x_61); + x_63 = lean_box(0); } -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(0, 2, 0); } else { - x_61 = x_60; + x_64 = x_63; } -lean_ctor_set(x_61, 0, x_54); -lean_ctor_set(x_61, 1, x_59); -return x_61; +lean_ctor_set(x_64, 0, x_57); +lean_ctor_set(x_64, 1, x_62); +return x_64; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -lean_dec(x_54); -x_62 = lean_ctor_get(x_58, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_58, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_64 = x_58; +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +lean_dec(x_57); +x_65 = lean_ctor_get(x_61, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_67 = x_61; } else { - lean_dec_ref(x_58); - x_64 = lean_box(0); + lean_dec_ref(x_61); + x_67 = lean_box(0); } -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_67)) { + x_68 = lean_alloc_ctor(1, 2, 0); } else { - x_65 = x_64; + x_68 = x_67; } -lean_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_63); -return x_65; +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_66); +return x_68; } } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -33758,32 +34158,32 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_66 = lean_ctor_get(x_53, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_53, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_68 = x_53; +x_69 = lean_ctor_get(x_56, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_56, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_56)) { + lean_ctor_release(x_56, 0); + lean_ctor_release(x_56, 1); + x_71 = x_56; } else { - lean_dec_ref(x_53); - x_68 = lean_box(0); + lean_dec_ref(x_56); + x_71 = lean_box(0); } -if (lean_is_scalar(x_68)) { - x_69 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); } else { - x_69 = x_68; + x_72 = x_71; } -lean_ctor_set(x_69, 0, x_66); -lean_ctor_set(x_69, 1, x_67); -return x_69; +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +return x_72; } } else { -lean_object* x_70; lean_object* x_71; +lean_object* x_73; lean_object* x_74; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -33793,22 +34193,22 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_70 = lean_ctor_get(x_47, 0); -lean_inc(x_70); -lean_dec(x_47); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_46); -return x_71; +x_73 = lean_ctor_get(x_49, 0); +lean_inc(x_73); +lean_dec(x_49); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_48); +return x_74; } } } else { -uint8_t x_72; +uint8_t x_75; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -33818,26 +34218,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_16); -if (x_72 == 0) +x_75 = !lean_is_exclusive(x_17); +if (x_75 == 0) { -return x_16; +return x_17; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_16, 0); -x_74 = lean_ctor_get(x_16, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_16); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_17, 0); +x_77 = lean_ctor_get(x_17, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_17); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } } @@ -33884,73 +34283,73 @@ x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_12 = lean_box(0); -x_13 = l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___closed__1; -x_14 = l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___closed__2; -x_15 = lean_st_mk_ref(x_14, x_11); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_box(0); +x_14 = l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___closed__1; +x_15 = l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___closed__2; +x_16 = lean_st_mk_ref(x_15, x_12); +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -lean_inc(x_16); -x_18 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_2, x_3, x_4, x_12, x_13, x_1, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_18) == 0) +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_17); +x_19 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_2, x_3, x_4, x_5, x_13, x_14, x_1, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_st_ref_get(x_16, x_20); -lean_dec(x_16); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_st_ref_get(x_17, x_21); +lean_dec(x_17); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -lean_ctor_set(x_21, 0, x_19); -return x_21; +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +lean_ctor_set(x_22, 0, x_20); +return x_22; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_20); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } else { -uint8_t x_26; -lean_dec(x_16); -x_26 = !lean_is_exclusive(x_18); -if (x_26 == 0) +uint8_t x_27; +lean_dec(x_17); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) { -return x_18; +return x_19; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_18, 0); -x_28 = lean_ctor_get(x_18, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_18); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_dec(x_19); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -34702,7 +35101,7 @@ x_10 = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_M lean_closure_set(x_10, 0, x_1); x_11 = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___closed__1; x_12 = 0; -x_13 = l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6(x_2, x_10, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6(x_2, x_10, x_11, x_12, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } } @@ -35005,14 +35404,16 @@ x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Met return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__8(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__12___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -35036,24 +35437,45 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___lambda__1(x_1, x_2, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__9(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__13___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -35077,24 +35499,45 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___lambda__1(x_1, x_2, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__10(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -35116,55 +35559,180 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_4); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_4); lean_dec(x_4); -x_18 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1(x_1, x_2, x_3, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_5); +lean_dec(x_5); +x_20 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___lambda__1(x_1, x_2, x_3, x_18, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__11(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_19 = lean_unbox_usize(x_7); +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = lean_unbox_usize(x_7); lean_dec(x_7); -x_20 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15(x_1, x_2, x_17, x_4, x_5, x_18, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_20; +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__15(x_1, x_2, x_18, x_19, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__16(x_1, x_2, x_18, x_19, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +x_18 = lean_unbox(x_3); +lean_dec(x_3); +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_21 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_22 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__17(x_1, x_2, x_18, x_19, x_5, x_6, x_20, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_3); +lean_dec(x_3); +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = l_Lean_Expr_withAppAux___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(x_1, x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -35172,42 +35740,46 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__19(x_1, x_2); +x_3 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__21(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__20(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___lambda__1(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__7(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -35224,14 +35796,16 @@ lean_dec(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_4); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_4); lean_dec(x_4); -x_13 = l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_5); +lean_dec(x_5); +x_15 = l_Lean_Meta_transform___at___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___spec__6(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkSplitterProof_convertTemplate___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -37119,7 +37693,7 @@ lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -x_54 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_50, x_52, x_53, x_46, x_21, x_22, x_23, x_24, x_51); +x_54 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_50, x_52, x_53, x_46, x_46, x_21, x_22, x_23, x_24, x_51); if (lean_obj_tag(x_54) == 0) { lean_object* x_55; lean_object* x_56; lean_object* x_57; @@ -40257,7 +40831,7 @@ lean_dec(x_3); return x_5; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__1() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__1() { _start: { lean_object* x_1; @@ -40265,37 +40839,37 @@ x_1 = lean_mk_string_from_bytes("Lean", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__2() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__1; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__3() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__2; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__2; x_2 = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__4() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__3; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__3; x_2 = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__5() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__5() { _start: { lean_object* x_1; @@ -40303,17 +40877,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__6() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__4; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__5; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__4; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__7() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__7() { _start: { lean_object* x_1; @@ -40321,47 +40895,47 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__8() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__6; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__7; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__6; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__9() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__8; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__1; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__8; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__10() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__9; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__9; x_2 = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__11() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__10; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__10; x_2 = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__12() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__12() { _start: { lean_object* x_1; @@ -40369,17 +40943,17 @@ x_1 = lean_mk_string_from_bytes("MatchEqs", 8); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__13() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__11; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__12; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__11; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__12; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__14() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__14() { _start: { lean_object* x_1; @@ -40387,33 +40961,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__15() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__13; -x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__14; +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__13; +x_2 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__16() { +static lean_object* _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__15; -x_2 = lean_unsigned_to_nat(15535u); +x_1 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__15; +x_2 = lean_unsigned_to_nat(15544u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_simpH_x3f___lambda__3___closed__4; x_3 = 0; -x_4 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__16; +x_4 = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__16; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -40859,39 +41433,39 @@ l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec__2___closed__2 = _init_l_Lean_PersistentHashMap_findAux___at_Lean_Meta_Match_getEquationsForImpl___spec__2___closed__2(); l_Lean_Meta_Match_getEquationsForImpl___closed__1 = _init_l_Lean_Meta_Match_getEquationsForImpl___closed__1(); lean_mark_persistent(l_Lean_Meta_Match_getEquationsForImpl___closed__1); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__1(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__1); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__2(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__2); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__3(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__3); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__4(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__4); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__5(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__5); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__6(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__6); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__7 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__7(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__7); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__8 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__8(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__8); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__9 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__9(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__9); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__10 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__10(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__10); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__11 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__11(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__11); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__12 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__12(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__12); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__13 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__13(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__13); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__14 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__14(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__14); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__15 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__15(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__15); -l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__16 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__16(); -lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535____closed__16); -if (builtin) {res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15535_(lean_io_mk_world()); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__1 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__1(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__1); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__2 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__2(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__2); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__3 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__3(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__3); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__4 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__4(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__4); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__5 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__5(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__5); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__6 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__6(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__6); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__7 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__7(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__7); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__8 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__8(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__8); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__9 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__9(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__9); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__10 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__10(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__10); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__11 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__11(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__11); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__12 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__12(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__12); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__13 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__13(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__13); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__14 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__14(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__14); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__15 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__15(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__15); +l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__16 = _init_l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__16(); +lean_mark_persistent(l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544____closed__16); +if (builtin) {res = l_Lean_Meta_Match_initFn____x40_Lean_Meta_Match_MatchEqs___hyg_15544_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/PPGoal.c b/stage0/stdlib/Lean/Meta/PPGoal.c index ca08d883aa61..107f90e5591e 100644 --- a/stage0/stdlib/Lean/Meta/PPGoal.c +++ b/stage0/stdlib/Lean/Meta/PPGoal.c @@ -103,7 +103,6 @@ static lean_object* l_Lean_Meta_ppGoal_pushPending___closed__1; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_50____closed__1; lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_simp_macro_scopes(lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_130____closed__2; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_50____closed__3; @@ -116,6 +115,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal_ppVars___boxed(lean_object*, lean_ob static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_90____closed__2; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_6____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ppGoal___lambda__1(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_List_reverse___rarg(lean_object*); @@ -135,7 +135,6 @@ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_6____closed uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_LocalContext_sanitizeNames(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_ppGoal_ppVars___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__13___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_array_get(lean_object*, lean_object*, lean_object*); @@ -143,6 +142,7 @@ static lean_object* l_Lean_Meta_ppGoal___closed__2; static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_50____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_PPGoal___hyg_6_(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__6(lean_object*, uint8_t, uint8_t, uint8_t, 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_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_ppGoal___spec__5(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Meta_ppGoal___spec__11(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); @@ -757,7 +757,7 @@ lean_dec(x_5); return x_10; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -875,13 +875,13 @@ lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; x_17 = lean_ctor_get(x_15, 0); x_18 = lean_ctor_get(x_15, 1); x_19 = lean_box(0); -x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_19); +x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_19); if (x_20 == 0) { lean_object* x_21; uint8_t x_22; x_21 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_21, 0, x_17); -x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_21); +x_22 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_21); if (x_22 == 0) { lean_object* x_23; @@ -1007,13 +1007,13 @@ lean_inc(x_49); lean_inc(x_48); lean_dec(x_15); x_50 = lean_box(0); -x_51 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_50); +x_51 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_50); if (x_51 == 0) { lean_object* x_52; uint8_t x_53; x_52 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_52, 0, x_48); -x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_52); +x_53 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_4, x_52); if (x_53 == 0) { lean_object* x_54; @@ -1306,11 +1306,11 @@ return x_123; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); diff --git a/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c index aa3bc68ea541..51be649dc062 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c +++ b/stage0/stdlib/Lean/Meta/Tactic/LinearArith/Solver.c @@ -13,26 +13,34 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3593____boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____boxed(lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__2; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__2; +static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_get_x3f(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__5; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_Linear_Cnstr_getBound___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqCnstrKind___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435_(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instReprVar___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__8; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__8; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__20; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_assignment___default; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__17; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprCnstr; static lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_resolve(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_size___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__18; +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4124_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprAssumptionId; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__9; -LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__2; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__6; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__19; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Linear_getBestBound_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqJustification(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Linear_Poly_eval_x3f___spec__1___closed__1; @@ -41,173 +49,177 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_currVar___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableLtVarInstLTVar___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instBEqCnstrKind; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___lambda__1___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__5; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__8; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4557____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedState; +static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add___boxed(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5008_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__12; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__6; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__18; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_currVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_size___boxed(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__2; -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__1(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_Cnstr_isStrict(lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqPoly___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__3; uint8_t lean_usize_dec_eq(size_t, size_t); extern uint8_t l_instInhabitedBool; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__6; +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3511_(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__1; +static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__6; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instInhabitedCnstrKind; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_ordVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_23____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___closed__3; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_CnstrKind_ofNat(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__11; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instReprPoly___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Linear_Poly_eval_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instBEqJustification; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__22; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__16; LEAN_EXPORT lean_object* l_panic___at_Lean_Meta_Linear_Cnstr_isUnsat___spec__1(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__9; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqCnstrKind(uint8_t, uint8_t); static lean_object* l_Lean_Meta_Linear_instOrdVar___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__2; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__1; static lean_object* l_Lean_Meta_Linear_Assignment_val___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instBEqCnstr; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__8; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_getBestBound_x3f(lean_object*, lean_object*, uint8_t, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedJustification; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__9; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__21; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__15; lean_object* l_Lean_Rat_add(lean_object*, lean_object*); uint8_t l___private_Lean_Data_Rat_0__Lean_beqRat____x40_Lean_Data_Rat___hyg_37_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___lambda__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431_(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instInhabitedState___closed__1; +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4557_(uint8_t, uint8_t); static lean_object* l_Lean_Meta_Linear_instBEqCnstrKind___closed__1; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__12; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__17; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getNumVars___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_AssumptionId_id___default; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__7; -static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__5; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__14; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__3; static lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVarCoeff(lean_object*); -static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__1; +static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__6; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__20; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__2; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4759____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__11; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__14; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__21; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3703____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__3; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__3; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__19; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__7; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__1; static lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_getBound___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__4(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____boxed(lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_Linear_getBestBound_x3f___spec__1(lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4795_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_ordVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_23_(lean_object*, lean_object*); lean_object* l_Lean_Rat_inv(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__24; static lean_object* l_Lean_Meta_Linear_Poly_getMaxVarCoeff___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3593_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__5; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instOrdVar; +static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__7; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__10; static lean_object* l_Lean_Meta_Linear_Poly_add_go___closed__1; -static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instInhabitedCnstr___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__6; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__7; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__15; +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5060_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_pickAssignment_x3f(lean_object*, uint8_t, lean_object*, uint8_t); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__7; uint8_t l_Array_instDecidableEqArray___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__1; static lean_object* l_Lean_Meta_Linear_instReprCnstrKind___closed__1; -LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__3; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__3; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__14; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__7; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__23; lean_object* lean_array_to_list(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instReprAssumptionId___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__10; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqCnstr___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4088____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestUpperBound_x3f___boxed(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__8; static lean_object* l_Lean_Meta_Linear_instReprJustification___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__3; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__4; +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_scale(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_solve(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Meta_Linear_Cnstr_getBound___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqVar(lean_object*, lean_object*); lean_object* l_Int_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprJustification; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4521____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedAssumptionId; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3511____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__8; +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_98____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqJustification___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedVar; static lean_object* l_Lean_Meta_Linear_instBEqJustification___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__16; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__11; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqCnstr(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__4; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__1; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__3; LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqPoly(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestUpperBound_x3f(lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedAssignment; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_size(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprPoly; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3691_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4795____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__3; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_get___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__19; -static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__8; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__6; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3503____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4; -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__3(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__13; +static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__3; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__3; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5060____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVarCoeff___boxed(lean_object*); static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__1; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__17; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getNumVars(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprCnstrKind; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_shrink___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_combine_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__18; -static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_98_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__20; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__12; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__5; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__6; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3605_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_scale___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__7; -static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVar(lean_object*); lean_object* lean_int_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Linear_Poly_scale___spec__1(lean_object*, size_t, size_t, lean_object*); @@ -215,114 +227,102 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_toCtorIdx___boxed(lean_obj LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_shrink(lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqAssumptionId(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__13; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_instBEqCnstr___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestLowerBound_x3f(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__4; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__9; +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3703_(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4088_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_getBound(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__5; lean_object* l_instDecidableEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instLTVar; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_getBestLowerBound_x3f___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5008____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Cnstr_isStrict___boxed(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__8; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__13; lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__13; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10; static lean_object* l_Lean_Meta_Linear_instReprCnstr___closed__1; uint8_t l_Lean_Rat_lt(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_pickAssignment_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedCnstr; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__2; lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__23; lean_object* l_Lean_Rat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_noConfusion___rarg___lambda__1(lean_object*); lean_object* l_Repr_addAppParen(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_getBestBound_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__17; uint8_t lean_int_dec_lt(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqAssumptionId___boxed(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__15; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__12; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_Linear_Poly_scale___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Cnstr_isUnsat___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3605____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_resolve___closed__1; lean_object* l_Lean_Rat_floor(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_size(lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__5; lean_object* l_Nat_decEq___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__15; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add(lean_object*, lean_object*); lean_object* l_Array_back___rarg(lean_object*, lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Rat_ceil(lean_object*); -static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__4; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__2; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__2; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__24; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581_(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_resolve___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instInhabitedPoly; size_t lean_usize_add(size_t, size_t); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__12; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__8; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Linear_Poly_eval_x3f___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); uint8_t l_Lean_Rat_instDecidableLeRatInstLERat(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_get_x3f___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__11; lean_object* lean_int_add(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__16; +static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__8; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__4; uint8_t lean_int_dec_eq(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__7; uint8_t l_Lean_Rat_isInt(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__16; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__11; extern lean_object* l_Int_instInhabitedInt; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__4(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3691____boxed(lean_object*, lean_object*); lean_object* l_Lean_Rat_sub(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__18; lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__1; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3503_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_ofNat___boxed(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__5; lean_object* lean_int_neg(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____closed__1; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__4; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Int_decEq___boxed(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_add_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableLtVarInstLTVar(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__10; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Assignment_val___default; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instReprVar; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_State_assignCurr(lean_object*, lean_object*); -static lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__6; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__3; +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Linear_instDecidableEqVar___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Linear_Poly_eval_x3f___closed__1; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__20; -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4521_(uint8_t, uint8_t); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__6; -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__2; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__4; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__14; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_Poly_getMaxVar___boxed(lean_object*); -static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__10; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Linear_CnstrKind_toCtorIdx(uint8_t); lean_object* l_Nat_repr(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545_(uint8_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4759_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__19; +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4124____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__10; +static lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__22; static lean_object* _init_l_Lean_Meta_Linear_instInhabitedVar() { _start: { @@ -426,7 +426,7 @@ x_4 = lean_box(x_3); return x_4; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__1() { _start: { lean_object* x_1; @@ -434,29 +434,29 @@ x_1 = lean_mk_string_from_bytes("id", 2); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__2; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__2; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__4() { _start: { lean_object* x_1; @@ -464,29 +464,29 @@ x_1 = lean_mk_string_from_bytes(" := ", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__4; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__4; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__3; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__3; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__5; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -495,7 +495,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__8() { _start: { lean_object* x_1; @@ -503,35 +503,35 @@ x_1 = lean_mk_string_from_bytes("{ ", 2); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__8; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__9; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__9; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__8; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__12() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__12() { _start: { lean_object* x_1; @@ -539,24 +539,24 @@ x_1 = lean_mk_string_from_bytes(" }", 2); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__12; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__12; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_3 = l_Nat_repr(x_1); x_4 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_4, 0, x_3); -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__7; +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__7; x_6 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_6, 0, x_5); lean_ctor_set(x_6, 1, x_4); @@ -564,19 +564,19 @@ x_7 = 0; x_8 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_8, 0, x_6); lean_ctor_set_uint8(x_8, sizeof(void*)*1, x_7); -x_9 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__6; +x_9 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__6; x_10 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11; +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11; x_12 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13; +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13; x_14 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10; +x_15 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10; x_16 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -586,11 +586,11 @@ lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_7); return x_17; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -599,7 +599,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprVar___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____boxed), 2, 0); return x_1; } } @@ -746,7 +746,7 @@ x_1 = l_Lean_Meta_Linear_Assignment_val___default___closed__1; return x_1; } } -static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__1() { +static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__1() { _start: { lean_object* x_1; @@ -754,21 +754,21 @@ x_1 = lean_mk_string_from_bytes(",", 1); return x_1; } } -static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__2() { +static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__1; +x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__3() { +static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__2; +x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__2; x_2 = lean_box(1); x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -776,7 +776,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__4() { +static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__4() { _start: { lean_object* x_1; @@ -784,35 +784,35 @@ x_1 = lean_mk_string_from_bytes("(", 1); return x_1; } } -static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__5() { +static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__4; +x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__4; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__6() { +static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__5; +x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__5; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__7() { +static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__4; +x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__4; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__8() { +static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__8() { _start: { lean_object* x_1; @@ -820,17 +820,17 @@ x_1 = lean_mk_string_from_bytes(")", 1); return x_1; } } -static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__9() { +static lean_object* _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__8; +x_1 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__8; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; @@ -848,22 +848,22 @@ x_8 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 1, x_7); x_9 = lean_unsigned_to_nat(0u); -x_10 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188_(x_4, x_9); +x_10 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192_(x_4, x_9); x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_8); x_12 = l_List_reverse___rarg(x_11); -x_13 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__3; +x_13 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__3; x_14 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_12, x_13); -x_15 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__7; +x_15 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__7; x_16 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); -x_17 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__9; +x_17 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__9; x_18 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__6; +x_19 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__6; x_20 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_20, 0, x_19); lean_ctor_set(x_20, 1, x_18); @@ -874,16 +874,16 @@ lean_ctor_set_uint8(x_22, sizeof(void*)*1, x_21); return x_22; } } -LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2(x_1, x_2); +x_3 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_3) == 0) @@ -904,7 +904,7 @@ x_6 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_6, 0, x_2); lean_ctor_set(x_6, 1, x_1); x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2(x_4, x_7); +x_8 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2(x_4, x_7); x_9 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_9, 0, x_6); lean_ctor_set(x_9, 1, x_8); @@ -914,7 +914,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -937,7 +937,7 @@ x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); lean_dec(x_1); x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2(x_5, x_6); +x_7 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2(x_5, x_6); return x_7; } else @@ -947,14 +947,14 @@ x_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); lean_dec(x_1); x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2(x_8, x_9); -x_11 = l_List_foldl___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__4(x_2, x_10, x_4); +x_10 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2(x_8, x_9); +x_11 = l_List_foldl___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__4(x_2, x_10, x_4); return x_11; } } } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__1() { _start: { lean_object* x_1; @@ -962,41 +962,41 @@ x_1 = lean_mk_string_from_bytes("val", 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__2; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__2; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__3; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__3; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__5; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -1005,7 +1005,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__6() { _start: { lean_object* x_1; @@ -1013,35 +1013,35 @@ x_1 = lean_mk_string_from_bytes("#[", 2); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__6; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__6; x_2 = lean_string_length(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__7; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__7; x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__6; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__6; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__10() { _start: { lean_object* x_1; @@ -1049,17 +1049,17 @@ x_1 = lean_mk_string_from_bytes("]", 1); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__11() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__10; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__10; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__12() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__12() { _start: { lean_object* x_1; @@ -1067,33 +1067,33 @@ x_1 = lean_mk_string_from_bytes("#[]", 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__13() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__12; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__12; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__14() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__13; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__13; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__15() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__15() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__14; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__14; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -1101,59 +1101,59 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__16() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__15; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__15; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__17() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__16; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__16; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__18() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__17; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__17; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__19() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__18; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__18; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__20() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__20() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__19; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__19; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -1161,7 +1161,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -1173,17 +1173,17 @@ if (x_5 == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; x_6 = lean_array_to_list(lean_box(0), x_1); -x_7 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__3; -x_8 = l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__3(x_6, x_7); -x_9 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__9; +x_7 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__3; +x_8 = l_Std_Format_joinSep___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__3(x_6, x_7); +x_9 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__9; x_10 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__11; +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__11; x_12 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__8; +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__8; x_14 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); @@ -1191,7 +1191,7 @@ x_15 = 1; x_16 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_16, 0, x_14); lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_15); -x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__5; +x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__5; x_18 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); @@ -1199,19 +1199,19 @@ x_19 = 0; x_20 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_20, 0, x_18); lean_ctor_set_uint8(x_20, sizeof(void*)*1, x_19); -x_21 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__4; +x_21 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__4; x_22 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); -x_23 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11; +x_23 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11; x_24 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); -x_25 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13; +x_25 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13; x_26 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10; +x_27 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10; x_28 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); @@ -1224,25 +1224,25 @@ else { lean_object* x_30; lean_dec(x_1); -x_30 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__20; +x_30 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__20; return x_30; } } } -LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2(x_1, x_2); +x_3 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2(x_1, x_2); lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -1251,7 +1251,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprPoly___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____boxed), 2, 0); return x_1; } } @@ -1263,7 +1263,7 @@ x_1 = l_Lean_Meta_Linear_instReprPoly___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -1271,7 +1271,7 @@ x_1 = lean_alloc_closure((void*)(l_Int_decEq___boxed), 2, 0); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__2() { _start: { lean_object* x_1; @@ -1279,38 +1279,38 @@ x_1 = lean_alloc_closure((void*)(l_Nat_decEq___boxed), 2, 0); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__1; -x_4 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__2; +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__1; +x_4 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__2; x_5 = l_instDecidableEqProd___rarg(x_3, x_4, x_1, x_2); return x_5; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1), 2, 0); return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____closed__1; +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____closed__1; x_4 = l_Array_instDecidableEqArray___rarg(x_3, x_1, x_2); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -1321,7 +1321,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqPoly(lean_object* x_1, lea _start: { lean_object* x_3; uint8_t x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____closed__1; +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____closed__1; x_4 = l_Array_instDecidableEqArray___rarg(x_3, x_1, x_2); return x_4; } @@ -2484,7 +2484,7 @@ x_1 = lean_unsigned_to_nat(0u); return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3503_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3511_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -2492,11 +2492,11 @@ x_3 = lean_nat_dec_eq(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3503____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3511____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3503_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3511_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2522,14 +2522,14 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3593_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3605_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_3 = l_Nat_repr(x_1); x_4 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_4, 0, x_3); -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__7; +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__7; x_6 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_6, 0, x_5); lean_ctor_set(x_6, 1, x_4); @@ -2537,19 +2537,19 @@ x_7 = 0; x_8 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_8, 0, x_6); lean_ctor_set_uint8(x_8, sizeof(void*)*1, x_7); -x_9 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__6; +x_9 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__6; x_10 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11; +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11; x_12 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13; +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13; x_14 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10; +x_15 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10; x_16 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -2559,11 +2559,11 @@ lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_7); return x_17; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3593____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3605____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3593_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3605_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -2572,7 +2572,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprAssumptionId___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3593____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3605____boxed), 2, 0); return x_1; } } @@ -2602,7 +2602,7 @@ x_1 = l_Lean_Meta_Linear_instInhabitedJustification___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3691_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3703_(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2628,7 +2628,7 @@ return x_12; else { uint8_t x_13; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3691_(x_4, x_8); +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3703_(x_4, x_8); if (x_13 == 0) { uint8_t x_14; @@ -2680,11 +2680,11 @@ return x_22; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3691____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3703____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3691_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3703_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2695,7 +2695,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqJustification(lean_object* _start: { uint8_t x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3691_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3703_(x_1, x_2); return x_3; } } @@ -2710,7 +2710,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4088_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4124_(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2736,7 +2736,7 @@ return x_12; else { uint8_t x_13; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4088_(x_4, x_8); +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4124_(x_4, x_8); if (x_13 == 0) { uint8_t x_14; @@ -2788,11 +2788,11 @@ return x_22; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4088____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4124____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4088_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4124_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2803,7 +2803,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instBEqJustification___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4088____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4124____boxed), 2, 0); return x_1; } } @@ -2815,7 +2815,7 @@ x_1 = l_Lean_Meta_Linear_instBEqJustification___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__1() { _start: { lean_object* x_1; @@ -2823,21 +2823,21 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.Linear.Justification.combine", 38); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__2; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__2; x_2 = lean_box(1); x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2845,7 +2845,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -2854,7 +2854,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -2863,7 +2863,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__6() { _start: { lean_object* x_1; @@ -2871,21 +2871,21 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.Linear.Justification.assumption", 41) return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__6; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__6; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__7; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__7; x_2 = lean_box(1); x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2893,7 +2893,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284_(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2914,7 +2914,7 @@ x_9 = l_Int_repr(x_3); lean_dec(x_3); x_10 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_10, 0, x_9); -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__3; +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__3; x_12 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); @@ -2922,7 +2922,7 @@ x_13 = lean_box(1); x_14 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248_(x_4, x_7); +x_15 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284_(x_4, x_7); x_16 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -2939,14 +2939,14 @@ lean_ctor_set(x_20, 1, x_19); x_21 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_21, 0, x_20); lean_ctor_set(x_21, 1, x_13); -x_22 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248_(x_6, x_7); +x_22 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284_(x_6, x_7); x_23 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); if (x_8 == 0) { lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; -x_24 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4; +x_24 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4; x_25 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -2960,7 +2960,7 @@ return x_28; else { lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; -x_29 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5; +x_29 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5; x_30 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_23); @@ -2980,15 +2980,15 @@ lean_inc(x_34); lean_dec(x_1); x_35 = lean_unsigned_to_nat(1024u); x_36 = lean_nat_dec_le(x_35, x_2); -x_37 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3593_(x_34, x_35); -x_38 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__8; +x_37 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprAssumptionId____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3605_(x_34, x_35); +x_38 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__8; x_39 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); if (x_36 == 0) { lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; -x_40 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4; +x_40 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4; x_41 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -3002,7 +3002,7 @@ return x_44; else { lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; -x_45 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5; +x_45 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5; x_46 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_39); @@ -3016,11 +3016,11 @@ return x_49; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -3029,7 +3029,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprJustification___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____boxed), 2, 0); return x_1; } } @@ -3220,7 +3220,7 @@ x_6 = lean_box(x_5); return x_6; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4521_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4557_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -3232,7 +3232,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4521____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4557____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -3240,7 +3240,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4521_(x_3, x_4); +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4557_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -3249,7 +3249,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instBEqCnstrKind___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4521____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4557____boxed), 2, 0); return x_1; } } @@ -3261,7 +3261,7 @@ x_1 = l_Lean_Meta_Linear_instBEqCnstrKind___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__1() { _start: { lean_object* x_1; @@ -3269,33 +3269,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.Linear.CnstrKind.eq", 29); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__2; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__2; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__4() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__3; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__3; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3303,23 +3303,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__2; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__2; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__6() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__5; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3327,7 +3327,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__7() { _start: { lean_object* x_1; @@ -3335,33 +3335,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.Linear.CnstrKind.div", 30); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__7; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__7; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__8; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__10() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__9; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__9; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3369,23 +3369,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__11() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__8; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__12() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__11; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3393,7 +3393,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__13() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__13() { _start: { lean_object* x_1; @@ -3401,33 +3401,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.Linear.CnstrKind.lt", 29); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__14() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__13; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__13; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__15() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__14; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__14; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__16() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__16() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__15; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__15; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3435,23 +3435,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__17() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__14; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__14; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__18() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__17; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3459,7 +3459,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__19() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__19() { _start: { lean_object* x_1; @@ -3467,33 +3467,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.Linear.CnstrKind.le", 29); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__20() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__19; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__19; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__21() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__20; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__20; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__22() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__22() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__21; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__21; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3501,23 +3501,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__23() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__20; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__20; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__24() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__24() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__23; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -3525,7 +3525,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -3537,14 +3537,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__4; +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__4; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__6; +x_7 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__6; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -3557,14 +3557,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__10; +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__10; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__12; +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__12; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -3577,14 +3577,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__16; +x_17 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__16; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__18; +x_19 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__18; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -3597,14 +3597,14 @@ x_22 = lean_nat_dec_le(x_21, x_2); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; -x_23 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__22; +x_23 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__22; x_24 = l_Repr_addAppParen(x_23, x_2); return x_24; } else { lean_object* x_25; lean_object* x_26; -x_25 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__24; +x_25 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__24; x_26 = l_Repr_addAppParen(x_25, x_2); return x_26; } @@ -3612,13 +3612,13 @@ return x_26; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545_(x_3, x_2); +x_4 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -3627,7 +3627,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprCnstrKind___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____boxed), 2, 0); return x_1; } } @@ -3663,7 +3663,7 @@ x_1 = l_Lean_Meta_Linear_instInhabitedCnstr___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4759_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4795_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -3685,7 +3685,7 @@ return x_12; else { lean_object* x_13; uint8_t x_14; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____closed__1; +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____closed__1; x_14 = l_Array_instDecidableEqArray___rarg(x_13, x_4, x_8); if (x_14 == 0) { @@ -3706,18 +3706,18 @@ return x_17; else { uint8_t x_18; -x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3691_(x_6, x_10); +x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_3703_(x_6, x_10); return x_18; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4759____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4795____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4759_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4795_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -3728,7 +3728,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Linear_instDecidableEqCnstr(lean_object* x_1, le _start: { uint8_t x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4759_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4795_(x_1, x_2); return x_3; } } @@ -3743,7 +3743,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5008_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5060_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -3755,7 +3755,7 @@ x_7 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); x_8 = lean_ctor_get(x_2, 0); x_9 = lean_ctor_get(x_2, 1); x_10 = lean_ctor_get(x_2, 2); -x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4521_(x_3, x_7); +x_11 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4557_(x_3, x_7); if (x_11 == 0) { uint8_t x_12; @@ -3765,7 +3765,7 @@ return x_12; else { lean_object* x_13; uint8_t x_14; -x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____closed__1; +x_13 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____closed__1; x_14 = l_Array_instDecidableEqArray___rarg(x_13, x_4, x_8); if (x_14 == 0) { @@ -3786,18 +3786,18 @@ return x_17; else { uint8_t x_18; -x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4088_(x_6, x_10); +x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4124_(x_6, x_10); return x_18; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5008____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5060____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5008_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5060_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -3808,7 +3808,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instBEqCnstr___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5008____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_beqCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5060____boxed), 2, 0); return x_1; } } @@ -3820,7 +3820,7 @@ x_1 = l_Lean_Meta_Linear_instBEqCnstr___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__1() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__1() { _start: { lean_object* x_1; @@ -3828,41 +3828,41 @@ x_1 = lean_mk_string_from_bytes("kind", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__2() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__1; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__1; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__3() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__2; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__2; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__4() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__3; -x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__3; +x_2 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__5; x_3 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__5() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -3871,7 +3871,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__6() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__6() { _start: { lean_object* x_1; @@ -3879,17 +3879,17 @@ x_1 = lean_mk_string_from_bytes("lhs", 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__7() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__6; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__6; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__8() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__8() { _start: { lean_object* x_1; @@ -3897,17 +3897,17 @@ x_1 = lean_mk_string_from_bytes("rhs", 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__9() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__8; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__8; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__10() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__10() { _start: { lean_object* x_1; @@ -3915,24 +3915,24 @@ x_1 = lean_mk_string_from_bytes("jst", 3); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__11() { +static lean_object* _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__10; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__10; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_4 = lean_unsigned_to_nat(0u); -x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545_(x_3, x_4); -x_6 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__5; +x_5 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581_(x_3, x_4); +x_6 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__5; x_7 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -3940,11 +3940,11 @@ x_8 = 0; x_9 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_9, 0, x_7); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8); -x_10 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__4; +x_10 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__4; x_11 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__2; +x_12 = l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__2; x_13 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); @@ -3952,18 +3952,18 @@ x_14 = lean_box(1); x_15 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__7; +x_16 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__7; x_17 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__5; +x_18 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__5; x_19 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); x_20 = lean_ctor_get(x_1, 0); lean_inc(x_20); -x_21 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431_(x_20, x_4); -x_22 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__5; +x_21 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435_(x_20, x_4); +x_22 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__5; x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); @@ -3979,7 +3979,7 @@ lean_ctor_set(x_26, 1, x_12); x_27 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_14); -x_28 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__9; +x_28 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__9; x_29 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); @@ -4007,7 +4007,7 @@ lean_ctor_set(x_37, 1, x_12); x_38 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_14); -x_39 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__11; +x_39 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__11; x_40 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_40, 0, x_38); lean_ctor_set(x_40, 1, x_39); @@ -4017,7 +4017,7 @@ lean_ctor_set(x_41, 1, x_18); x_42 = lean_ctor_get(x_1, 2); lean_inc(x_42); lean_dec(x_1); -x_43 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248_(x_42, x_4); +x_43 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284_(x_42, x_4); x_44 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_44, 0, x_22); lean_ctor_set(x_44, 1, x_43); @@ -4027,15 +4027,15 @@ lean_ctor_set_uint8(x_45, sizeof(void*)*1, x_8); x_46 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_46, 0, x_41); lean_ctor_set(x_46, 1, x_45); -x_47 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11; +x_47 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11; x_48 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_46); -x_49 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13; +x_49 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13; x_50 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_50, 0, x_48); lean_ctor_set(x_50, 1, x_49); -x_51 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10; +x_51 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10; x_52 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); @@ -4045,11 +4045,11 @@ lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_8); return x_53; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136_(x_1, x_2); +x_3 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -4058,7 +4058,7 @@ static lean_object* _init_l_Lean_Meta_Linear_instReprCnstr___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____boxed), 2, 0); return x_1; } } @@ -4955,7 +4955,7 @@ static lean_object* _init_l_Lean_Meta_Linear_pickAssignment_x3f___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4; x_2 = lean_unsigned_to_nat(1u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4976,7 +4976,7 @@ static lean_object* _init_l_Lean_Meta_Linear_pickAssignment_x3f___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5; +x_1 = l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5; x_2 = lean_unsigned_to_nat(1u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -6040,32 +6040,32 @@ l_Lean_Meta_Linear_instOrdVar___closed__1 = _init_l_Lean_Meta_Linear_instOrdVar_ lean_mark_persistent(l_Lean_Meta_Linear_instOrdVar___closed__1); l_Lean_Meta_Linear_instOrdVar = _init_l_Lean_Meta_Linear_instOrdVar(); lean_mark_persistent(l_Lean_Meta_Linear_instOrdVar); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__8); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__9); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__10); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__11); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__12(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__12); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_188____closed__13); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__9); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__10); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__11); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__12(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__12); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprVar____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_192____closed__13); l_Lean_Meta_Linear_instReprVar___closed__1 = _init_l_Lean_Meta_Linear_instReprVar___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprVar___closed__1); l_Lean_Meta_Linear_instReprVar = _init_l_Lean_Meta_Linear_instReprVar(); @@ -6080,74 +6080,74 @@ l_Lean_Meta_Linear_instInhabitedAssignment = _init_l_Lean_Meta_Linear_instInhabi lean_mark_persistent(l_Lean_Meta_Linear_instInhabitedAssignment); l_Lean_Meta_Linear_instInhabitedPoly = _init_l_Lean_Meta_Linear_instInhabitedPoly(); lean_mark_persistent(l_Lean_Meta_Linear_instInhabitedPoly); -l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__1 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__1(); -lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__1); -l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__2 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__2(); -lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__2); -l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__3 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__3(); -lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__3); -l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__4 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__4(); -lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__4); -l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__5 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__5(); -lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__5); -l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__6 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__6(); -lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__6); -l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__7 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__7(); -lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__7); -l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__8 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__8(); -lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__8); -l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__9 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__9(); -lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____spec__2___closed__9); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__8); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__9); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__10); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__11(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__11); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__12(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__12); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__13(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__13); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__14 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__14(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__14); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__15 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__15(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__15); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__16 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__16(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__16); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__17 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__17(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__17); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__18 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__18(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__18); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__19 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__19(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__19); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__20 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__20(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_431____closed__20); +l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__1 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__1(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__1); +l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__2 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__2(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__2); +l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__3 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__3(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__3); +l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__4 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__4(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__4); +l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__5 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__5(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__5); +l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__6 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__6(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__6); +l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__7 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__7(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__7); +l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__8 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__8(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__8); +l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__9 = _init_l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__9(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____spec__2___closed__9); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__9); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__10(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__10); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__11(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__11); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__12(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__12); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__13(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__13); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__14 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__14(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__14); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__15 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__15(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__15); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__16 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__16(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__16); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__17 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__17(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__17); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__18 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__18(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__18); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__19 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__19(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__19); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__20 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__20(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_435____closed__20); l_Lean_Meta_Linear_instReprPoly___closed__1 = _init_l_Lean_Meta_Linear_instReprPoly___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprPoly___closed__1); l_Lean_Meta_Linear_instReprPoly = _init_l_Lean_Meta_Linear_instReprPoly(); lean_mark_persistent(l_Lean_Meta_Linear_instReprPoly); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____lambda__1___closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_491____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____lambda__1___closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_decEqPoly____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_495____closed__1); l_Lean_Meta_Linear_Poly_getMaxVarCoeff___closed__1 = _init_l_Lean_Meta_Linear_Poly_getMaxVarCoeff___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_Poly_getMaxVarCoeff___closed__1); l_Lean_Meta_Linear_Poly_add_go___closed__1 = _init_l_Lean_Meta_Linear_Poly_add_go___closed__1(); @@ -6174,22 +6174,22 @@ l_Lean_Meta_Linear_instBEqJustification___closed__1 = _init_l_Lean_Meta_Linear_i lean_mark_persistent(l_Lean_Meta_Linear_instBEqJustification___closed__1); l_Lean_Meta_Linear_instBEqJustification = _init_l_Lean_Meta_Linear_instBEqJustification(); lean_mark_persistent(l_Lean_Meta_Linear_instBEqJustification); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4248____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprJustification____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4284____closed__8); l_Lean_Meta_Linear_instReprJustification___closed__1 = _init_l_Lean_Meta_Linear_instReprJustification___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprJustification___closed__1); l_Lean_Meta_Linear_instReprJustification = _init_l_Lean_Meta_Linear_instReprJustification(); @@ -6201,54 +6201,54 @@ l_Lean_Meta_Linear_instBEqCnstrKind___closed__1 = _init_l_Lean_Meta_Linear_instB lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstrKind___closed__1); l_Lean_Meta_Linear_instBEqCnstrKind = _init_l_Lean_Meta_Linear_instBEqCnstrKind(); lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstrKind); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__8); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__9); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__10); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__11(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__11); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__12(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__12); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__13(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__13); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__14 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__14(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__14); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__15 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__15(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__15); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__16 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__16(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__16); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__17 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__17(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__17); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__18 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__18(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__18); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__19 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__19(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__19); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__20 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__20(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__20); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__21 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__21(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__21); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__22 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__22(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__22); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__23 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__23(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__23); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__24 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__24(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4545____closed__24); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__9); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__10(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__10); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__11(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__11); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__12 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__12(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__12); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__13 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__13(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__13); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__14 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__14(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__14); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__15 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__15(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__15); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__16 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__16(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__16); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__17 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__17(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__17); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__18 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__18(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__18); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__19 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__19(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__19); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__20 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__20(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__20); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__21 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__21(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__21); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__22 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__22(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__22); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__23 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__23(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__23); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__24 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__24(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstrKind____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_4581____closed__24); l_Lean_Meta_Linear_instReprCnstrKind___closed__1 = _init_l_Lean_Meta_Linear_instReprCnstrKind___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprCnstrKind___closed__1); l_Lean_Meta_Linear_instReprCnstrKind = _init_l_Lean_Meta_Linear_instReprCnstrKind(); @@ -6261,28 +6261,28 @@ l_Lean_Meta_Linear_instBEqCnstr___closed__1 = _init_l_Lean_Meta_Linear_instBEqCn lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstr___closed__1); l_Lean_Meta_Linear_instBEqCnstr = _init_l_Lean_Meta_Linear_instBEqCnstr(); lean_mark_persistent(l_Lean_Meta_Linear_instBEqCnstr); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__1(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__1); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__2(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__2); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__3(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__3); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__4(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__4); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__5(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__5); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__6(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__6); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__7(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__7); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__8(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__8); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__9(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__9); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__10(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__10); -l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__11(); -lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5136____closed__11); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__1 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__1); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__2 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__2); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__3 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__3(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__3); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__4 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__4(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__4); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__5 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__5(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__5); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__6 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__6(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__6); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__7 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__7(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__7); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__8 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__8(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__8); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__9 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__9(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__9); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__10 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__10(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__10); +l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__11 = _init_l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__11(); +lean_mark_persistent(l___private_Lean_Meta_Tactic_LinearArith_Solver_0__Lean_Meta_Linear_reprCnstr____x40_Lean_Meta_Tactic_LinearArith_Solver___hyg_5188____closed__11); l_Lean_Meta_Linear_instReprCnstr___closed__1 = _init_l_Lean_Meta_Linear_instReprCnstr___closed__1(); lean_mark_persistent(l_Lean_Meta_Linear_instReprCnstr___closed__1); l_Lean_Meta_Linear_instReprCnstr = _init_l_Lean_Meta_Linear_instReprCnstr(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c index c355515893fd..66efb63f37fc 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Main.c @@ -26,7 +26,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp___lambda__1(lean_object*, lean_ob LEAN_EXPORT lean_object* l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f_go_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Result_getProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f_unfoldGround_x3f___lambda__2___closed__1; lean_object* l_Lean_Meta_Simp_synthesizeArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceRecMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -51,10 +51,11 @@ static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__1___ static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f_go_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpStep___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f_unfoldGround_x3f___lambda__2___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(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_EXPORT uint8_t l_Lean_Meta_Simp_removeUnnecessaryCasts_isDummyEqRec(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrArgs___spec__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_withNewLemmas___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,7 +75,6 @@ static lean_object* l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__3; extern lean_object* l_Lean_Meta_Simp_instInhabitedResult; lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_object*, lean_object*); uint8_t l_Lean_Meta_SimpTheoremsArray_isErased(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_Config_updateArith___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_processCongrHypothesis___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_natLit_x3f(lean_object*); @@ -107,14 +107,11 @@ static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsi lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToLocalDecl___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_Simp_simp_trySimpCongrTheorem_x3f(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_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__2___closed__2; lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_mkImpCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_isEqnThmHypothesis_go___boxed(lean_object*); lean_object* l_Lean_Meta_mkCongrSimpCore_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_findDeclRevM_x3f___at_Lean_Meta_Simp_dischargeUsingAssumption_x3f___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_Array_forInUnsafe_loop___at_Lean_Meta_dsimpGoal___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__9___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -126,10 +123,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLit___boxed(lean_object*, lea LEAN_EXPORT lean_object* l_Lean_Meta_simpTargetCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_main___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Config_updateArith___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(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*); uint8_t l_Lean_Expr_isApp(lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2___closed__7; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_isEqnThmHypothesis___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_removeUnnecessaryCasts_elimDummyEqRec(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrArgs___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_getSimpLetCase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -167,8 +166,8 @@ lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__1___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_Lean_Meta_Simp_simp_simpLoop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isLevelMVarAssignable___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__5___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(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_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_Simp_simp_simpProj___spec__11___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__1___closed__4; lean_object* l_Lean_MVarId_replaceTargetEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -201,7 +200,6 @@ LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Meta_Simp_simp_simpPro static lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__5___closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_dsimpGoal___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_Simp_simp_simpLoop___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_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12(lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpForall(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_forallTelescopeReducing___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -240,6 +238,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_dsimpGoal___lambda__6___boxed(lean_object*, LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Meta_Simp_simp_simpProj___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__5___closed__7; static lean_object* l_Lean_Meta_Simp_simp_simpLet___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_isEqnThmHypothesis_go___closed__1; @@ -297,7 +296,7 @@ size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeCorrect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8___rarg___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_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(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_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__1___closed__6; lean_object* l_Lean_Meta_Simp_postDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -316,6 +315,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAu static lean_object* l_Lean_getProjectionFnInfo_x3f___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___spec__1___closed__1; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_isEqnThmHypothesis_go(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_isMatchDef_go(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_isOfNatNatLit___closed__2; static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_visitFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -335,8 +335,7 @@ static lean_object* l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__7; static lean_object* l_Lean_Meta_Simp_simp_simpForall___lambda__4___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(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_Meta_Simp_SimpLetCase_toCtorIdx(uint8_t); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___lambda__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*); static lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__2___closed__1; static lean_object* l_Lean_Meta_Simp_dsimpMain___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__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_object*); @@ -346,12 +345,13 @@ lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_InlineAttrs_0__Lea uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkImpDepCongrCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___boxed(lean_object**); static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__15; LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_SimpLetCase_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_dsimpGoal___lambda__2___closed__2; lean_object* l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFunInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__1___closed__3; @@ -415,8 +415,9 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda_ lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Meta_Simp_removeUnnecessaryCasts_isDummyEqRec___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_visitFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Simp_getSimpCongrTheorems___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_cacheResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___lambda__5___closed__1; @@ -429,7 +430,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_simpGoal___spec lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__8(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___boxed(lean_object**); static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_dsimpGoal___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -470,6 +471,7 @@ lean_object* l_Lean_Expr_constName_x21(lean_object*); uint8_t l_Lean_Level_hasMVar(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_getSimpLetCase___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_throwCongrHypothesisFailed___rarg___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -493,13 +495,13 @@ static lean_object* l_Lean_Meta_Simp_removeUnnecessaryCasts_isDummyEqRec___close lean_object* l_Lean_Meta_canUnfoldAtMatcher___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp(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_Simp_DefaultMethods_discharge_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___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_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___boxed(lean_object**); lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f_unfoldGround_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_isMatchDef___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(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_EXPORT lean_object* l_Lean_Meta_Simp_simp_congr(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*); static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__1; @@ -542,15 +544,16 @@ lean_object* l_Lean_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean static lean_object* l_Lean_Meta_Simp_simp_simpProj___lambda__1___closed__1; extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_mkCongrSimp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___lambda__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_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLet___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_synthesizeArgs_synthesizeInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Meta_Simp_simp_simpProj___spec__6___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_Simp_simp_processCongrHypothesis___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_simpProj___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at_Lean_Meta_Simp_simp_simpProj___spec__5(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFalseElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLet___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__7___closed__1; @@ -563,6 +566,9 @@ static lean_object* l_Lean_Meta_simpTargetCore___closed__3; static lean_object* l_Lean_Meta_Simp_Config_updateArith___closed__1; lean_object* l_Lean_Meta_Simp_getSimpTheorems___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(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_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14(lean_object*, lean_object*); extern lean_object* l_Lean_inheritedTraceOptions; LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToProp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_congrArgs___spec__1___closed__1; @@ -603,14 +609,15 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_initFn____x40_Lean_Meta_Tactic_Simp_Ma lean_object* l_Lean_Meta_mkImpCongr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f_unfoldGround_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Meta_Simp_simp_simpProj___spec__4___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_simp___spec__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Meta_Simp_simp_simpProj___spec__10(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_congrDefault(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_withLocalDecl___at_Lean_Meta_Simp_lambdaTelescopeDSimp_go___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withNewMCtxDepth___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__9___rarg___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_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12___rarg(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_forInUnsafe_loop___at_Lean_Meta_Simp_simp_visitFn___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToTarget___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkOfEqTrue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*); @@ -729,7 +736,6 @@ lean_object* l_Lean_Meta_mkFunExt(lean_object*, lean_object*, lean_object*, lean LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_DefaultMethods_discharge_x3f___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_simpStep(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpConst___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_Simp_simp_simpLet___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isAssignable___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -755,11 +761,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Sim LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7___rarg___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_Lean_AssocList_foldlM___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Meta_Simp_simp_simpProj___spec__14___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__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_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f_unfoldGround_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); static lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f_unfoldGround_x3f___lambda__4(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_instantiateMVars___at_Lean_Meta_Simp_simp_simpStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -800,8 +805,8 @@ LEAN_EXPORT lean_object* l_Lean_Meta_simpTargetStar(lean_object*, lean_object*, lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_Simp_simp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpLambda___closed__1; +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_simpLambda___lambda__2(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_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isProjectionFn___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_unfold_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_isOfNatNatLit___closed__1; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -853,15 +858,16 @@ lean_object* l_Lean_Meta_intro1Core(lean_object*, uint8_t, lean_object*, lean_ob lean_object* l_Lean_Meta_getCongrSimpKinds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__6___closed__4; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_simpProj___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_letFun_x3f(lean_object*); static lean_object* l_Lean_Meta_applySimpResultToProp___closed__1; lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_simpGoal___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Meta_Simp_simp___spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__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_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___lambda__9(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1(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_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_Meta_Simp_simp_mkCongrSimp_x3f___spec__6(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_applySimpResultToTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConst(lean_object*); @@ -871,7 +877,7 @@ lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object* LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_Simp_simp_simpProj___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_simp_simpArrow___lambda__4___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___lambda__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*); static lean_object* l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__1; lean_object* l_Lean_MVarId_assertHypotheses(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isLevelMVarAssignable___at_Lean_Meta_Simp_simp_trySimpCongrTheorem_x3f___spec__5___closed__2; @@ -8912,7 +8918,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Sim { uint8_t x_11; lean_dec(x_3); -x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 7); +x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 3); lean_dec(x_2); if (x_11 == 0) { @@ -8924,6 +8930,101 @@ return x_13; else { lean_object* x_14; +lean_inc(x_1); +x_14 = l_Lean_Expr_letFun_x3f(x_1); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_box(0); +x_16 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2(x_1, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_1); +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_expr_instantiate1(x_21, x_20); +lean_dec(x_20); +lean_dec(x_21); +x_23 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce(x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +return x_23; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; +} +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_23); +if (x_28 == 0) +{ +return x_23; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_23, 0); +x_30 = lean_ctor_get(x_23, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_23); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +lean_dec(x_3); +x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*2 + 7); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +else +{ +lean_object* x_14; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -8942,12 +9043,13 @@ x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); x_17 = lean_box(0); -x_18 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__2(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +x_18 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); return x_18; } else { lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_2); lean_dec(x_1); x_19 = lean_ctor_get(x_14, 1); lean_inc(x_19); @@ -9011,6 +9113,7 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_2); lean_dec(x_1); x_30 = !lean_is_exclusive(x_14); if (x_30 == 0) @@ -9034,7 +9137,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -9044,7 +9147,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_box(0); -x_13 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__4(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } else @@ -9070,7 +9173,7 @@ x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); x_17 = lean_box(0); -x_18 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__3(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +x_18 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__4(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_16); return x_18; } else @@ -9164,7 +9267,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -9174,7 +9277,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; x_12 = lean_box(0); -x_13 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__4(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__5(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_13; } else @@ -9239,7 +9342,7 @@ else lean_object* x_25; lean_object* x_26; lean_dec(x_14); x_25 = lean_box(0); -x_26 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__4(x_1, x_2, x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_26 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__5(x_1, x_2, x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_26; } } @@ -9315,7 +9418,7 @@ if (x_38 == 0) { lean_object* x_39; lean_object* x_40; x_39 = lean_box(0); -x_40 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__5(x_1, x_36, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_40 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__6(x_1, x_36, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_40; } else @@ -9385,7 +9488,7 @@ else lean_object* x_54; lean_object* x_55; lean_dec(x_42); x_54 = lean_box(0); -x_55 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__5(x_1, x_36, x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_43); +x_55 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__6(x_1, x_36, x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_43); return x_55; } } @@ -9419,7 +9522,7 @@ if (x_61 == 0) { lean_object* x_62; lean_object* x_63; x_62 = lean_box(0); -x_63 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__5(x_1, x_59, x_62, x_2, x_3, x_4, x_5, x_58, x_7, x_8); +x_63 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__6(x_1, x_59, x_62, x_2, x_3, x_4, x_5, x_58, x_7, x_8); return x_63; } else @@ -9493,7 +9596,7 @@ else lean_object* x_77; lean_object* x_78; lean_dec(x_65); x_77 = lean_box(0); -x_78 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__5(x_1, x_59, x_77, x_2, x_3, x_4, x_5, x_58, x_7, x_66); +x_78 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduce___lambda__6(x_1, x_59, x_77, x_2, x_3, x_4, x_5, x_58, x_7, x_66); return x_78; } } @@ -9538,29 +9641,30 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; +lean_object* x_17; lean_inc(x_2); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_16 = lean_apply_9(x_2, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_16) == 0) +lean_inc(x_7); +x_17 = lean_apply_9(x_2, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -switch (lean_obj_tag(x_17)) { +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +switch (lean_obj_tag(x_18)) { case 0: { -uint8_t x_18; +uint8_t x_19; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -9571,52 +9675,52 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_18 = !lean_is_exclusive(x_16); -if (x_18 == 0) +x_19 = !lean_is_exclusive(x_17); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_16, 0); -lean_dec(x_19); +lean_object* x_20; lean_object* x_21; x_20 = lean_ctor_get(x_17, 0); -lean_inc(x_20); -lean_dec(x_17); -lean_ctor_set(x_16, 0, x_20); -return x_16; +lean_dec(x_20); +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +lean_dec(x_18); +lean_ctor_set(x_17, 0, x_21); +return x_17; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_16, 1); -lean_inc(x_21); -lean_dec(x_16); -x_22 = lean_ctor_get(x_17, 0); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_17, 1); lean_inc(x_22); lean_dec(x_17); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_21); -return x_23; +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; } } case 1: { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_6); -x_24 = lean_ctor_get(x_16, 1); -lean_inc(x_24); -lean_dec(x_16); -x_25 = lean_ctor_get(x_17, 0); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_7); +x_25 = lean_ctor_get(x_17, 1); lean_inc(x_25); lean_dec(x_17); -x_26 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_25, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_24); -return x_26; +x_26 = lean_ctor_get(x_18, 0); +lean_inc(x_26); +lean_dec(x_18); +x_27 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_26, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_25); +return x_27; } default: { -lean_object* x_27; +lean_object* x_28; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -9624,67 +9728,66 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_27 = lean_ctor_get(x_17, 0); -lean_inc(x_27); -lean_dec(x_17); -if (lean_obj_tag(x_27) == 0) +x_28 = lean_ctor_get(x_18, 0); +lean_inc(x_28); +lean_dec(x_18); +if (lean_obj_tag(x_28) == 0) { -uint8_t x_28; -x_28 = !lean_is_exclusive(x_16); -if (x_28 == 0) +uint8_t x_29; +x_29 = !lean_is_exclusive(x_17); +if (x_29 == 0) { -lean_object* x_29; -x_29 = lean_ctor_get(x_16, 0); -lean_dec(x_29); -lean_ctor_set(x_16, 0, x_6); -return x_16; +lean_object* x_30; +x_30 = lean_ctor_get(x_17, 0); +lean_dec(x_30); +lean_ctor_set(x_17, 0, x_7); +return x_17; } else { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_16, 1); -lean_inc(x_30); -lean_dec(x_16); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_6); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_17, 1); +lean_inc(x_31); +lean_dec(x_17); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_7); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } else { -uint8_t x_32; -lean_dec(x_6); -x_32 = !lean_is_exclusive(x_16); -if (x_32 == 0) +uint8_t x_33; +lean_dec(x_7); +x_33 = !lean_is_exclusive(x_17); +if (x_33 == 0) { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_16, 0); -lean_dec(x_33); -x_34 = lean_ctor_get(x_27, 0); -lean_inc(x_34); -lean_dec(x_27); -lean_ctor_set(x_16, 0, x_34); -return x_16; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_17, 0); +lean_dec(x_34); +x_35 = lean_ctor_get(x_28, 0); +lean_inc(x_35); +lean_dec(x_28); +lean_ctor_set(x_17, 0, x_35); +return x_17; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_16, 1); -lean_inc(x_35); -lean_dec(x_16); -x_36 = lean_ctor_get(x_27, 0); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_17, 1); lean_inc(x_36); -lean_dec(x_27); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -return x_37; +lean_dec(x_17); +x_37 = lean_ctor_get(x_28, 0); +lean_inc(x_37); +lean_dec(x_28); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; } } } @@ -9692,7 +9795,8 @@ return x_37; } else { -uint8_t x_38; +uint8_t x_39; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -9703,26 +9807,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_16); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_17); +if (x_39 == 0) { -return x_16; +return x_17; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_16, 0); -x_40 = lean_ctor_get(x_16, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_17, 0); +x_41 = lean_ctor_get(x_17, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_16); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_dec(x_17); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } @@ -9800,31 +9903,32 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_M return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_18; lean_object* x_19; -x_18 = lean_array_push(x_1, x_8); -x_19 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(x_2, x_3, x_4, x_5, x_6, x_18, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_19; +lean_object* x_19; lean_object* x_20; +x_19 = lean_array_push(x_1, x_9); +x_20 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_7) == 6) +if (lean_obj_tag(x_8) == 6) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_7, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_ctor_get(x_8, 0); lean_inc(x_18); -x_19 = lean_ctor_get(x_7, 2); +x_19 = lean_ctor_get(x_8, 1); lean_inc(x_19); -x_20 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_21 = lean_expr_instantiate_rev(x_18, x_6); -lean_dec(x_18); +x_20 = lean_ctor_get(x_8, 2); +lean_inc(x_20); +x_21 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_22 = lean_expr_instantiate_rev(x_19, x_7); +lean_dec(x_19); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -9832,38 +9936,40 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_box(x_3); -x_26 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___lambda__1___boxed), 17, 7); -lean_closure_set(x_26, 0, x_6); -lean_closure_set(x_26, 1, x_1); -lean_closure_set(x_26, 2, x_2); -lean_closure_set(x_26, 3, x_25); -lean_closure_set(x_26, 4, x_4); -lean_closure_set(x_26, 5, x_5); -lean_closure_set(x_26, 6, x_19); -x_27 = 0; -x_28 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7___rarg(x_17, x_20, x_23, x_26, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); -return x_28; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_box(x_3); +x_27 = lean_box(x_4); +x_28 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___lambda__1___boxed), 18, 8); +lean_closure_set(x_28, 0, x_7); +lean_closure_set(x_28, 1, x_1); +lean_closure_set(x_28, 2, x_2); +lean_closure_set(x_28, 3, x_26); +lean_closure_set(x_28, 4, x_27); +lean_closure_set(x_28, 5, x_5); +lean_closure_set(x_28, 6, x_6); +lean_closure_set(x_28, 7, x_20); +x_29 = 0; +x_30 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7___rarg(x_18, x_21, x_24, x_28, x_29, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_25); +return x_30; } else { -uint8_t x_29; -lean_dec(x_19); -lean_dec(x_17); +uint8_t x_31; +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -9871,37 +9977,37 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_22); -if (x_29 == 0) +x_31 = !lean_is_exclusive(x_23); +if (x_31 == 0) { -return x_22; +return x_23; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_22, 0); -x_31 = lean_ctor_get(x_22, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_22); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_23, 0); +x_33 = lean_ctor_get(x_23, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_23); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } else { -lean_object* x_33; lean_object* x_34; -x_33 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_35; lean_object* x_36; +x_35 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -9909,37 +10015,37 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_34 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_33, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_34) == 0) +x_36 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_35, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = 0; -x_38 = 1; -x_39 = l_Lean_Meta_mkLambdaFVars(x_6, x_35, x_37, x_3, x_38, x_12, x_13, x_14, x_15, x_36); -if (lean_obj_tag(x_39) == 0) +lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = 0; +x_40 = 1; +x_41 = l_Lean_Meta_mkLambdaFVars(x_7, x_37, x_39, x_3, x_40, x_13, x_14, x_15, x_16, x_38); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_41); -return x_42; +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_42, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_43); +return x_44; } else { -uint8_t x_43; +uint8_t x_45; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -9947,34 +10053,34 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_39); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) { -return x_39; +return x_41; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_39, 0); -x_45 = lean_ctor_get(x_39, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_39); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_41, 0); +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_41); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_47; +uint8_t x_49; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -9982,29 +10088,28 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_34); -if (x_47 == 0) +x_49 = !lean_is_exclusive(x_36); +if (x_49 == 0) { -return x_34; +return x_36; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_34, 0); -x_49 = lean_ctor_get(x_34, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_34); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_36, 0); +x_51 = lean_ctor_get(x_36, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_36); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } @@ -10075,31 +10180,32 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_M return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_18; lean_object* x_19; -x_18 = lean_array_push(x_1, x_8); -x_19 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(x_2, x_3, x_4, x_5, x_6, x_18, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_19; +lean_object* x_19; lean_object* x_20; +x_19 = lean_array_push(x_1, x_9); +x_20 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_7) == 7) +if (lean_obj_tag(x_8) == 7) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_7, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_ctor_get(x_8, 0); lean_inc(x_18); -x_19 = lean_ctor_get(x_7, 2); +x_19 = lean_ctor_get(x_8, 1); lean_inc(x_19); -x_20 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_21 = lean_expr_instantiate_rev(x_18, x_6); -lean_dec(x_18); +x_20 = lean_ctor_get(x_8, 2); +lean_inc(x_20); +x_21 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_22 = lean_expr_instantiate_rev(x_19, x_7); +lean_dec(x_19); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -10107,38 +10213,40 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_box(x_3); -x_26 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___lambda__1___boxed), 17, 7); -lean_closure_set(x_26, 0, x_6); -lean_closure_set(x_26, 1, x_1); -lean_closure_set(x_26, 2, x_2); -lean_closure_set(x_26, 3, x_25); -lean_closure_set(x_26, 4, x_4); -lean_closure_set(x_26, 5, x_5); -lean_closure_set(x_26, 6, x_19); -x_27 = 0; -x_28 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8___rarg(x_17, x_20, x_23, x_26, x_27, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); -return x_28; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_box(x_3); +x_27 = lean_box(x_4); +x_28 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___lambda__1___boxed), 18, 8); +lean_closure_set(x_28, 0, x_7); +lean_closure_set(x_28, 1, x_1); +lean_closure_set(x_28, 2, x_2); +lean_closure_set(x_28, 3, x_26); +lean_closure_set(x_28, 4, x_27); +lean_closure_set(x_28, 5, x_5); +lean_closure_set(x_28, 6, x_6); +lean_closure_set(x_28, 7, x_20); +x_29 = 0; +x_30 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8___rarg(x_18, x_21, x_24, x_28, x_29, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_25); +return x_30; } else { -uint8_t x_29; -lean_dec(x_19); -lean_dec(x_17); +uint8_t x_31; +lean_dec(x_20); +lean_dec(x_18); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -10146,37 +10254,37 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_22); -if (x_29 == 0) +x_31 = !lean_is_exclusive(x_23); +if (x_31 == 0) { -return x_22; +return x_23; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_22, 0); -x_31 = lean_ctor_get(x_22, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_22); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_23, 0); +x_33 = lean_ctor_get(x_23, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_23); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } else { -lean_object* x_33; lean_object* x_34; -x_33 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_35; lean_object* x_36; +x_35 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -10184,37 +10292,37 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_34 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_33, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_34) == 0) +x_36 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_35, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_36) == 0) { -lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = 0; -x_38 = 1; -x_39 = l_Lean_Meta_mkForallFVars(x_6, x_35, x_37, x_3, x_38, x_12, x_13, x_14, x_15, x_36); -if (lean_obj_tag(x_39) == 0) +lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = 0; +x_40 = 1; +x_41 = l_Lean_Meta_mkForallFVars(x_7, x_37, x_39, x_3, x_40, x_13, x_14, x_15, x_16, x_38); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_40, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_41); -return x_42; +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_42, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_43); +return x_44; } else { -uint8_t x_43; +uint8_t x_45; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -10222,34 +10330,34 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_43 = !lean_is_exclusive(x_39); -if (x_43 == 0) +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) { -return x_39; +return x_41; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_39, 0); -x_45 = lean_ctor_get(x_39, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_39); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_41, 0); +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_41); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_47; +uint8_t x_49; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -10257,29 +10365,28 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_34); -if (x_47 == 0) +x_49 = !lean_is_exclusive(x_36); +if (x_49 == 0) { -return x_34; +return x_36; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_34, 0); -x_49 = lean_ctor_get(x_34, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_34); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_36, 0); +x_51 = lean_ctor_get(x_36, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_36); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } @@ -10350,32 +10457,33 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at___private_Lean_Met return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_18; lean_object* x_19; -x_18 = lean_array_push(x_1, x_8); -x_19 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(x_2, x_3, x_4, x_5, x_6, x_18, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_19; +lean_object* x_19; lean_object* x_20; +x_19 = lean_array_push(x_1, x_9); +x_20 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_19, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -if (lean_obj_tag(x_7) == 8) +if (lean_obj_tag(x_8) == 8) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_7, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_7, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_ctor_get(x_8, 0); lean_inc(x_18); -x_19 = lean_ctor_get(x_7, 2); +x_19 = lean_ctor_get(x_8, 1); lean_inc(x_19); -x_20 = lean_ctor_get(x_7, 3); +x_20 = lean_ctor_get(x_8, 2); lean_inc(x_20); -lean_dec(x_7); -x_21 = lean_expr_instantiate_rev(x_18, x_6); -lean_dec(x_18); +x_21 = lean_ctor_get(x_8, 3); +lean_inc(x_21); +lean_dec(x_8); +x_22 = lean_expr_instantiate_rev(x_19, x_7); +lean_dec(x_19); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -10383,22 +10491,22 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_22 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_22) == 0) +x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_expr_instantiate_rev(x_19, x_6); -lean_dec(x_19); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_expr_instantiate_rev(x_20, x_7); +lean_dec(x_20); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -10406,39 +10514,41 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_26 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_25, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_24); -if (lean_obj_tag(x_26) == 0) +x_27 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_26, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_25); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_box(x_3); -x_30 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___lambda__1___boxed), 17, 7); -lean_closure_set(x_30, 0, x_6); -lean_closure_set(x_30, 1, x_1); -lean_closure_set(x_30, 2, x_2); -lean_closure_set(x_30, 3, x_29); -lean_closure_set(x_30, 4, x_4); -lean_closure_set(x_30, 5, x_5); -lean_closure_set(x_30, 6, x_20); -x_31 = 0; -x_32 = l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9___rarg(x_17, x_23, x_27, x_30, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_28); -return x_32; +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_box(x_3); +x_31 = lean_box(x_4); +x_32 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___lambda__1___boxed), 18, 8); +lean_closure_set(x_32, 0, x_7); +lean_closure_set(x_32, 1, x_1); +lean_closure_set(x_32, 2, x_2); +lean_closure_set(x_32, 3, x_30); +lean_closure_set(x_32, 4, x_31); +lean_closure_set(x_32, 5, x_5); +lean_closure_set(x_32, 6, x_6); +lean_closure_set(x_32, 7, x_21); +x_33 = 0; +x_34 = l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9___rarg(x_18, x_24, x_28, x_32, x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_29); +return x_34; } else { -uint8_t x_33; -lean_dec(x_23); -lean_dec(x_20); -lean_dec(x_17); +uint8_t x_35; +lean_dec(x_24); +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -10446,38 +10556,38 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_33 = !lean_is_exclusive(x_26); -if (x_33 == 0) +x_35 = !lean_is_exclusive(x_27); +if (x_35 == 0) { -return x_26; +return x_27; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_26, 0); -x_35 = lean_ctor_get(x_26, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_26); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_27, 0); +x_37 = lean_ctor_get(x_27, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_27); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } else { -uint8_t x_37; +uint8_t x_39; +lean_dec(x_21); lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_17); +lean_dec(x_18); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -10485,37 +10595,37 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_22); -if (x_37 == 0) +x_39 = !lean_is_exclusive(x_23); +if (x_39 == 0) { -return x_22; +return x_23; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_22, 0); -x_39 = lean_ctor_get(x_22, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_22); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_23, 0); +x_41 = lean_ctor_get(x_23, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_23); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } else { -lean_object* x_41; lean_object* x_42; -x_41 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_43; lean_object* x_44; +x_43 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -10523,37 +10633,37 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_42 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_41, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_42) == 0) +x_44 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_43, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_44) == 0) { -lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; lean_object* x_47; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); -lean_inc(x_44); -lean_dec(x_42); -x_45 = 0; -x_46 = 1; -x_47 = l_Lean_Meta_mkLambdaFVars(x_6, x_43, x_45, x_3, x_46, x_12, x_13, x_14, x_15, x_44); -if (lean_obj_tag(x_47) == 0) +lean_object* x_45; lean_object* x_46; uint8_t x_47; uint8_t x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = 0; +x_48 = 1; +x_49 = l_Lean_Meta_mkLambdaFVars(x_7, x_45, x_47, x_3, x_48, x_13, x_14, x_15, x_16, x_46); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_49); -return x_50; +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +x_51 = lean_ctor_get(x_49, 1); +lean_inc(x_51); +lean_dec(x_49); +x_52 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_50, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_51); +return x_52; } else { -uint8_t x_51; +uint8_t x_53; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -10561,34 +10671,34 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_51 = !lean_is_exclusive(x_47); -if (x_51 == 0) +x_53 = !lean_is_exclusive(x_49); +if (x_53 == 0) { -return x_47; +return x_49; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_47, 0); -x_53 = lean_ctor_get(x_47, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_47); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_49, 0); +x_55 = lean_ctor_get(x_49, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_49); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } else { -uint8_t x_55; +uint8_t x_57; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -10596,42 +10706,42 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_55 = !lean_is_exclusive(x_42); -if (x_55 == 0) +x_57 = !lean_is_exclusive(x_44); +if (x_57 == 0) { -return x_42; +return x_44; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_42, 0); -x_57 = lean_ctor_get(x_42, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_42); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_44, 0); +x_59 = lean_ctor_get(x_44, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_44); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_7, x_6); -if (x_18 == 0) +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_8, x_7); +if (x_19 == 0) { -lean_object* x_19; +lean_object* x_20; +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -10639,22 +10749,22 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_8); -lean_ctor_set(x_19, 1, x_17); -return x_19; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_9); +lean_ctor_set(x_20, 1, x_18); +return x_20; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_array_uget(x_8, x_7); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_array_uset(x_8, x_7, x_21); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_array_uget(x_9, x_8); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_array_uset(x_9, x_8, x_22); +lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -10662,32 +10772,32 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_23 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_23) == 0) +x_24 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = 1; -x_27 = lean_usize_add(x_7, x_26); -x_28 = lean_array_uset(x_22, x_7, x_24); -x_7 = x_27; +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = 1; +x_28 = lean_usize_add(x_8, x_27); +x_29 = lean_array_uset(x_23, x_8, x_25); x_8 = x_28; -x_17 = x_25; +x_9 = x_29; +x_18 = x_26; goto _start; } else { -uint8_t x_30; -lean_dec(x_22); +uint8_t x_31; +lean_dec(x_23); +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -10695,57 +10805,64 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_30 = !lean_is_exclusive(x_23); -if (x_30 == 0) +x_31 = !lean_is_exclusive(x_24); +if (x_31 == 0) { -return x_23; +return x_24; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_23, 0); -x_32 = lean_ctor_get(x_23, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_24, 0); +x_33 = lean_ctor_get(x_24, 1); +lean_inc(x_33); lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_23); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_dec(x_24); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -if (lean_obj_tag(x_6) == 5) +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_8, x_7); +if (x_19 == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_6, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_6, 1); -lean_inc(x_19); +lean_object* x_20; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_6); -x_20 = lean_array_set(x_7, x_8, x_19); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_sub(x_8, x_21); -lean_dec(x_8); -x_6 = x_18; -x_7 = x_20; -x_8 = x_22; -goto _start; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_9); +lean_ctor_set(x_20, 1, x_18); +return x_20; } else { -lean_object* x_24; -lean_dec(x_8); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_array_uget(x_9, x_8); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_array_uset(x_9, x_8, x_22); +lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -10753,24 +10870,97 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_24 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +x_24 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = lean_array_get_size(x_7); -x_28 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_29 = 0; +x_27 = 1; +x_28 = lean_usize_add(x_8, x_27); +x_29 = lean_array_uset(x_23, x_8, x_25); +x_8 = x_28; +x_9 = x_29; +x_18 = x_26; +goto _start; +} +else +{ +uint8_t x_31; +lean_dec(x_23); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_24); +if (x_31 == 0) +{ +return x_24; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_24, 0); +x_33 = lean_ctor_get(x_24, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_24); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +uint8_t x_19; +x_19 = lean_usize_dec_lt(x_8, x_7); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_9); +lean_ctor_set(x_20, 1, x_18); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_array_uget(x_9, x_8); +x_22 = lean_unsigned_to_nat(0u); +x_23 = lean_array_uset(x_9, x_8, x_22); +lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -10778,28 +10968,146 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_30 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10(x_1, x_2, x_3, x_4, x_5, x_28, x_29, x_7, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_26); -if (lean_obj_tag(x_30) == 0) +x_24 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_21, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); +lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = 1; +x_28 = lean_usize_add(x_8, x_27); +x_29 = lean_array_uset(x_23, x_8, x_25); +x_8 = x_28; +x_9 = x_29; +x_18 = x_26; +goto _start; +} +else +{ +uint8_t x_31; +lean_dec(x_23); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_24); +if (x_31 == 0) +{ +return x_24; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_24, 0); +x_33 = lean_ctor_get(x_24, 1); +lean_inc(x_33); lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_mkAppN(x_25, x_31); -x_34 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_32); +lean_dec(x_24); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); return x_34; } +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +_start: +{ +if (lean_obj_tag(x_7) == 5) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_7, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_7, 1); +lean_inc(x_20); +lean_dec(x_7); +x_21 = lean_array_set(x_8, x_9, x_20); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_9, x_22); +lean_dec(x_9); +x_7 = x_19; +x_8 = x_21; +x_9 = x_23; +goto _start; +} else { -uint8_t x_35; +lean_dec(x_9); +if (x_4 == 0) +{ +lean_object* x_25; +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_25 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); lean_dec(x_25); +x_28 = lean_array_get_size(x_8); +x_29 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_30 = 0; +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_31 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_29, x_30, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_27); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_mkAppN(x_26, x_32); +x_35 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_34, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_33); +return x_35; +} +else +{ +uint8_t x_36; +lean_dec(x_26); +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -10807,34 +11115,231 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_30); -if (x_35 == 0) +x_36 = !lean_is_exclusive(x_31); +if (x_36 == 0) { -return x_30; +return x_31; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_30, 0); -x_37 = lean_ctor_get(x_30, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_31, 0); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_30); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_dec(x_31); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } else { -uint8_t x_39; +uint8_t x_40; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_40 = !lean_is_exclusive(x_25); +if (x_40 == 0) +{ +return x_25; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_25, 0); +x_42 = lean_ctor_get(x_25, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_25); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +x_44 = l_Lean_Expr_isConst(x_7); +if (x_44 == 0) +{ +lean_object* x_45; +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_45 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_array_get_size(x_8); +x_49 = lean_usize_of_nat(x_48); +lean_dec(x_48); +x_50 = 0; +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_51 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_49, x_50, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_47); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = l_Lean_mkAppN(x_46, x_52); +x_55 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_54, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_53); +return x_55; +} +else +{ +uint8_t x_56; +lean_dec(x_46); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_56 = !lean_is_exclusive(x_51); +if (x_56 == 0) +{ +return x_51; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_51, 0); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_51); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_60 = !lean_is_exclusive(x_45); +if (x_60 == 0) +{ +return x_45; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_45, 0); +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_45); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +else +{ +lean_object* x_64; size_t x_65; size_t x_66; lean_object* x_67; +x_64 = lean_array_get_size(x_8); +x_65 = lean_usize_of_nat(x_64); +lean_dec(x_64); +x_66 = 0; +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_67 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_65, x_66, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_67) == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +lean_dec(x_67); +x_70 = l_Lean_mkAppN(x_7, x_68); +x_71 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_70, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_69); +return x_71; +} +else +{ +uint8_t x_72; +lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); @@ -10842,35 +11347,36 @@ lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_39 = !lean_is_exclusive(x_24); -if (x_39 == 0) +x_72 = !lean_is_exclusive(x_67); +if (x_72 == 0) { -return x_24; +return x_67; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_67, 0); +x_74 = lean_ctor_get(x_67, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_67); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} } -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_24, 0); -x_41 = lean_ctor_get(x_24, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_24); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; } } } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -10927,15 +11433,15 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12___rarg), 11, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg), 11, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -10949,15 +11455,15 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg___boxed), 6, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16___rarg___boxed), 6, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; @@ -11153,7 +11659,7 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_61 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg(x_18, x_8, x_9, x_10, x_11, x_12); +x_61 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16___rarg(x_18, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -11188,14 +11694,15 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_17; -switch (lean_obj_tag(x_7)) { +lean_object* x_18; +switch (lean_obj_tag(x_8)) { case 0: { -lean_object* x_64; lean_object* x_65; +lean_object* x_65; lean_object* x_66; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -11203,98 +11710,98 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_64 = lean_ctor_get(x_7, 0); -lean_inc(x_64); -lean_dec(x_7); -x_65 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_16); -return x_65; +x_65 = lean_ctor_get(x_8, 0); +lean_inc(x_65); +lean_dec(x_8); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_17); +return x_66; } case 1: { -lean_object* x_66; lean_object* x_67; -lean_dec(x_6); -x_66 = lean_ctor_get(x_7, 0); -lean_inc(x_66); +lean_object* x_67; lean_object* x_68; lean_dec(x_7); -x_67 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_66, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_67; +x_67 = lean_ctor_get(x_8, 0); +lean_inc(x_67); +lean_dec(x_8); +x_68 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_67, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_68; } default: { -lean_object* x_68; -x_68 = lean_ctor_get(x_7, 0); -lean_inc(x_68); -lean_dec(x_7); -if (lean_obj_tag(x_68) == 0) +lean_object* x_69; +x_69 = lean_ctor_get(x_8, 0); +lean_inc(x_69); +lean_dec(x_8); +if (lean_obj_tag(x_69) == 0) { -x_17 = x_6; -goto block_63; +x_18 = x_7; +goto block_64; } else { -lean_object* x_69; -lean_dec(x_6); -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -lean_dec(x_68); -x_17 = x_69; -goto block_63; +lean_object* x_70; +lean_dec(x_7); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +lean_dec(x_69); +x_18 = x_70; +goto block_64; } } } -block_63: +block_64: { -switch (lean_obj_tag(x_17)) { +switch (lean_obj_tag(x_18)) { case 5: { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_18 = lean_unsigned_to_nat(0u); -x_19 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_17, x_18); -x_20 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___lambda__1___closed__1; -lean_inc(x_19); -x_21 = lean_mk_array(x_19, x_20); -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_sub(x_19, x_22); -lean_dec(x_19); -x_24 = l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11(x_1, x_2, x_3, x_4, x_5, x_17, x_21, x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_24; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_unsigned_to_nat(0u); +x_20 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_18, x_19); +x_21 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_reduceProjFn_x3f___lambda__1___closed__1; +lean_inc(x_20); +x_22 = lean_mk_array(x_20, x_21); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_sub(x_20, x_23); +lean_dec(x_20); +x_25 = l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_22, x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_25; } case 6: { -lean_object* x_25; lean_object* x_26; -x_25 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; -x_26 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(x_1, x_2, x_3, x_4, x_5, x_25, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_26; +lean_object* x_26; lean_object* x_27; +x_26 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; +x_27 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_26, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_27; } case 7: { -lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; -x_28 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(x_1, x_2, x_3, x_4, x_5, x_27, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_28; +lean_object* x_28; lean_object* x_29; +x_28 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; +x_29 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_28, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_29; } case 8: { -lean_object* x_29; lean_object* x_30; -x_29 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; -x_30 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(x_1, x_2, x_3, x_4, x_5, x_29, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_30; +lean_object* x_30; lean_object* x_31; +x_30 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___closed__1; +x_31 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_30, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_31; } case 10: { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_17, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_17, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_18, 0); lean_inc(x_32); +x_33 = lean_ctor_get(x_18, 1); +lean_inc(x_33); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -11302,48 +11809,48 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_32); +lean_inc(x_33); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_32, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_33) == 0) +x_34 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; uint8_t x_38; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_ptr_addr(x_33); lean_dec(x_33); -x_36 = lean_ptr_addr(x_32); -lean_dec(x_32); -x_37 = lean_ptr_addr(x_34); -x_38 = lean_usize_dec_eq(x_36, x_37); -if (x_38 == 0) +x_38 = lean_ptr_addr(x_35); +x_39 = lean_usize_dec_eq(x_37, x_38); +if (x_39 == 0) { -lean_object* x_39; lean_object* x_40; -lean_dec(x_17); -x_39 = l_Lean_Expr_mdata___override(x_31, x_34); -x_40 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_39, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_35); -return x_40; +lean_object* x_40; lean_object* x_41; +lean_dec(x_18); +x_40 = l_Lean_Expr_mdata___override(x_32, x_35); +x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_40, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_36); +return x_41; } else { -lean_object* x_41; -lean_dec(x_34); -lean_dec(x_31); -x_41 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_35); -return x_41; +lean_object* x_42; +lean_dec(x_35); +lean_dec(x_32); +x_42 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_36); +return x_42; } } else { -uint8_t x_42; +uint8_t x_43; +lean_dec(x_33); lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_17); +lean_dec(x_18); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -11351,40 +11858,40 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_33); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_34); +if (x_43 == 0) { -return x_33; +return x_34; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_33, 0); -x_44 = lean_ctor_get(x_33, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_34, 0); +x_45 = lean_ctor_get(x_34, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_33); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_dec(x_34); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } case 11: { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_46 = lean_ctor_get(x_17, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_17, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_47 = lean_ctor_get(x_18, 0); lean_inc(x_47); -x_48 = lean_ctor_get(x_17, 2); +x_48 = lean_ctor_get(x_18, 1); lean_inc(x_48); +x_49 = lean_ctor_get(x_18, 2); +lean_inc(x_49); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -11392,50 +11899,50 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_48); +lean_inc(x_49); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_49 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_48, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_49) == 0) +x_50 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_49, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; uint8_t x_54; -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); +lean_object* x_51; lean_object* x_52; size_t x_53; size_t x_54; uint8_t x_55; +x_51 = lean_ctor_get(x_50, 0); lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_ptr_addr(x_49); lean_dec(x_49); -x_52 = lean_ptr_addr(x_48); -lean_dec(x_48); -x_53 = lean_ptr_addr(x_50); -x_54 = lean_usize_dec_eq(x_52, x_53); -if (x_54 == 0) +x_54 = lean_ptr_addr(x_51); +x_55 = lean_usize_dec_eq(x_53, x_54); +if (x_55 == 0) { -lean_object* x_55; lean_object* x_56; -lean_dec(x_17); -x_55 = l_Lean_Expr_proj___override(x_46, x_47, x_50); -x_56 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_55, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_51); -return x_56; +lean_object* x_56; lean_object* x_57; +lean_dec(x_18); +x_56 = l_Lean_Expr_proj___override(x_47, x_48, x_51); +x_57 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_56, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_52); +return x_57; } else { -lean_object* x_57; -lean_dec(x_50); +lean_object* x_58; +lean_dec(x_51); +lean_dec(x_48); lean_dec(x_47); -lean_dec(x_46); -x_57 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_51); -return x_57; +x_58 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_52); +return x_58; } } else { -uint8_t x_58; +uint8_t x_59; +lean_dec(x_49); lean_dec(x_48); lean_dec(x_47); -lean_dec(x_46); -lean_dec(x_17); +lean_dec(x_18); +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -11443,36 +11950,35 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_58 = !lean_is_exclusive(x_49); -if (x_58 == 0) +x_59 = !lean_is_exclusive(x_50); +if (x_59 == 0) { -return x_49; +return x_50; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_49, 0); -x_60 = lean_ctor_get(x_49, 1); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_50, 0); +x_61 = lean_ctor_get(x_50, 1); +lean_inc(x_61); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_49); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_dec(x_50); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } default: { -lean_object* x_62; -x_62 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_62; +lean_object* x_63; +x_63 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_63; } } } @@ -11490,58 +11996,61 @@ lean_ctor_set(x_6, 1, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; -lean_inc(x_7); -x_16 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_16, 0, lean_box(0)); -lean_closure_set(x_16, 1, lean_box(0)); -lean_closure_set(x_16, 2, x_7); -lean_inc(x_5); +lean_object* x_17; lean_object* x_18; +lean_inc(x_8); +x_17 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(x_17, 0, lean_box(0)); +lean_closure_set(x_17, 1, lean_box(0)); +lean_closure_set(x_17, 2, x_8); +lean_inc(x_6); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_17 = lean_apply_10(x_5, lean_box(0), x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_17) == 0) +x_18 = lean_apply_10(x_6, lean_box(0), x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_18) == 0) { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_6); -x_21 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_19, x_6); -if (lean_obj_tag(x_21) == 0) +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_7); +x_22 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_20, x_7); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_free_object(x_17); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_free_object(x_18); lean_inc(x_1); -lean_inc(x_6); -x_22 = lean_apply_1(x_1, x_6); -x_23 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_23, 0, x_22); -x_24 = lean_box(x_3); +lean_inc(x_7); +x_23 = lean_apply_1(x_1, x_7); +x_24 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_24, 0, x_23); +x_25 = lean_box(x_3); +x_26 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___boxed), 16, 6); -lean_closure_set(x_25, 0, x_1); -lean_closure_set(x_25, 1, x_2); -lean_closure_set(x_25, 2, x_24); -lean_closure_set(x_25, 3, x_4); -lean_closure_set(x_25, 4, x_5); -lean_closure_set(x_25, 5, x_6); -x_26 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12___rarg), 11, 2); -lean_closure_set(x_26, 0, x_23); -lean_closure_set(x_26, 1, x_25); +x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___boxed), 17, 7); +lean_closure_set(x_27, 0, x_1); +lean_closure_set(x_27, 1, x_2); +lean_closure_set(x_27, 2, x_25); +lean_closure_set(x_27, 3, x_26); +lean_closure_set(x_27, 4, x_5); +lean_closure_set(x_27, 5, x_6); +lean_closure_set(x_27, 6, x_7); +x_28 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg), 11, 2); +lean_closure_set(x_28, 0, x_24); +lean_closure_set(x_28, 1, x_27); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -11549,76 +12058,76 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_27 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(x_4, lean_box(0), x_26, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_20); -lean_dec(x_4); -if (lean_obj_tag(x_27) == 0) +x_29 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__15(x_5, lean_box(0), x_28, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_21); +lean_dec(x_5); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -lean_inc(x_28); -x_30 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__2), 3, 2); -lean_closure_set(x_30, 0, x_6); -lean_closure_set(x_30, 1, x_28); -x_31 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_31, 0, x_7); -lean_closure_set(x_31, 1, x_30); -x_32 = lean_apply_10(x_5, lean_box(0), x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_29); -if (lean_obj_tag(x_32) == 0) +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +lean_inc(x_30); +x_32 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__2), 3, 2); +lean_closure_set(x_32, 0, x_7); +lean_closure_set(x_32, 1, x_30); +x_33 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_33, 0, x_8); +lean_closure_set(x_33, 1, x_32); +x_34 = lean_apply_10(x_6, lean_box(0), x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_31); +if (lean_obj_tag(x_34) == 0) { -uint8_t x_33; -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -lean_object* x_34; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -lean_ctor_set(x_32, 0, x_28); -return x_32; +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_dec(x_36); +lean_ctor_set(x_34, 0, x_30); +return x_34; } else { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_28); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_34, 1); +lean_inc(x_37); +lean_dec(x_34); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_30); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } else { -uint8_t x_37; -lean_dec(x_28); -x_37 = !lean_is_exclusive(x_32); -if (x_37 == 0) +uint8_t x_39; +lean_dec(x_30); +x_39 = !lean_is_exclusive(x_34); +if (x_39 == 0) { -return x_32; +return x_34; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_32, 0); -x_39 = lean_ctor_get(x_32, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_32); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_34, 0); +x_41 = lean_ctor_get(x_34, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_34); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } else { -uint8_t x_41; +uint8_t x_43; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -11628,30 +12137,30 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_41 = !lean_is_exclusive(x_27); -if (x_41 == 0) +x_43 = !lean_is_exclusive(x_29); +if (x_43 == 0) { -return x_27; +return x_29; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_27, 0); -x_43 = lean_ctor_get(x_27, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_27); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_29, 0); +x_45 = lean_ctor_get(x_29, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_29); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } else { -lean_object* x_45; +lean_object* x_47; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -11662,48 +12171,50 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_45 = lean_ctor_get(x_21, 0); -lean_inc(x_45); -lean_dec(x_21); -lean_ctor_set(x_17, 0, x_45); -return x_17; +x_47 = lean_ctor_get(x_22, 0); +lean_inc(x_47); +lean_dec(x_22); +lean_ctor_set(x_18, 0, x_47); +return x_18; } } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_17, 0); -x_47 = lean_ctor_get(x_17, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_17); -lean_inc(x_6); -x_48 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_46, x_6); -if (lean_obj_tag(x_48) == 0) +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_18, 0); +x_49 = lean_ctor_get(x_18, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_18); +lean_inc(x_7); +x_50 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_48, x_7); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_inc(x_1); -lean_inc(x_6); -x_49 = lean_apply_1(x_1, x_6); -x_50 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_50, 0, x_49); -x_51 = lean_box(x_3); +lean_inc(x_7); +x_51 = lean_apply_1(x_1, x_7); +x_52 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_52, 0, x_51); +x_53 = lean_box(x_3); +x_54 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_52 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___boxed), 16, 6); -lean_closure_set(x_52, 0, x_1); -lean_closure_set(x_52, 1, x_2); -lean_closure_set(x_52, 2, x_51); -lean_closure_set(x_52, 3, x_4); -lean_closure_set(x_52, 4, x_5); -lean_closure_set(x_52, 5, x_6); -x_53 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12___rarg), 11, 2); -lean_closure_set(x_53, 0, x_50); -lean_closure_set(x_53, 1, x_52); +x_55 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___boxed), 17, 7); +lean_closure_set(x_55, 0, x_1); +lean_closure_set(x_55, 1, x_2); +lean_closure_set(x_55, 2, x_53); +lean_closure_set(x_55, 3, x_54); +lean_closure_set(x_55, 4, x_5); +lean_closure_set(x_55, 5, x_6); +lean_closure_set(x_55, 6, x_7); +x_56 = lean_alloc_closure((void*)(l_ReaderT_bind___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg), 11, 2); +lean_closure_set(x_56, 0, x_52); +lean_closure_set(x_56, 1, x_55); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); @@ -11711,76 +12222,76 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_54 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(x_4, lean_box(0), x_53, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_47); -lean_dec(x_4); -if (lean_obj_tag(x_54) == 0) +x_57 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__15(x_5, lean_box(0), x_56, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_49); +lean_dec(x_5); +if (lean_obj_tag(x_57) == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -lean_inc(x_55); -x_57 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__2), 3, 2); -lean_closure_set(x_57, 0, x_6); -lean_closure_set(x_57, 1, x_55); -x_58 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_58, 0, x_7); -lean_closure_set(x_58, 1, x_57); -x_59 = lean_apply_10(x_5, lean_box(0), x_58, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_56); -if (lean_obj_tag(x_59) == 0) +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_57, 1); +lean_inc(x_59); +lean_dec(x_57); +lean_inc(x_58); +x_60 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__2), 3, 2); +lean_closure_set(x_60, 0, x_7); +lean_closure_set(x_60, 1, x_58); +x_61 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_61, 0, x_8); +lean_closure_set(x_61, 1, x_60); +x_62 = lean_apply_10(x_6, lean_box(0), x_61, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_59); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; } else { - lean_dec_ref(x_59); - x_61 = lean_box(0); + lean_dec_ref(x_62); + x_64 = lean_box(0); } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); } else { - x_62 = x_61; + x_65 = x_64; } -lean_ctor_set(x_62, 0, x_55); -lean_ctor_set(x_62, 1, x_60); -return x_62; +lean_ctor_set(x_65, 0, x_58); +lean_ctor_set(x_65, 1, x_63); +return x_65; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_dec(x_55); -x_63 = lean_ctor_get(x_59, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_59, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_65 = x_59; +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_dec(x_58); +x_66 = lean_ctor_get(x_62, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_62, 1); +lean_inc(x_67); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_68 = x_62; } else { - lean_dec_ref(x_59); - x_65 = lean_box(0); + lean_dec_ref(x_62); + x_68 = lean_box(0); } -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_68)) { + x_69 = lean_alloc_ctor(1, 2, 0); } else { - x_66 = x_65; + x_69 = x_68; } -lean_ctor_set(x_66, 0, x_63); -lean_ctor_set(x_66, 1, x_64); -return x_66; +lean_ctor_set(x_69, 0, x_66); +lean_ctor_set(x_69, 1, x_67); +return x_69; } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -11790,32 +12301,32 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_67 = lean_ctor_get(x_54, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_54, 1); -lean_inc(x_68); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_69 = x_54; +x_70 = lean_ctor_get(x_57, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_57, 1); +lean_inc(x_71); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_72 = x_57; } else { - lean_dec_ref(x_54); - x_69 = lean_box(0); + lean_dec_ref(x_57); + x_72 = lean_box(0); } -if (lean_is_scalar(x_69)) { - x_70 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_72)) { + x_73 = lean_alloc_ctor(1, 2, 0); } else { - x_70 = x_69; + x_73 = x_72; } -lean_ctor_set(x_70, 0, x_67); -lean_ctor_set(x_70, 1, x_68); -return x_70; +lean_ctor_set(x_73, 0, x_70); +lean_ctor_set(x_73, 1, x_71); +return x_73; } } else { -lean_object* x_71; lean_object* x_72; +lean_object* x_74; lean_object* x_75; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -11826,22 +12337,22 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_71 = lean_ctor_get(x_48, 0); -lean_inc(x_71); -lean_dec(x_48); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_47); -return x_72; +x_74 = lean_ctor_get(x_50, 0); +lean_inc(x_74); +lean_dec(x_50); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_49); +return x_75; } } } else { -uint8_t x_73; +uint8_t x_76; +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -11852,26 +12363,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_73 = !lean_is_exclusive(x_17); -if (x_73 == 0) +x_76 = !lean_is_exclusive(x_18); +if (x_76 == 0) { -return x_17; +return x_18; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_17, 0); -x_75 = lean_ctor_get(x_17, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_17); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_18, 0); +x_78 = lean_ctor_get(x_18, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_18); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } } @@ -11918,73 +12428,73 @@ x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_box(0); -x_14 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___closed__1; -x_15 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___closed__2; -x_16 = lean_st_mk_ref(x_15, x_12); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_14 = lean_box(0); +x_15 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___closed__1; +x_16 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___closed__2; +x_17 = lean_st_mk_ref(x_16, x_13); +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_16); -lean_inc(x_17); -x_19 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_2, x_3, x_4, x_13, x_14, x_1, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18); -if (lean_obj_tag(x_19) == 0) +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_18); +x_20 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_2, x_3, x_4, x_5, x_14, x_15, x_1, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_19); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_st_ref_get(x_17, x_21); -lean_dec(x_17); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_st_ref_get(x_18, x_22); +lean_dec(x_18); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) { -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -lean_ctor_set(x_22, 0, x_20); -return x_22; +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +lean_ctor_set(x_23, 0, x_21); +return x_23; } else { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_20); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_21); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } else { -uint8_t x_27; -lean_dec(x_17); -x_27 = !lean_is_exclusive(x_19); -if (x_27 == 0) +uint8_t x_28; +lean_dec(x_18); +x_28 = !lean_is_exclusive(x_20); +if (x_28 == 0) { -return x_19; +return x_20; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_19, 0); -x_29 = lean_ctor_get(x_19, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_20, 0); +x_30 = lean_ctor_get(x_20, 1); +lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_19); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_dec(x_20); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } @@ -12516,7 +13026,7 @@ return x_1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_12; uint8_t x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_dec(x_3); lean_inc(x_1); x_12 = lean_alloc_closure((void*)(l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__6), 10, 1); @@ -12524,8 +13034,9 @@ lean_closure_set(x_12, 0, x_1); x_13 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 3); lean_dec(x_1); x_14 = l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__7___closed__1; -x_15 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(x_2, x_14, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; +x_15 = 0; +x_16 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(x_2, x_14, x_12, x_13, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_16; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -12580,14 +13091,16 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit_visitPost___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__3(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { @@ -12629,23 +13142,45 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -uint8_t x_18; lean_object* x_19; -x_18 = lean_unbox(x_4); +uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_19 = lean_unbox(x_4); lean_dec(x_4); -x_19 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___lambda__1(x_1, x_2, x_3, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_19; +x_20 = lean_unbox(x_5); +lean_dec(x_5); +x_21 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___lambda__1(x_1, x_2, x_3, x_19, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_21; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = l_Lean_Meta_transform_visit_visitLambda___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__4(x_1, x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { @@ -12687,23 +13222,45 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -uint8_t x_18; lean_object* x_19; -x_18 = lean_unbox(x_4); +uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_19 = lean_unbox(x_4); lean_dec(x_4); -x_19 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___lambda__1(x_1, x_2, x_3, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_19; +x_20 = lean_unbox(x_5); +lean_dec(x_5); +x_21 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___lambda__1(x_1, x_2, x_3, x_19, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_21; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = l_Lean_Meta_transform_visit_visitForall___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__5(x_1, x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { @@ -12743,23 +13300,45 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -uint8_t x_18; lean_object* x_19; -x_18 = lean_unbox(x_4); +uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_19 = lean_unbox(x_4); lean_dec(x_4); -x_19 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___lambda__1(x_1, x_2, x_3, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_19; +x_20 = lean_unbox(x_5); +lean_dec(x_5); +x_21 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___lambda__1(x_1, x_2, x_3, x_19, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_21; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = l_Lean_Meta_transform_visit_visitLet___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__6(x_1, x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10___boxed(lean_object** _args) { @@ -12780,20 +13359,23 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_18 = lean_unbox(x_3); +uint8_t x_19; uint8_t x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_19 = lean_unbox(x_3); lean_dec(x_3); -x_19 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_20 = lean_unbox_usize(x_7); +x_20 = lean_unbox(x_4); +lean_dec(x_4); +x_21 = lean_unbox_usize(x_7); lean_dec(x_7); -x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10(x_1, x_2, x_18, x_4, x_5, x_19, x_20, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_21; +x_22 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__10(x_1, x_2, x_19, x_20, x_5, x_6, x_21, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_23; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -12811,20 +13393,91 @@ lean_object* x_14 = _args[13]; lean_object* x_15 = _args[14]; lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; _start: { -uint8_t x_18; lean_object* x_19; -x_18 = lean_unbox(x_3); +uint8_t x_19; uint8_t x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_19 = lean_unbox(x_3); lean_dec(x_3); -x_19 = l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11(x_1, x_2, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -return x_19; +x_20 = lean_unbox(x_4); +lean_dec(x_4); +x_21 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_22 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__11(x_1, x_2, x_19, x_20, x_5, x_6, x_21, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_23; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +uint8_t x_19; uint8_t x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_19 = lean_unbox(x_3); +lean_dec(x_3); +x_20 = lean_unbox(x_4); +lean_dec(x_4); +x_21 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_22 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_23 = l_Array_mapMUnsafe_map___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__12(x_1, x_2, x_19, x_20, x_5, x_6, x_21, x_22, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_23; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +_start: +{ +uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_19 = lean_unbox(x_3); +lean_dec(x_3); +x_20 = lean_unbox(x_4); +lean_dec(x_4); +x_21 = l_Lean_Expr_withAppAux___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(x_1, x_2, x_19, x_20, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -12832,42 +13485,63 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__14(x_1, x_2); +x_3 = l_Lean_throwMaxRecDepthAt___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__16(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; -x_13 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Meta_withIncRecDepth___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_3); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_3); lean_dec(x_3); -x_18 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +x_19 = lean_unbox(x_4); +lean_dec(x_4); +x_20 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___lambda__1(x_1, x_2, x_18, x_19, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_3); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_3); lean_dec(x_3); -x_17 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -return x_17; +x_18 = lean_unbox(x_4); +lean_dec(x_4); +x_19 = l_Lean_Meta_transform_visit___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__2(x_1, x_2, x_17, x_18, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -12885,14 +13559,16 @@ lean_dec(x_3); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_4); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_4); lean_dec(x_4); -x_14 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_5); +lean_dec(x_5); +x_16 = l_Lean_Meta_transform___at___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___spec__1(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Simp_Main_0__Lean_Meta_Simp_dsimp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -18043,7 +18719,7 @@ static lean_object* _init_l_Lean_Meta_Simp_simp_simpStep___closed__4() { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Simp_simp_simpStep___closed__1; x_2 = l_Lean_Meta_Simp_simp_simpStep___closed__2; -x_3 = lean_unsigned_to_nat(379u); +x_3 = lean_unsigned_to_nat(382u); x_4 = lean_unsigned_to_nat(22u); x_5 = l_Lean_Meta_Simp_simp_simpStep___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -20233,7 +20909,7 @@ static lean_object* _init_l_Lean_Meta_Simp_simp_simpLet___closed__2() { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Simp_simp_simpStep___closed__1; x_2 = l_Lean_Meta_Simp_simp_simpLet___closed__1; -x_3 = lean_unsigned_to_nat(786u); +x_3 = lean_unsigned_to_nat(789u); x_4 = lean_unsigned_to_nat(31u); x_5 = l_Lean_Meta_Simp_simp_simpStep___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -29294,7 +29970,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryA lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Simp_simp_simpStep___closed__1; x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(494u); +x_3 = lean_unsigned_to_nat(497u); x_4 = lean_unsigned_to_nat(13u); x_5 = l_Lean_Meta_Simp_simp_simpStep___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -32324,7 +33000,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryA lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Simp_simp_simpStep___closed__1; x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(552u); +x_3 = lean_unsigned_to_nat(555u); x_4 = lean_unsigned_to_nat(13u); x_5 = l_Lean_Meta_Simp_simp_simpStep___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -37014,7 +37690,7 @@ static lean_object* _init_l_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___lambda lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Simp_simp_simpStep___closed__1; x_2 = l_Array_forInUnsafe_loop___at_Lean_Meta_Simp_simp_tryAutoCongrTheorem_x3f___spec__2___closed__1; -x_3 = lean_unsigned_to_nat(553u); +x_3 = lean_unsigned_to_nat(556u); x_4 = lean_unsigned_to_nat(63u); x_5 = l_Lean_Meta_Simp_simp_simpStep___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -50891,7 +51567,7 @@ static lean_object* _init_l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___close lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_Simp_simp_simpStep___closed__1; x_2 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__4; -x_3 = lean_unsigned_to_nat(889u); +x_3 = lean_unsigned_to_nat(892u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_Meta_Simp_dischargeEqnThmHypothesis_x3f___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c index 86058fc4b72e..90db2a995bf7 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/Types.c @@ -13,7 +13,6 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__3; static lean_object* l_Lean_Meta_Simp_Context_congrTheorems___default___closed__2; LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Meta_Simp_State_congrCache___default___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Meta_Simp_State_usedTheorems___default___spec__1(lean_object*); @@ -41,9 +40,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_congrTheorems___default; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_getSimpCongrTheorems___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_getSimpCongrTheorems(lean_object*); LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Meta_Simp_recordSimpTheorem___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__2; lean_object* l_Lean_Meta_getSimpCongrTheorems___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_contains___at_Lean_Meta_Simp_recordSimpTheorem___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_instInhabitedMethods___closed__2; @@ -60,8 +57,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Result_dischargeDepth___default; LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Meta_Simp_recordSimpTheorem___spec__6(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_withParent(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instInhabitedMethods___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Methods_post___default(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Origin_key(lean_object*); uint8_t l_Lean_Meta_SimpTheoremsArray_isDeclToUnfold(lean_object*, lean_object*); @@ -70,10 +65,8 @@ static lean_object* l_Lean_Meta_Simp_Context_mkDefault___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_getSimpCongrTheorems___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_Context_simpTheorems___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_recordSimpTheorem___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instInhabitedMethods___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_mkDefault(lean_object*, lean_object*); @@ -81,7 +74,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Simp_getSimpTheorems___boxed(lean_object*); extern lean_object* l_Lean_Meta_simpExtension; static lean_object* l_Lean_Meta_Simp_instInhabitedContext___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Methods_discharge_x3f___default(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_hashmap_mk_idx(lean_object*, uint64_t); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_getSimpTheorems___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_Context_congrTheorems___default___closed__5; @@ -98,7 +90,6 @@ static lean_object* l_Lean_Meta_Simp_instInhabitedStep___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_recordSimpTheorem(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_Simp_instInhabitedMethods___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Methods_post___default___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instInhabitedContext; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instInhabitedMethods___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -131,7 +122,6 @@ lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_getSimpCongrTheorems___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_getSimpTheorems(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Context_parent_x3f___default; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -581,87 +571,6 @@ x_1 = lean_unsigned_to_nat(0u); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Meta_saveState___rarg(x_4, x_5, x_6, x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Meta_SavedState_restore(x_1, x_4, x_5, x_6, x_7, x_8); -return x_9; -} -} -static lean_object* _init_l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__1___boxed), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__2___boxed), 8, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__1; -x_2 = l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__2; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__3; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_9; -} -} static lean_object* _init_l_Lean_Meta_Simp_instInhabitedStep___closed__1() { _start: { @@ -2317,14 +2226,6 @@ l_Lean_Meta_Simp_State_usedTheorems___default = _init_l_Lean_Meta_Simp_State_use lean_mark_persistent(l_Lean_Meta_Simp_State_usedTheorems___default); l_Lean_Meta_Simp_State_numSteps___default = _init_l_Lean_Meta_Simp_State_numSteps___default(); lean_mark_persistent(l_Lean_Meta_Simp_State_numSteps___default); -l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__1 = _init_l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__1(); -lean_mark_persistent(l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__1); -l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__2 = _init_l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__2(); -lean_mark_persistent(l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__2); -l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__3 = _init_l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__3(); -lean_mark_persistent(l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM___closed__3); -l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM = _init_l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM(); -lean_mark_persistent(l_Lean_Meta_Simp_instMonadBacktrackSavedStateSimpM); l_Lean_Meta_Simp_instInhabitedStep___closed__1 = _init_l_Lean_Meta_Simp_instInhabitedStep___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_instInhabitedStep___closed__1); l_Lean_Meta_Simp_instInhabitedStep = _init_l_Lean_Meta_Simp_instInhabitedStep(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Split.c b/stage0/stdlib/Lean/Meta/Tactic/Split.c index 7b2098ae71b1..c38181ad5236 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Split.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Split.c @@ -172,7 +172,7 @@ static lean_object* l_Lean_Meta_Split_applyMatchSplitter___closed__4; lean_object* l_Lean_Meta_Match_MatcherInfo_getFirstDiscrPos(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_withEqs_go___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_withNewAltEqs_go___closed__3; -lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); @@ -5098,7 +5098,7 @@ lean_inc(x_17); lean_dec(x_15); x_18 = l___private_Lean_Meta_Tactic_Split_0__Lean_Meta_Split_generalizeMatchDiscrs_mkNewTarget___closed__1; x_19 = 0; -x_20 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_14, x_18, x_19, x_9, x_10, x_11, x_12, x_17); +x_20 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_16, x_14, x_18, x_19, x_19, x_9, x_10, x_11, x_12, x_17); return x_20; } } diff --git a/stage0/stdlib/Lean/Meta/Transform.c b/stage0/stdlib/Lean/Meta/Transform.c index e1356156d8fc..f8c46255d6df 100644 --- a/stage0/stdlib/Lean/Meta/Transform.c +++ b/stage0/stdlib/Lean/Meta/Transform.c @@ -13,7 +13,7 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__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_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_zetaReduce___spec__9___rarg___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_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__8(lean_object*, lean_object*); @@ -21,37 +21,35 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__7(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_Core_transform___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_betaReduce___closed__1; -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___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_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__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_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___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_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__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_Meta_transform_visit___rarg___lambda__3(lean_object*, 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_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__7___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__7___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_betaReduce___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_zetaReduce___spec__9___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___spec__1___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___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_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_erasePatternRefAnnotations(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__7___rarg___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_Core_transform_visit___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit_visitPost(lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___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_Meta_transform_visit___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Core_transform_visit___spec__2___rarg(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_Core_transform_visit___rarg___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -60,156 +58,171 @@ static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_transform_visit___s LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__13(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__9___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__12___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_Lean_Core_transform_visit_visitPost___rarg___lambda__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_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2(lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__6___closed__2; LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__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_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__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_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__6___closed__3; LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2(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_Lean_Meta_transform_visit_visitForall___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_betaReduce___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___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_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg(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_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___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_throwMaxRecDepthAt___at_Lean_Core_transform_visit___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__13(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* l_ST_Prim_Ref_get___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mdata___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__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_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda(lean_object*); lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__5(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_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_transform_visit___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___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_Meta_transform_visit_visitLambda___rarg___lambda__2(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_Lean_Meta_transform_visit_visitLambda___rarg___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_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2(lean_object*, lean_object*, 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_environment_find(lean_object*, lean_object*); static lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*); uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg___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_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_erasePatternRefAnnotations___closed__1; LEAN_EXPORT lean_object* l_Lean_Core_transform_visit_visitPost___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___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_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__10___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__4___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg___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_Core_transform___at_Lean_Core_betaReduce___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___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_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_unfoldDeclsFrom(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__10(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_transform_visit_visitForall___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Core_transform_visit___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Core_betaReduce___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__9___closed__1; LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Core_betaReduce___spec__6(lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__15___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_Core_transform_visit___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___spec__1___rarg___lambda__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_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___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_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1(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_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___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_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1(lean_object*); static lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___closed__2; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(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_Core_transform_visit___rarg___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitForall___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Core_instantiateValueLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_addDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__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_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__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_object* l_StateRefT_x27_lift___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_transform_visit___spec__5___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_inaccessible_x3f(lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__10___closed__3; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1___rarg___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_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(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_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_erasePatternRefAnnotations___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(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_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__13___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_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___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_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__5(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isHeadBetaTarget(lean_object*, uint8_t); static lean_object* l_Lean_Core_betaReduce___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__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_EXPORT lean_object* l_ReaderT_bind___at_Lean_Core_betaReduce___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform___rarg___closed__1; LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Core_transform_visit___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg(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_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__4___closed__2; +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__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_Meta_transform(lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__2___closed__4; lean_object* l_Lean_Expr_letE___override(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Meta_eraseInaccessibleAnnotations(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_betaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLetFVars___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_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit_visitPost___at_Lean_Core_betaReduce___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__9___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Core_transform_visit___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1___closed__1; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg(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_Lean_Meta_zetaReduce___spec__13___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_Lean_Expr_withAppAux___at_Lean_Core_transform_visit___spec__2___rarg___lambda__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_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg(lean_object*, 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_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5(lean_object*, lean_object*, lean_object*, 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_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashMap_insert___at_Lean_instantiateExprMVars___spec__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4(lean_object*, lean_object*, 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_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___spec__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_betaReduce___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___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_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_unfoldDeclsFrom___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_zetaReduce___closed__1; LEAN_EXPORT lean_object* l_Lean_Core_betaReduce(lean_object*, lean_object*, lean_object*, lean_object*); @@ -217,77 +230,79 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec_ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitForall___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_betaReduce___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_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__8___rarg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10___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_Lean_Meta_transform_visit_visitForall___rarg(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_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10___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_Lean_Meta_transform_visit_visitForall___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__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_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__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_Meta_transform_visit_visitLet___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__6(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_zetaReduce___spec__9(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___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_ReaderT_bind___at_Lean_Meta_transform_visit___spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_zetaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__6___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(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_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_betaReduce___spec__8___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__10___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_zetaReduce___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__11(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_473_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_transform_visit___spec__5___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_transform_visit___spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_betaReduce___spec__8(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_patternWithRef_x3f(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1(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_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_betaReduce___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__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_EXPORT lean_object* l_Lean_Meta_zetaReduce___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__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_ReaderT_bind___at_Lean_Meta_transform_visit___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2(lean_object*, uint8_t, 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_Meta_withLetDecl___at_Lean_Meta_zetaReduce___spec__9___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__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_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_eraseInaccessibleAnnotations___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_zetaReduce___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__12___closed__1; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(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_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__14___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_transform_visit___spec__4___rarg___lambda__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__6(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_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitForall___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Meta_erasePatternRefAnnotations___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___rarg___lambda__14(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__8(lean_object*, lean_object*); @@ -302,37 +317,39 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec_ lean_object* l_Lean_Expr_headBeta(lean_object*); lean_object* l_Lean_LocalDecl_value_x3f(lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Core_transform_visit___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at_Lean_Core_betaReduce___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(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_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Core_betaReduce___spec__8___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isConst(lean_object*); lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Core_transform___rarg___lambda__5(lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__7___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_transform_visit___at_Lean_Core_betaReduce___spec__2___lambda__1(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_Core_transform___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___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_Meta_transform_visit___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Core_transform_visit___rarg___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_zetaReduce(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__11(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Core_betaReduce___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__4(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_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__8___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Meta_zetaReduce___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__12(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Core_transform_visit___spec__1___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -4293,76 +4310,78 @@ lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, size_t x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, size_t x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; -x_14 = 1; -x_15 = lean_usize_add(x_1, x_14); -x_16 = lean_array_uset(x_2, x_1, x_13); -x_17 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15, x_16, x_12); -return x_17; +size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; +x_15 = 1; +x_16 = lean_usize_add(x_1, x_15); +x_17 = lean_array_uset(x_2, x_1, x_14); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16, x_17, x_13); +return x_18; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; -x_13 = lean_usize_dec_lt(x_10, x_9); -if (x_13 == 0) +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_11, x_10); +if (x_14 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_12); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_13); +lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_ctor_get(x_14, 1); +x_15 = lean_ctor_get(x_1, 0); lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_apply_2(x_15, lean_box(0), x_11); -return x_16; +lean_dec(x_1); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_apply_2(x_16, lean_box(0), x_12); +return x_17; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_17 = lean_array_uget(x_11, x_10); -x_18 = lean_unsigned_to_nat(0u); -x_19 = lean_array_uset(x_11, x_10, x_18); -x_20 = lean_ctor_get(x_1, 1); -lean_inc(x_20); -lean_inc(x_12); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_18 = lean_array_uget(x_12, x_11); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_12, x_11, x_19); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_inc(x_13); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17, x_12); -x_22 = lean_box_usize(x_10); -x_23 = lean_box(x_6); -x_24 = lean_box_usize(x_9); -x_25 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1___boxed), 13, 12); -lean_closure_set(x_25, 0, x_22); -lean_closure_set(x_25, 1, x_19); -lean_closure_set(x_25, 2, x_1); -lean_closure_set(x_25, 3, x_2); -lean_closure_set(x_25, 4, x_3); -lean_closure_set(x_25, 5, x_4); -lean_closure_set(x_25, 6, x_5); -lean_closure_set(x_25, 7, x_23); -lean_closure_set(x_25, 8, x_7); -lean_closure_set(x_25, 9, x_8); -lean_closure_set(x_25, 10, x_24); -lean_closure_set(x_25, 11, x_12); -x_26 = lean_apply_4(x_20, lean_box(0), lean_box(0), x_21, x_25); -return x_26; +x_22 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18, x_13); +x_23 = lean_box_usize(x_11); +x_24 = lean_box(x_6); +x_25 = lean_box(x_7); +x_26 = lean_box_usize(x_10); +x_27 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1___boxed), 14, 13); +lean_closure_set(x_27, 0, x_23); +lean_closure_set(x_27, 1, x_20); +lean_closure_set(x_27, 2, x_1); +lean_closure_set(x_27, 3, x_2); +lean_closure_set(x_27, 4, x_3); +lean_closure_set(x_27, 5, x_4); +lean_closure_set(x_27, 6, x_5); +lean_closure_set(x_27, 7, x_24); +lean_closure_set(x_27, 8, x_25); +lean_closure_set(x_27, 9, x_8); +lean_closure_set(x_27, 10, x_9); +lean_closure_set(x_27, 11, x_26); +lean_closure_set(x_27, 12, x_13); +x_28 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_22, x_27); +return x_28; } } } @@ -4370,113 +4389,390 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit__ _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___boxed), 12, 0); +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___boxed), 13, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, size_t x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_mkAppN(x_1, x_11); -x_13 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12, x_10); -return x_13; +size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; +x_15 = 1; +x_16 = lean_usize_add(x_1, x_15); +x_17 = lean_array_uset(x_2, x_1, x_14); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16, x_17, x_13); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_array_get_size(x_1); -x_14 = lean_usize_of_nat(x_13); +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_11, x_10); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_dec(x_13); -x_15 = 0; -lean_inc(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +lean_dec(x_1); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_apply_2(x_16, lean_box(0), x_12); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_18 = lean_array_uget(x_12, x_11); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_12, x_11, x_19); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_inc(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_22 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18, x_13); +x_23 = lean_box_usize(x_11); +x_24 = lean_box(x_6); +x_25 = lean_box(x_7); +x_26 = lean_box_usize(x_10); +x_27 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1___boxed), 14, 13); +lean_closure_set(x_27, 0, x_23); +lean_closure_set(x_27, 1, x_20); +lean_closure_set(x_27, 2, x_1); +lean_closure_set(x_27, 3, x_2); +lean_closure_set(x_27, 4, x_3); +lean_closure_set(x_27, 5, x_4); +lean_closure_set(x_27, 6, x_5); +lean_closure_set(x_27, 7, x_24); +lean_closure_set(x_27, 8, x_25); +lean_closure_set(x_27, 9, x_8); +lean_closure_set(x_27, 10, x_9); +lean_closure_set(x_27, 11, x_26); +lean_closure_set(x_27, 12, x_13); +x_28 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_22, x_27); +return x_28; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg___boxed), 13, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg___lambda__1(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, size_t x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; +x_15 = 1; +x_16 = lean_usize_add(x_1, x_15); +x_17 = lean_array_uset(x_2, x_1, x_14); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_16, x_17, x_13); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_11, x_10); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_ctor_get(x_1, 0); +lean_inc(x_15); +lean_dec(x_1); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_apply_2(x_16, lean_box(0), x_12); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_18 = lean_array_uget(x_12, x_11); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_12, x_11, x_19); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_inc(x_13); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_22 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18, x_13); +x_23 = lean_box_usize(x_11); +x_24 = lean_box(x_6); +x_25 = lean_box(x_7); +x_26 = lean_box_usize(x_10); +x_27 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg___lambda__1___boxed), 14, 13); +lean_closure_set(x_27, 0, x_23); +lean_closure_set(x_27, 1, x_20); +lean_closure_set(x_27, 2, x_1); +lean_closure_set(x_27, 3, x_2); +lean_closure_set(x_27, 4, x_3); +lean_closure_set(x_27, 5, x_4); +lean_closure_set(x_27, 6, x_5); +lean_closure_set(x_27, 7, x_24); +lean_closure_set(x_27, 8, x_25); +lean_closure_set(x_27, 9, x_8); +lean_closure_set(x_27, 10, x_9); +lean_closure_set(x_27, 11, x_26); +lean_closure_set(x_27, 12, x_13); +x_28 = lean_apply_4(x_21, lean_box(0), lean_box(0), x_22, x_27); +return x_28; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg___boxed), 13, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_mkAppN(x_1, x_12); +x_14 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_array_get_size(x_1); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_16 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14, x_15, x_1, x_10); -x_17 = lean_box(x_7); -x_18 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1___boxed), 11, 10); -lean_closure_set(x_18, 0, x_12); -lean_closure_set(x_18, 1, x_2); -lean_closure_set(x_18, 2, x_3); -lean_closure_set(x_18, 3, x_4); -lean_closure_set(x_18, 4, x_5); -lean_closure_set(x_18, 5, x_6); -lean_closure_set(x_18, 6, x_17); -lean_closure_set(x_18, 7, x_8); -lean_closure_set(x_18, 8, x_9); -lean_closure_set(x_18, 9, x_10); -x_19 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_16, x_18); -return x_19; +x_17 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_16, x_1, x_11); +x_18 = lean_box(x_7); +x_19 = lean_box(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1___boxed), 12, 11); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_2); +lean_closure_set(x_20, 2, x_3); +lean_closure_set(x_20, 3, x_4); +lean_closure_set(x_20, 4, x_5); +lean_closure_set(x_20, 5, x_6); +lean_closure_set(x_20, 6, x_18); +lean_closure_set(x_20, 7, x_19); +lean_closure_set(x_20, 8, x_9); +lean_closure_set(x_20, 9, x_10); +lean_closure_set(x_20, 10, x_11); +x_21 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_17, x_20); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_14 = lean_array_get_size(x_1); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_17 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_16, x_1, x_11); +x_18 = lean_box(x_7); +x_19 = lean_box(x_8); +x_20 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1___boxed), 12, 11); +lean_closure_set(x_20, 0, x_13); +lean_closure_set(x_20, 1, x_2); +lean_closure_set(x_20, 2, x_3); +lean_closure_set(x_20, 3, x_4); +lean_closure_set(x_20, 4, x_5); +lean_closure_set(x_20, 5, x_6); +lean_closure_set(x_20, 6, x_18); +lean_closure_set(x_20, 7, x_19); +lean_closure_set(x_20, 8, x_9); +lean_closure_set(x_20, 9, x_10); +lean_closure_set(x_20, 10, x_11); +x_21 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_17, x_20); +return x_21; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -if (lean_obj_tag(x_10) == 5) +if (lean_obj_tag(x_11) == 5) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_10, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_10, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_11, 0); lean_inc(x_15); -lean_dec(x_10); -x_16 = lean_array_set(x_11, x_12, x_15); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_nat_sub(x_12, x_17); -lean_dec(x_12); -x_10 = x_14; -x_11 = x_16; -x_12 = x_18; +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_array_set(x_12, x_13, x_16); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_sub(x_13, x_18); +lean_dec(x_13); +x_11 = x_15; +x_12 = x_17; +x_13 = x_19; goto _start; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_12); -lean_inc(x_13); +lean_dec(x_13); +if (x_7 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_inc(x_14); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_21 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_11, x_14); +x_22 = lean_box(x_6); +x_23 = lean_box(x_7); +lean_inc(x_10); +x_24 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__2___boxed), 13, 12); +lean_closure_set(x_24, 0, x_12); +lean_closure_set(x_24, 1, x_1); +lean_closure_set(x_24, 2, x_2); +lean_closure_set(x_24, 3, x_3); +lean_closure_set(x_24, 4, x_4); +lean_closure_set(x_24, 5, x_5); +lean_closure_set(x_24, 6, x_22); +lean_closure_set(x_24, 7, x_23); +lean_closure_set(x_24, 8, x_8); +lean_closure_set(x_24, 9, x_9); +lean_closure_set(x_24, 10, x_14); +lean_closure_set(x_24, 11, x_10); +x_25 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_21, x_24); +return x_25; +} +else +{ +uint8_t x_26; +x_26 = l_Lean_Expr_isConst(x_11); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_inc(x_14); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_20 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_13); -x_21 = lean_box(x_6); +x_27 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_11, x_14); +x_28 = lean_box(x_6); +x_29 = lean_box(x_7); +lean_inc(x_10); +x_30 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__3___boxed), 13, 12); +lean_closure_set(x_30, 0, x_12); +lean_closure_set(x_30, 1, x_1); +lean_closure_set(x_30, 2, x_2); +lean_closure_set(x_30, 3, x_3); +lean_closure_set(x_30, 4, x_4); +lean_closure_set(x_30, 5, x_5); +lean_closure_set(x_30, 6, x_28); +lean_closure_set(x_30, 7, x_29); +lean_closure_set(x_30, 8, x_8); +lean_closure_set(x_30, 9, x_9); +lean_closure_set(x_30, 10, x_14); +lean_closure_set(x_30, 11, x_10); +x_31 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_27, x_30); +return x_31; +} +else +{ +lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_32 = lean_array_get_size(x_12); +x_33 = lean_usize_of_nat(x_32); +lean_dec(x_32); +x_34 = 0; +lean_inc(x_14); lean_inc(x_9); -x_22 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__2___boxed), 12, 11); -lean_closure_set(x_22, 0, x_11); -lean_closure_set(x_22, 1, x_1); -lean_closure_set(x_22, 2, x_2); -lean_closure_set(x_22, 3, x_3); -lean_closure_set(x_22, 4, x_4); -lean_closure_set(x_22, 5, x_5); -lean_closure_set(x_22, 6, x_21); -lean_closure_set(x_22, 7, x_7); -lean_closure_set(x_22, 8, x_8); -lean_closure_set(x_22, 9, x_13); -lean_closure_set(x_22, 10, x_9); -x_23 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_20, x_22); -return x_23; +lean_inc(x_8); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_35 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_33, x_34, x_12, x_14); +x_36 = lean_box(x_6); +x_37 = lean_box(x_7); +x_38 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1___boxed), 12, 11); +lean_closure_set(x_38, 0, x_11); +lean_closure_set(x_38, 1, x_1); +lean_closure_set(x_38, 2, x_2); +lean_closure_set(x_38, 3, x_3); +lean_closure_set(x_38, 4, x_4); +lean_closure_set(x_38, 5, x_5); +lean_closure_set(x_38, 6, x_36); +lean_closure_set(x_38, 7, x_37); +lean_closure_set(x_38, 8, x_8); +lean_closure_set(x_38, 9, x_9); +lean_closure_set(x_38, 10, x_14); +x_39 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_35, x_38); +return x_39; +} } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2(lean_object* x_1) { +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___boxed), 13, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___boxed), 14, 0); return x_2; } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -4492,15 +4788,15 @@ x_10 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_8, x_9); return x_10; } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__3(lean_object* x_1) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__5(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__3___rarg), 6, 0); +x_2 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__5___rarg), 6, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -4514,15 +4810,15 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___rarg___boxed), 6, 0); +x_5 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7___rarg___boxed), 6, 0); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__6___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; uint8_t x_23; @@ -4630,7 +4926,7 @@ lean_dec(x_11); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_45 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___rarg(x_16, x_6, x_7, x_8, x_9, x_10); +x_45 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7___rarg(x_16, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4639,7 +4935,7 @@ return x_45; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -4649,7 +4945,7 @@ lean_dec(x_1); x_8 = lean_ctor_get(x_2, 0); lean_inc(x_8); lean_inc(x_2); -x_9 = lean_alloc_closure((void*)(l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1), 10, 4); +x_9 = lean_alloc_closure((void*)(l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__6___rarg___lambda__1), 10, 4); lean_closure_set(x_9, 0, x_5); lean_closure_set(x_9, 1, x_6); lean_closure_set(x_9, 2, x_2); @@ -4661,100 +4957,100 @@ x_12 = lean_apply_4(x_7, lean_box(0), lean_box(0), x_10, x_11); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__6(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4___rarg), 6, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__6___rarg), 6, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { if (lean_obj_tag(x_1) == 10) { -lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; uint8_t x_16; -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 1); +lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_1, 0); lean_inc(x_13); -x_14 = lean_ptr_addr(x_13); -lean_dec(x_13); -x_15 = lean_ptr_addr(x_11); -x_16 = lean_usize_dec_eq(x_14, x_15); -if (x_16 == 0) +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +x_15 = lean_ptr_addr(x_14); +lean_dec(x_14); +x_16 = lean_ptr_addr(x_12); +x_17 = lean_usize_dec_eq(x_15, x_16); +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; +lean_object* x_18; lean_object* x_19; lean_dec(x_1); -x_17 = l_Lean_Expr_mdata___override(x_12, x_11); -x_18 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17, x_10); -return x_18; +x_18 = l_Lean_Expr_mdata___override(x_13, x_12); +x_19 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_18, x_11); +return x_19; } else { -lean_object* x_19; +lean_object* x_20; +lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); -x_19 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1, x_10); -return x_19; +x_20 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_1, x_11); +return x_20; } } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_11); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_12); lean_dec(x_1); -x_20 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__3; -x_21 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_20); -x_22 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_21, x_10); -return x_22; +x_21 = l_Lean_Core_transform_visit___rarg___lambda__9___closed__3; +x_22 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_21); +x_23 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22, x_11); +return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { if (lean_obj_tag(x_1) == 11) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; uint8_t x_17; -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_13 = lean_ctor_get(x_1, 0); lean_inc(x_13); -x_14 = lean_ctor_get(x_1, 2); +x_14 = lean_ctor_get(x_1, 1); lean_inc(x_14); -x_15 = lean_ptr_addr(x_14); -lean_dec(x_14); -x_16 = lean_ptr_addr(x_11); -x_17 = lean_usize_dec_eq(x_15, x_16); -if (x_17 == 0) +x_15 = lean_ctor_get(x_1, 2); +lean_inc(x_15); +x_16 = lean_ptr_addr(x_15); +lean_dec(x_15); +x_17 = lean_ptr_addr(x_12); +x_18 = lean_usize_dec_eq(x_16, x_17); +if (x_18 == 0) { -lean_object* x_18; lean_object* x_19; +lean_object* x_19; lean_object* x_20; lean_dec(x_1); -x_18 = l_Lean_Expr_proj___override(x_12, x_13, x_11); -x_19 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_18, x_10); -return x_19; +x_19 = l_Lean_Expr_proj___override(x_13, x_14, x_12); +x_20 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_19, x_11); +return x_20; } else { -lean_object* x_20; +lean_object* x_21; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -lean_dec(x_11); -x_20 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1, x_10); -return x_20; +x_21 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_1, x_11); +return x_21; } } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_11); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_12); lean_dec(x_1); -x_21 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__3; -x_22 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_21); -x_23 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22, x_10); -return x_23; +x_22 = l_Lean_Core_transform_visit___rarg___lambda__10___closed__3; +x_23 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_22); +x_24 = l_Lean_Meta_transform_visit_visitPost___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_23, x_11); +return x_24; } } } @@ -4767,297 +5063,305 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; -switch (lean_obj_tag(x_11)) { +lean_object* x_14; +switch (lean_obj_tag(x_12)) { case 0: { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -lean_dec(x_12); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_13); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_39 = lean_ctor_get(x_11, 0); -lean_inc(x_39); -lean_dec(x_11); -x_40 = lean_ctor_get(x_1, 0); -lean_inc(x_40); +x_42 = lean_ctor_get(x_12, 0); +lean_inc(x_42); +lean_dec(x_12); +x_43 = lean_ctor_get(x_1, 0); +lean_inc(x_43); lean_dec(x_1); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_apply_2(x_41, lean_box(0), x_39); -return x_42; +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_apply_2(x_44, lean_box(0), x_42); +return x_45; } case 1: { -lean_object* x_43; lean_object* x_44; -lean_dec(x_10); -lean_dec(x_9); -x_43 = lean_ctor_get(x_11, 0); -lean_inc(x_43); +lean_object* x_46; lean_object* x_47; lean_dec(x_11); -x_44 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43, x_12); -return x_44; +lean_dec(x_10); +x_46 = lean_ctor_get(x_12, 0); +lean_inc(x_46); +lean_dec(x_12); +x_47 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_46, x_13); +return x_47; } default: { -lean_object* x_45; -x_45 = lean_ctor_get(x_11, 0); -lean_inc(x_45); -lean_dec(x_11); -if (lean_obj_tag(x_45) == 0) +lean_object* x_48; +x_48 = lean_ctor_get(x_12, 0); +lean_inc(x_48); +lean_dec(x_12); +if (lean_obj_tag(x_48) == 0) { -x_13 = x_10; -goto block_38; +x_14 = x_11; +goto block_41; } else { -lean_object* x_46; -lean_dec(x_10); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -lean_dec(x_45); -x_13 = x_46; -goto block_38; +lean_object* x_49; +lean_dec(x_11); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +lean_dec(x_48); +x_14 = x_49; +goto block_41; } } } -block_38: +block_41: { -switch (lean_obj_tag(x_13)) { +switch (lean_obj_tag(x_14)) { case 5: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_14 = lean_unsigned_to_nat(0u); -x_15 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_13, x_14); -x_16 = l_Lean_Core_transform_visit___rarg___lambda__12___closed__1; -lean_inc(x_15); -x_17 = lean_mk_array(x_15, x_16); -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_nat_sub(x_15, x_18); -lean_dec(x_15); -x_20 = l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_17, x_19, x_12); -return x_20; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_unsigned_to_nat(0u); +x_16 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_14, x_15); +x_17 = l_Lean_Core_transform_visit___rarg___lambda__12___closed__1; +lean_inc(x_16); +x_18 = lean_mk_array(x_16, x_17); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_16, x_19); +lean_dec(x_16); +x_21 = l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14, x_18, x_20, x_13); +return x_21; } case 6: { -lean_object* x_21; lean_object* x_22; -lean_dec(x_9); -x_21 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; -x_22 = l_Lean_Meta_transform_visit_visitLambda___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_21, x_13, x_12); -return x_22; +lean_object* x_22; lean_object* x_23; +lean_dec(x_10); +x_22 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; +x_23 = l_Lean_Meta_transform_visit_visitLambda___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22, x_14, x_13); +return x_23; } case 7: { -lean_object* x_23; lean_object* x_24; -lean_dec(x_9); -x_23 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; -x_24 = l_Lean_Meta_transform_visit_visitForall___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23, x_13, x_12); -return x_24; +lean_object* x_24; lean_object* x_25; +lean_dec(x_10); +x_24 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; +x_25 = l_Lean_Meta_transform_visit_visitForall___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24, x_14, x_13); +return x_25; } case 8: { -lean_object* x_25; lean_object* x_26; -lean_dec(x_9); -x_25 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; -x_26 = l_Lean_Meta_transform_visit_visitLet___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_25, x_13, x_12); -return x_26; +lean_object* x_26; lean_object* x_27; +lean_dec(x_10); +x_26 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; +x_27 = l_Lean_Meta_transform_visit_visitLet___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_26, x_14, x_13); +return x_27; } case 10: { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_13, 1); -lean_inc(x_27); -lean_inc(x_12); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_14, 1); +lean_inc(x_28); +lean_inc(x_13); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_28 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_27, x_12); -x_29 = lean_box(x_6); -x_30 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___lambda__1___boxed), 11, 10); -lean_closure_set(x_30, 0, x_13); -lean_closure_set(x_30, 1, x_1); -lean_closure_set(x_30, 2, x_2); -lean_closure_set(x_30, 3, x_3); -lean_closure_set(x_30, 4, x_4); -lean_closure_set(x_30, 5, x_5); -lean_closure_set(x_30, 6, x_29); -lean_closure_set(x_30, 7, x_7); -lean_closure_set(x_30, 8, x_8); -lean_closure_set(x_30, 9, x_12); -x_31 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_28, x_30); -return x_31; +x_29 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_28, x_13); +x_30 = lean_box(x_6); +x_31 = lean_box(x_7); +x_32 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___lambda__1___boxed), 12, 11); +lean_closure_set(x_32, 0, x_14); +lean_closure_set(x_32, 1, x_1); +lean_closure_set(x_32, 2, x_2); +lean_closure_set(x_32, 3, x_3); +lean_closure_set(x_32, 4, x_4); +lean_closure_set(x_32, 5, x_5); +lean_closure_set(x_32, 6, x_30); +lean_closure_set(x_32, 7, x_31); +lean_closure_set(x_32, 8, x_8); +lean_closure_set(x_32, 9, x_9); +lean_closure_set(x_32, 10, x_13); +x_33 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_29, x_32); +return x_33; } case 11: { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_13, 2); -lean_inc(x_32); -lean_inc(x_12); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_ctor_get(x_14, 2); +lean_inc(x_34); +lean_inc(x_13); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_33 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_32, x_12); -x_34 = lean_box(x_6); -x_35 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___lambda__2___boxed), 11, 10); -lean_closure_set(x_35, 0, x_13); -lean_closure_set(x_35, 1, x_1); -lean_closure_set(x_35, 2, x_2); -lean_closure_set(x_35, 3, x_3); -lean_closure_set(x_35, 4, x_4); -lean_closure_set(x_35, 5, x_5); -lean_closure_set(x_35, 6, x_34); -lean_closure_set(x_35, 7, x_7); -lean_closure_set(x_35, 8, x_8); -lean_closure_set(x_35, 9, x_12); -x_36 = lean_apply_4(x_9, lean_box(0), lean_box(0), x_33, x_35); -return x_36; +x_35 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_34, x_13); +x_36 = lean_box(x_6); +x_37 = lean_box(x_7); +x_38 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___lambda__2___boxed), 12, 11); +lean_closure_set(x_38, 0, x_14); +lean_closure_set(x_38, 1, x_1); +lean_closure_set(x_38, 2, x_2); +lean_closure_set(x_38, 3, x_3); +lean_closure_set(x_38, 4, x_4); +lean_closure_set(x_38, 5, x_5); +lean_closure_set(x_38, 6, x_36); +lean_closure_set(x_38, 7, x_37); +lean_closure_set(x_38, 8, x_8); +lean_closure_set(x_38, 9, x_9); +lean_closure_set(x_38, 10, x_13); +x_39 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_35, x_38); +return x_39; } default: { -lean_object* x_37; -lean_dec(x_9); -x_37 = l_Lean_Meta_transform_visit_visitPost___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13, x_12); -return x_37; +lean_object* x_40; +lean_dec(x_10); +x_40 = l_Lean_Meta_transform_visit_visitPost___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14, x_13); +return x_40; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -if (lean_obj_tag(x_12) == 0) +if (lean_obj_tag(x_13) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_inc(x_1); lean_inc(x_2); -x_13 = lean_apply_1(x_1, x_2); -x_14 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_14, 0, x_13); -x_15 = lean_box(x_7); +x_14 = lean_apply_1(x_1, x_2); +x_15 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_15, 0, x_14); +x_16 = lean_box(x_7); +x_17 = lean_box(x_8); lean_inc(x_2); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_inc(x_5); lean_inc(x_3); -x_16 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___lambda__3___boxed), 12, 10); -lean_closure_set(x_16, 0, x_3); -lean_closure_set(x_16, 1, x_4); -lean_closure_set(x_16, 2, x_5); -lean_closure_set(x_16, 3, x_1); -lean_closure_set(x_16, 4, x_6); -lean_closure_set(x_16, 5, x_15); -lean_closure_set(x_16, 6, x_8); -lean_closure_set(x_16, 7, x_9); -lean_closure_set(x_16, 8, x_10); -lean_closure_set(x_16, 9, x_2); +x_18 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___lambda__3___boxed), 13, 11); +lean_closure_set(x_18, 0, x_3); +lean_closure_set(x_18, 1, x_4); +lean_closure_set(x_18, 2, x_5); +lean_closure_set(x_18, 3, x_1); +lean_closure_set(x_18, 4, x_6); +lean_closure_set(x_18, 5, x_16); +lean_closure_set(x_18, 6, x_17); +lean_closure_set(x_18, 7, x_9); +lean_closure_set(x_18, 8, x_10); +lean_closure_set(x_18, 9, x_11); +lean_closure_set(x_18, 10, x_2); +lean_inc(x_3); +x_19 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__5___rarg), 6, 5); +lean_closure_set(x_19, 0, x_3); +lean_closure_set(x_19, 1, lean_box(0)); +lean_closure_set(x_19, 2, lean_box(0)); +lean_closure_set(x_19, 3, x_15); +lean_closure_set(x_19, 4, x_18); +lean_inc(x_12); lean_inc(x_3); -x_17 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_transform_visit___spec__3___rarg), 6, 5); -lean_closure_set(x_17, 0, x_3); -lean_closure_set(x_17, 1, lean_box(0)); -lean_closure_set(x_17, 2, lean_box(0)); -lean_closure_set(x_17, 3, x_14); -lean_closure_set(x_17, 4, x_16); +x_20 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__6___rarg(x_3, x_5, x_9, lean_box(0), x_19, x_12); lean_inc(x_11); -lean_inc(x_3); -x_18 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_transform_visit___spec__4___rarg(x_3, x_5, x_8, lean_box(0), x_17, x_11); -lean_inc(x_10); -x_19 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__15), 6, 5); -lean_closure_set(x_19, 0, x_2); -lean_closure_set(x_19, 1, x_11); -lean_closure_set(x_19, 2, x_9); -lean_closure_set(x_19, 3, x_3); -lean_closure_set(x_19, 4, x_10); -x_20 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_18, x_19); -return x_20; +x_21 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__15), 6, 5); +lean_closure_set(x_21, 0, x_2); +lean_closure_set(x_21, 1, x_12); +lean_closure_set(x_21, 2, x_10); +lean_closure_set(x_21, 3, x_3); +lean_closure_set(x_21, 4, x_11); +x_22 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_20, x_21); +return x_22; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_21 = lean_ctor_get(x_12, 0); -lean_inc(x_21); -lean_dec(x_12); -x_22 = lean_ctor_get(x_3, 0); -lean_inc(x_22); -lean_dec(x_3); -x_23 = lean_ctor_get(x_22, 1); +x_23 = lean_ctor_get(x_13, 0); lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_apply_2(x_23, lean_box(0), x_21); -return x_24; +lean_dec(x_13); +x_24 = lean_ctor_get(x_3, 0); +lean_inc(x_24); +lean_dec(x_3); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_apply_2(x_25, lean_box(0), x_23); +return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_11 = lean_ctor_get(x_1, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); lean_inc(x_11); -lean_inc(x_10); -x_12 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_12, 0, lean_box(0)); -lean_closure_set(x_12, 1, lean_box(0)); -lean_closure_set(x_12, 2, x_10); -lean_inc(x_8); -x_13 = lean_apply_2(x_8, lean_box(0), x_12); -lean_inc(x_1); +x_13 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(x_13, 0, lean_box(0)); +lean_closure_set(x_13, 1, lean_box(0)); +lean_closure_set(x_13, 2, x_11); lean_inc(x_9); -x_14 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__1), 3, 2); -lean_closure_set(x_14, 0, x_9); -lean_closure_set(x_14, 1, x_1); -lean_inc(x_11); -x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14); -x_16 = lean_box(x_6); -lean_inc(x_11); -x_17 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___lambda__4___boxed), 12, 11); -lean_closure_set(x_17, 0, x_4); -lean_closure_set(x_17, 1, x_9); -lean_closure_set(x_17, 2, x_1); -lean_closure_set(x_17, 3, x_2); -lean_closure_set(x_17, 4, x_3); -lean_closure_set(x_17, 5, x_5); -lean_closure_set(x_17, 6, x_16); -lean_closure_set(x_17, 7, x_7); -lean_closure_set(x_17, 8, x_8); -lean_closure_set(x_17, 9, x_11); -lean_closure_set(x_17, 10, x_10); -x_18 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_15, x_17); -return x_18; +x_14 = lean_apply_2(x_9, lean_box(0), x_13); +lean_inc(x_1); +lean_inc(x_10); +x_15 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__1), 3, 2); +lean_closure_set(x_15, 0, x_10); +lean_closure_set(x_15, 1, x_1); +lean_inc(x_12); +x_16 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_14, x_15); +x_17 = lean_box(x_6); +x_18 = lean_box(x_7); +lean_inc(x_12); +x_19 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___lambda__4___boxed), 13, 12); +lean_closure_set(x_19, 0, x_4); +lean_closure_set(x_19, 1, x_10); +lean_closure_set(x_19, 2, x_1); +lean_closure_set(x_19, 3, x_2); +lean_closure_set(x_19, 4, x_3); +lean_closure_set(x_19, 5, x_5); +lean_closure_set(x_19, 6, x_17); +lean_closure_set(x_19, 7, x_18); +lean_closure_set(x_19, 8, x_8); +lean_closure_set(x_19, 9, x_9); +lean_closure_set(x_19, 10, x_12); +lean_closure_set(x_19, 11, x_11); +x_20 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_16, x_19); +return x_20; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___boxed), 10, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___rarg___boxed), 11, 0); return x_2; } } @@ -5114,190 +5418,200 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Meta_transfor return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Meta_transform_visit_visitPost___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_9); -return x_11; +lean_object* x_12; +x_12 = l_Lean_Meta_transform_visit_visitPost___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_11, x_10); +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = 1; -x_14 = lean_box(x_2); -x_15 = lean_box(x_13); -x_16 = lean_alloc_closure((void*)(l_Lean_Meta_mkLetFVars___boxed), 9, 4); -lean_closure_set(x_16, 0, x_1); -lean_closure_set(x_16, 1, x_12); -lean_closure_set(x_16, 2, x_14); -lean_closure_set(x_16, 3, x_15); +uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_14 = 1; +x_15 = lean_box(x_2); +x_16 = lean_box(x_14); +x_17 = lean_alloc_closure((void*)(l_Lean_Meta_mkLetFVars___boxed), 9, 4); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_13); +lean_closure_set(x_17, 2, x_15); +lean_closure_set(x_17, 3, x_16); lean_inc(x_3); -x_17 = lean_apply_2(x_3, lean_box(0), x_16); -x_18 = lean_box(x_2); -x_19 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1___boxed), 10, 9); -lean_closure_set(x_19, 0, x_4); -lean_closure_set(x_19, 1, x_3); -lean_closure_set(x_19, 2, x_5); -lean_closure_set(x_19, 3, x_6); -lean_closure_set(x_19, 4, x_7); -lean_closure_set(x_19, 5, x_18); -lean_closure_set(x_19, 6, x_8); -lean_closure_set(x_19, 7, x_9); -lean_closure_set(x_19, 8, x_10); -x_20 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_17, x_19); -return x_20; +x_18 = lean_apply_2(x_3, lean_box(0), x_17); +x_19 = lean_box(x_2); +x_20 = lean_box(x_8); +x_21 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1___boxed), 11, 10); +lean_closure_set(x_21, 0, x_4); +lean_closure_set(x_21, 1, x_3); +lean_closure_set(x_21, 2, x_5); +lean_closure_set(x_21, 3, x_6); +lean_closure_set(x_21, 4, x_7); +lean_closure_set(x_21, 5, x_19); +lean_closure_set(x_21, 6, x_20); +lean_closure_set(x_21, 7, x_9); +lean_closure_set(x_21, 8, x_10); +lean_closure_set(x_21, 9, x_11); +x_22 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_18, x_21); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; -x_13 = lean_array_push(x_1, x_11); -x_14 = l_Lean_Meta_transform_visit_visitLet___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_10, x_12); -return x_14; +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_push(x_1, x_12); +x_15 = l_Lean_Meta_transform_visit_visitLet___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14, x_11, x_13); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_15 = lean_box(x_7); -lean_inc(x_8); +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_16 = lean_box(x_7); +x_17 = lean_box(x_8); +lean_inc(x_9); lean_inc(x_4); lean_inc(x_2); -x_16 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3___boxed), 12, 10); -lean_closure_set(x_16, 0, x_1); -lean_closure_set(x_16, 1, x_2); -lean_closure_set(x_16, 2, x_3); -lean_closure_set(x_16, 3, x_4); -lean_closure_set(x_16, 4, x_5); -lean_closure_set(x_16, 5, x_6); -lean_closure_set(x_16, 6, x_15); -lean_closure_set(x_16, 7, x_8); -lean_closure_set(x_16, 8, x_9); -lean_closure_set(x_16, 9, x_10); -x_17 = 0; -x_18 = l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___spec__1___rarg(x_2, x_4, x_8, lean_box(0), x_11, x_12, x_14, x_16, x_17, x_13); -lean_dec(x_8); -return x_18; +x_18 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3___boxed), 13, 11); +lean_closure_set(x_18, 0, x_1); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_3); +lean_closure_set(x_18, 3, x_4); +lean_closure_set(x_18, 4, x_5); +lean_closure_set(x_18, 5, x_6); +lean_closure_set(x_18, 6, x_16); +lean_closure_set(x_18, 7, x_17); +lean_closure_set(x_18, 8, x_9); +lean_closure_set(x_18, 9, x_10); +lean_closure_set(x_18, 10, x_11); +x_19 = 0; +x_20 = l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___spec__1___rarg(x_2, x_4, x_9, lean_box(0), x_12, x_13, x_15, x_18, x_19, x_14); +lean_dec(x_9); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_expr_instantiate_rev(x_1, x_2); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_expr_instantiate_rev(x_1, x_2); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_17 = l_Lean_Meta_transform_visit___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_11); -x_18 = lean_box(x_8); -x_19 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4___boxed), 14, 13); -lean_closure_set(x_19, 0, x_2); -lean_closure_set(x_19, 1, x_3); -lean_closure_set(x_19, 2, x_4); -lean_closure_set(x_19, 3, x_5); -lean_closure_set(x_19, 4, x_6); -lean_closure_set(x_19, 5, x_7); -lean_closure_set(x_19, 6, x_18); -lean_closure_set(x_19, 7, x_9); -lean_closure_set(x_19, 8, x_10); -lean_closure_set(x_19, 9, x_12); -lean_closure_set(x_19, 10, x_13); -lean_closure_set(x_19, 11, x_15); -lean_closure_set(x_19, 12, x_11); -x_20 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_17, x_19); -return x_20; +x_18 = l_Lean_Meta_transform_visit___rarg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17, x_12); +x_19 = lean_box(x_8); +x_20 = lean_box(x_9); +x_21 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4___boxed), 15, 14); +lean_closure_set(x_21, 0, x_2); +lean_closure_set(x_21, 1, x_3); +lean_closure_set(x_21, 2, x_4); +lean_closure_set(x_21, 3, x_5); +lean_closure_set(x_21, 4, x_6); +lean_closure_set(x_21, 5, x_7); +lean_closure_set(x_21, 6, x_19); +lean_closure_set(x_21, 7, x_20); +lean_closure_set(x_21, 8, x_10); +lean_closure_set(x_21, 9, x_11); +lean_closure_set(x_21, 10, x_13); +lean_closure_set(x_21, 11, x_14); +lean_closure_set(x_21, 12, x_16); +lean_closure_set(x_21, 13, x_12); +x_22 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_18, x_21); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -if (lean_obj_tag(x_10) == 8) +if (lean_obj_tag(x_11) == 8) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_10, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); -x_14 = lean_ctor_get(x_10, 2); +x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_10, 3); +x_15 = lean_ctor_get(x_11, 2); lean_inc(x_15); -lean_dec(x_10); -x_16 = lean_expr_instantiate_rev(x_13, x_9); -lean_dec(x_13); -x_17 = lean_ctor_get(x_1, 1); -lean_inc(x_17); -lean_inc(x_11); +x_16 = lean_ctor_get(x_11, 3); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_expr_instantiate_rev(x_14, x_10); +lean_dec(x_14); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +lean_inc(x_12); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_18 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16, x_11); -x_19 = lean_box(x_6); -lean_inc(x_17); -x_20 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5___boxed), 15, 14); -lean_closure_set(x_20, 0, x_14); -lean_closure_set(x_20, 1, x_9); -lean_closure_set(x_20, 2, x_1); -lean_closure_set(x_20, 3, x_2); -lean_closure_set(x_20, 4, x_3); -lean_closure_set(x_20, 5, x_4); -lean_closure_set(x_20, 6, x_5); -lean_closure_set(x_20, 7, x_19); -lean_closure_set(x_20, 8, x_7); -lean_closure_set(x_20, 9, x_8); -lean_closure_set(x_20, 10, x_11); -lean_closure_set(x_20, 11, x_15); -lean_closure_set(x_20, 12, x_12); -lean_closure_set(x_20, 13, x_17); -x_21 = lean_apply_4(x_17, lean_box(0), lean_box(0), x_18, x_20); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_22 = lean_expr_instantiate_rev(x_10, x_9); -lean_dec(x_10); -x_23 = lean_ctor_get(x_1, 1); -lean_inc(x_23); -lean_inc(x_11); +x_19 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17, x_12); +x_20 = lean_box(x_6); +x_21 = lean_box(x_7); +lean_inc(x_18); +x_22 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5___boxed), 16, 15); +lean_closure_set(x_22, 0, x_15); +lean_closure_set(x_22, 1, x_10); +lean_closure_set(x_22, 2, x_1); +lean_closure_set(x_22, 3, x_2); +lean_closure_set(x_22, 4, x_3); +lean_closure_set(x_22, 5, x_4); +lean_closure_set(x_22, 6, x_5); +lean_closure_set(x_22, 7, x_20); +lean_closure_set(x_22, 8, x_21); +lean_closure_set(x_22, 9, x_8); +lean_closure_set(x_22, 10, x_9); +lean_closure_set(x_22, 11, x_12); +lean_closure_set(x_22, 12, x_16); +lean_closure_set(x_22, 13, x_13); +lean_closure_set(x_22, 14, x_18); +x_23 = lean_apply_4(x_18, lean_box(0), lean_box(0), x_19, x_22); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_24 = lean_expr_instantiate_rev(x_11, x_10); +lean_dec(x_11); +x_25 = lean_ctor_get(x_1, 1); +lean_inc(x_25); +lean_inc(x_12); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_24 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22, x_11); -x_25 = lean_box(x_6); -lean_inc(x_23); -x_26 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2___boxed), 12, 11); -lean_closure_set(x_26, 0, x_9); -lean_closure_set(x_26, 1, x_25); -lean_closure_set(x_26, 2, x_2); -lean_closure_set(x_26, 3, x_1); -lean_closure_set(x_26, 4, x_3); -lean_closure_set(x_26, 5, x_4); -lean_closure_set(x_26, 6, x_5); -lean_closure_set(x_26, 7, x_7); -lean_closure_set(x_26, 8, x_8); -lean_closure_set(x_26, 9, x_11); -lean_closure_set(x_26, 10, x_23); -x_27 = lean_apply_4(x_23, lean_box(0), lean_box(0), x_24, x_26); -return x_27; +x_26 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_24, x_12); +x_27 = lean_box(x_6); +x_28 = lean_box(x_7); +lean_inc(x_25); +x_29 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2___boxed), 13, 12); +lean_closure_set(x_29, 0, x_10); +lean_closure_set(x_29, 1, x_27); +lean_closure_set(x_29, 2, x_2); +lean_closure_set(x_29, 3, x_1); +lean_closure_set(x_29, 4, x_3); +lean_closure_set(x_29, 5, x_4); +lean_closure_set(x_29, 6, x_5); +lean_closure_set(x_29, 7, x_28); +lean_closure_set(x_29, 8, x_8); +lean_closure_set(x_29, 9, x_9); +lean_closure_set(x_29, 10, x_12); +lean_closure_set(x_29, 11, x_25); +x_30 = lean_apply_4(x_25, lean_box(0), lean_box(0), x_26, x_29); +return x_30; } } } @@ -5305,122 +5619,124 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet(lean_object* x_1) _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___boxed), 11, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___boxed), 12, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -switch (lean_obj_tag(x_11)) { +switch (lean_obj_tag(x_12)) { case 0: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_ctor_get(x_1, 0); +x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -lean_dec(x_1); -x_14 = lean_ctor_get(x_13, 1); +lean_dec(x_12); +x_14 = lean_ctor_get(x_1, 0); lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_apply_2(x_14, lean_box(0), x_12); -return x_15; +lean_dec(x_1); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_apply_2(x_15, lean_box(0), x_13); +return x_16; } case 1: { -lean_object* x_16; lean_object* x_17; -lean_dec(x_10); -x_16 = lean_ctor_get(x_11, 0); -lean_inc(x_16); +lean_object* x_17; lean_object* x_18; lean_dec(x_11); -x_17 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16, x_9); -return x_17; +x_17 = lean_ctor_get(x_12, 0); +lean_inc(x_17); +lean_dec(x_12); +x_18 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17, x_10); +return x_18; } default: { -lean_object* x_18; +lean_object* x_19; +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_18 = lean_ctor_get(x_11, 0); -lean_inc(x_18); -lean_dec(x_11); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_1, 0); +x_19 = lean_ctor_get(x_12, 0); lean_inc(x_19); -lean_dec(x_1); -x_20 = lean_ctor_get(x_19, 1); +lean_dec(x_12); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_1, 0); lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_apply_2(x_20, lean_box(0), x_10); -return x_21; +lean_dec(x_1); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_apply_2(x_21, lean_box(0), x_11); +return x_22; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_10); -x_22 = lean_ctor_get(x_18, 0); -lean_inc(x_22); -lean_dec(x_18); -x_23 = lean_ctor_get(x_1, 0); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec(x_11); +x_23 = lean_ctor_get(x_19, 0); lean_inc(x_23); -lean_dec(x_1); -x_24 = lean_ctor_get(x_23, 1); +lean_dec(x_19); +x_24 = lean_ctor_get(x_1, 0); lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_apply_2(x_24, lean_box(0), x_22); -return x_25; +lean_dec(x_1); +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_apply_2(x_25, lean_box(0), x_23); +return x_26; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_inc(x_5); -lean_inc(x_9); -x_11 = lean_apply_1(x_5, x_9); -x_12 = lean_ctor_get(x_1, 1); -lean_inc(x_12); -x_13 = lean_box(x_6); -x_14 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1___boxed), 11, 10); -lean_closure_set(x_14, 0, x_1); -lean_closure_set(x_14, 1, x_2); -lean_closure_set(x_14, 2, x_3); -lean_closure_set(x_14, 3, x_4); -lean_closure_set(x_14, 4, x_5); -lean_closure_set(x_14, 5, x_13); -lean_closure_set(x_14, 6, x_7); -lean_closure_set(x_14, 7, x_8); -lean_closure_set(x_14, 8, x_10); -lean_closure_set(x_14, 9, x_9); -x_15 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_11, x_14); -return x_15; +lean_inc(x_10); +x_12 = lean_apply_1(x_5, x_10); +x_13 = lean_ctor_get(x_1, 1); +lean_inc(x_13); +x_14 = lean_box(x_6); +x_15 = lean_box(x_7); +x_16 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1___boxed), 12, 11); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_2); +lean_closure_set(x_16, 2, x_3); +lean_closure_set(x_16, 3, x_4); +lean_closure_set(x_16, 4, x_5); +lean_closure_set(x_16, 5, x_14); +lean_closure_set(x_16, 6, x_15); +lean_closure_set(x_16, 7, x_8); +lean_closure_set(x_16, 8, x_9); +lean_closure_set(x_16, 9, x_11); +lean_closure_set(x_16, 10, x_10); +x_17 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_12, x_16); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitPost___rarg___boxed), 10, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitPost___rarg___boxed), 11, 0); return x_2; } } @@ -5469,150 +5785,158 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Meta_transf return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_13 = 0; -x_14 = 1; -x_15 = lean_box(x_13); -x_16 = lean_box(x_2); -x_17 = lean_box(x_14); -x_18 = lean_alloc_closure((void*)(l_Lean_Meta_mkLambdaFVars___boxed), 10, 5); -lean_closure_set(x_18, 0, x_1); -lean_closure_set(x_18, 1, x_12); -lean_closure_set(x_18, 2, x_15); -lean_closure_set(x_18, 3, x_16); -lean_closure_set(x_18, 4, x_17); +uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_14 = 0; +x_15 = 1; +x_16 = lean_box(x_14); +x_17 = lean_box(x_2); +x_18 = lean_box(x_15); +x_19 = lean_alloc_closure((void*)(l_Lean_Meta_mkLambdaFVars___boxed), 10, 5); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_16); +lean_closure_set(x_19, 3, x_17); +lean_closure_set(x_19, 4, x_18); lean_inc(x_3); -x_19 = lean_apply_2(x_3, lean_box(0), x_18); -x_20 = lean_box(x_2); -x_21 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1___boxed), 10, 9); -lean_closure_set(x_21, 0, x_4); -lean_closure_set(x_21, 1, x_3); -lean_closure_set(x_21, 2, x_5); -lean_closure_set(x_21, 3, x_6); -lean_closure_set(x_21, 4, x_7); -lean_closure_set(x_21, 5, x_20); -lean_closure_set(x_21, 6, x_8); -lean_closure_set(x_21, 7, x_9); -lean_closure_set(x_21, 8, x_10); -x_22 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_19, x_21); -return x_22; +x_20 = lean_apply_2(x_3, lean_box(0), x_19); +x_21 = lean_box(x_2); +x_22 = lean_box(x_8); +x_23 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1___boxed), 11, 10); +lean_closure_set(x_23, 0, x_4); +lean_closure_set(x_23, 1, x_3); +lean_closure_set(x_23, 2, x_5); +lean_closure_set(x_23, 3, x_6); +lean_closure_set(x_23, 4, x_7); +lean_closure_set(x_23, 5, x_21); +lean_closure_set(x_23, 6, x_22); +lean_closure_set(x_23, 7, x_9); +lean_closure_set(x_23, 8, x_10); +lean_closure_set(x_23, 9, x_11); +x_24 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_20, x_23); +return x_24; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; -x_13 = lean_array_push(x_1, x_11); -x_14 = l_Lean_Meta_transform_visit_visitLambda___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_10, x_12); -return x_14; +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_push(x_1, x_12); +x_15 = l_Lean_Meta_transform_visit_visitLambda___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14, x_11, x_13); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_15 = lean_box(x_7); -lean_inc(x_8); +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_16 = lean_box(x_7); +x_17 = lean_box(x_8); +lean_inc(x_9); lean_inc(x_4); lean_inc(x_2); -x_16 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2___boxed), 12, 10); -lean_closure_set(x_16, 0, x_1); -lean_closure_set(x_16, 1, x_2); -lean_closure_set(x_16, 2, x_3); -lean_closure_set(x_16, 3, x_4); -lean_closure_set(x_16, 4, x_5); -lean_closure_set(x_16, 5, x_6); -lean_closure_set(x_16, 6, x_15); -lean_closure_set(x_16, 7, x_8); -lean_closure_set(x_16, 8, x_9); -lean_closure_set(x_16, 9, x_10); -x_17 = 0; -x_18 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1___rarg(x_2, x_4, x_8, lean_box(0), x_11, x_12, x_14, x_16, x_17, x_13); -lean_dec(x_8); -return x_18; +x_18 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2___boxed), 13, 11); +lean_closure_set(x_18, 0, x_1); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_3); +lean_closure_set(x_18, 3, x_4); +lean_closure_set(x_18, 4, x_5); +lean_closure_set(x_18, 5, x_6); +lean_closure_set(x_18, 6, x_16); +lean_closure_set(x_18, 7, x_17); +lean_closure_set(x_18, 8, x_9); +lean_closure_set(x_18, 9, x_10); +lean_closure_set(x_18, 10, x_11); +x_19 = 0; +x_20 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1___rarg(x_2, x_4, x_9, lean_box(0), x_12, x_13, x_15, x_18, x_19, x_14); +lean_dec(x_9); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -if (lean_obj_tag(x_10) == 6) +if (lean_obj_tag(x_11) == 6) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_10, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); -x_14 = lean_ctor_get(x_10, 2); +x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); -x_15 = lean_ctor_get_uint8(x_10, sizeof(void*)*3 + 8); -lean_dec(x_10); -x_16 = lean_expr_instantiate_rev(x_13, x_9); -lean_dec(x_13); -x_17 = lean_ctor_get(x_1, 1); -lean_inc(x_17); -lean_inc(x_11); +x_15 = lean_ctor_get(x_11, 2); +lean_inc(x_15); +x_16 = lean_ctor_get_uint8(x_11, sizeof(void*)*3 + 8); +lean_dec(x_11); +x_17 = lean_expr_instantiate_rev(x_14, x_10); +lean_dec(x_14); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +lean_inc(x_12); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_18 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16, x_11); -x_19 = lean_box(x_6); -x_20 = lean_box(x_15); -x_21 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3___boxed), 14, 13); -lean_closure_set(x_21, 0, x_9); -lean_closure_set(x_21, 1, x_1); -lean_closure_set(x_21, 2, x_2); -lean_closure_set(x_21, 3, x_3); -lean_closure_set(x_21, 4, x_4); -lean_closure_set(x_21, 5, x_5); -lean_closure_set(x_21, 6, x_19); -lean_closure_set(x_21, 7, x_7); -lean_closure_set(x_21, 8, x_8); -lean_closure_set(x_21, 9, x_14); -lean_closure_set(x_21, 10, x_12); -lean_closure_set(x_21, 11, x_20); -lean_closure_set(x_21, 12, x_11); -x_22 = lean_apply_4(x_17, lean_box(0), lean_box(0), x_18, x_21); -return x_22; +x_19 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17, x_12); +x_20 = lean_box(x_6); +x_21 = lean_box(x_7); +x_22 = lean_box(x_16); +x_23 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3___boxed), 15, 14); +lean_closure_set(x_23, 0, x_10); +lean_closure_set(x_23, 1, x_1); +lean_closure_set(x_23, 2, x_2); +lean_closure_set(x_23, 3, x_3); +lean_closure_set(x_23, 4, x_4); +lean_closure_set(x_23, 5, x_5); +lean_closure_set(x_23, 6, x_20); +lean_closure_set(x_23, 7, x_21); +lean_closure_set(x_23, 8, x_8); +lean_closure_set(x_23, 9, x_9); +lean_closure_set(x_23, 10, x_15); +lean_closure_set(x_23, 11, x_13); +lean_closure_set(x_23, 12, x_22); +lean_closure_set(x_23, 13, x_12); +x_24 = lean_apply_4(x_18, lean_box(0), lean_box(0), x_19, x_23); +return x_24; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_23 = lean_expr_instantiate_rev(x_10, x_9); -lean_dec(x_10); -x_24 = lean_ctor_get(x_1, 1); -lean_inc(x_24); -lean_inc(x_11); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_25 = lean_expr_instantiate_rev(x_11, x_10); +lean_dec(x_11); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +lean_inc(x_12); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_25 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23, x_11); -x_26 = lean_box(x_6); -lean_inc(x_24); -x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1___boxed), 12, 11); -lean_closure_set(x_27, 0, x_9); -lean_closure_set(x_27, 1, x_26); -lean_closure_set(x_27, 2, x_2); -lean_closure_set(x_27, 3, x_1); -lean_closure_set(x_27, 4, x_3); -lean_closure_set(x_27, 5, x_4); -lean_closure_set(x_27, 6, x_5); -lean_closure_set(x_27, 7, x_7); -lean_closure_set(x_27, 8, x_8); -lean_closure_set(x_27, 9, x_11); -lean_closure_set(x_27, 10, x_24); -x_28 = lean_apply_4(x_24, lean_box(0), lean_box(0), x_25, x_27); -return x_28; +x_27 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25, x_12); +x_28 = lean_box(x_6); +x_29 = lean_box(x_7); +lean_inc(x_26); +x_30 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1___boxed), 13, 12); +lean_closure_set(x_30, 0, x_10); +lean_closure_set(x_30, 1, x_28); +lean_closure_set(x_30, 2, x_2); +lean_closure_set(x_30, 3, x_1); +lean_closure_set(x_30, 4, x_3); +lean_closure_set(x_30, 5, x_4); +lean_closure_set(x_30, 6, x_5); +lean_closure_set(x_30, 7, x_29); +lean_closure_set(x_30, 8, x_8); +lean_closure_set(x_30, 9, x_9); +lean_closure_set(x_30, 10, x_12); +lean_closure_set(x_30, 11, x_26); +x_31 = lean_apply_4(x_26, lean_box(0), lean_box(0), x_27, x_30); +return x_31; } } } @@ -5620,7 +5944,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda(lean_object* x_ _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___rarg___boxed), 11, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___rarg___boxed), 12, 0); return x_2; } } @@ -5657,150 +5981,158 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Meta_transf return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_13 = 0; -x_14 = 1; -x_15 = lean_box(x_13); -x_16 = lean_box(x_2); -x_17 = lean_box(x_14); -x_18 = lean_alloc_closure((void*)(l_Lean_Meta_mkForallFVars___boxed), 10, 5); -lean_closure_set(x_18, 0, x_1); -lean_closure_set(x_18, 1, x_12); -lean_closure_set(x_18, 2, x_15); -lean_closure_set(x_18, 3, x_16); -lean_closure_set(x_18, 4, x_17); +uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_14 = 0; +x_15 = 1; +x_16 = lean_box(x_14); +x_17 = lean_box(x_2); +x_18 = lean_box(x_15); +x_19 = lean_alloc_closure((void*)(l_Lean_Meta_mkForallFVars___boxed), 10, 5); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_13); +lean_closure_set(x_19, 2, x_16); +lean_closure_set(x_19, 3, x_17); +lean_closure_set(x_19, 4, x_18); lean_inc(x_3); -x_19 = lean_apply_2(x_3, lean_box(0), x_18); -x_20 = lean_box(x_2); -x_21 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1___boxed), 10, 9); -lean_closure_set(x_21, 0, x_4); -lean_closure_set(x_21, 1, x_3); -lean_closure_set(x_21, 2, x_5); -lean_closure_set(x_21, 3, x_6); -lean_closure_set(x_21, 4, x_7); -lean_closure_set(x_21, 5, x_20); -lean_closure_set(x_21, 6, x_8); -lean_closure_set(x_21, 7, x_9); -lean_closure_set(x_21, 8, x_10); -x_22 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_19, x_21); -return x_22; +x_20 = lean_apply_2(x_3, lean_box(0), x_19); +x_21 = lean_box(x_2); +x_22 = lean_box(x_8); +x_23 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1___boxed), 11, 10); +lean_closure_set(x_23, 0, x_4); +lean_closure_set(x_23, 1, x_3); +lean_closure_set(x_23, 2, x_5); +lean_closure_set(x_23, 3, x_6); +lean_closure_set(x_23, 4, x_7); +lean_closure_set(x_23, 5, x_21); +lean_closure_set(x_23, 6, x_22); +lean_closure_set(x_23, 7, x_9); +lean_closure_set(x_23, 8, x_10); +lean_closure_set(x_23, 9, x_11); +x_24 = lean_apply_4(x_12, lean_box(0), lean_box(0), x_20, x_23); +return x_24; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; -x_13 = lean_array_push(x_1, x_11); -x_14 = l_Lean_Meta_transform_visit_visitForall___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_13, x_10, x_12); -return x_14; +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_push(x_1, x_12); +x_15 = l_Lean_Meta_transform_visit_visitForall___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14, x_11, x_13); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_15 = lean_box(x_7); -lean_inc(x_8); +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_16 = lean_box(x_7); +x_17 = lean_box(x_8); +lean_inc(x_9); lean_inc(x_4); lean_inc(x_2); -x_16 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2___boxed), 12, 10); -lean_closure_set(x_16, 0, x_1); -lean_closure_set(x_16, 1, x_2); -lean_closure_set(x_16, 2, x_3); -lean_closure_set(x_16, 3, x_4); -lean_closure_set(x_16, 4, x_5); -lean_closure_set(x_16, 5, x_6); -lean_closure_set(x_16, 6, x_15); -lean_closure_set(x_16, 7, x_8); -lean_closure_set(x_16, 8, x_9); -lean_closure_set(x_16, 9, x_10); -x_17 = 0; -x_18 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitForall___spec__1___rarg(x_2, x_4, x_8, lean_box(0), x_11, x_12, x_14, x_16, x_17, x_13); -lean_dec(x_8); -return x_18; +x_18 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2___boxed), 13, 11); +lean_closure_set(x_18, 0, x_1); +lean_closure_set(x_18, 1, x_2); +lean_closure_set(x_18, 2, x_3); +lean_closure_set(x_18, 3, x_4); +lean_closure_set(x_18, 4, x_5); +lean_closure_set(x_18, 5, x_6); +lean_closure_set(x_18, 6, x_16); +lean_closure_set(x_18, 7, x_17); +lean_closure_set(x_18, 8, x_9); +lean_closure_set(x_18, 9, x_10); +lean_closure_set(x_18, 10, x_11); +x_19 = 0; +x_20 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitForall___spec__1___rarg(x_2, x_4, x_9, lean_box(0), x_12, x_13, x_15, x_18, x_19, x_14); +lean_dec(x_9); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -if (lean_obj_tag(x_10) == 7) +if (lean_obj_tag(x_11) == 7) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_12 = lean_ctor_get(x_10, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_10, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); -x_14 = lean_ctor_get(x_10, 2); +x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); -x_15 = lean_ctor_get_uint8(x_10, sizeof(void*)*3 + 8); -lean_dec(x_10); -x_16 = lean_expr_instantiate_rev(x_13, x_9); -lean_dec(x_13); -x_17 = lean_ctor_get(x_1, 1); -lean_inc(x_17); -lean_inc(x_11); +x_15 = lean_ctor_get(x_11, 2); +lean_inc(x_15); +x_16 = lean_ctor_get_uint8(x_11, sizeof(void*)*3 + 8); +lean_dec(x_11); +x_17 = lean_expr_instantiate_rev(x_14, x_10); +lean_dec(x_14); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +lean_inc(x_12); +lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_18 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16, x_11); -x_19 = lean_box(x_6); -x_20 = lean_box(x_15); -x_21 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3___boxed), 14, 13); -lean_closure_set(x_21, 0, x_9); -lean_closure_set(x_21, 1, x_1); -lean_closure_set(x_21, 2, x_2); -lean_closure_set(x_21, 3, x_3); -lean_closure_set(x_21, 4, x_4); -lean_closure_set(x_21, 5, x_5); -lean_closure_set(x_21, 6, x_19); -lean_closure_set(x_21, 7, x_7); -lean_closure_set(x_21, 8, x_8); -lean_closure_set(x_21, 9, x_14); -lean_closure_set(x_21, 10, x_12); -lean_closure_set(x_21, 11, x_20); -lean_closure_set(x_21, 12, x_11); -x_22 = lean_apply_4(x_17, lean_box(0), lean_box(0), x_18, x_21); -return x_22; +x_19 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17, x_12); +x_20 = lean_box(x_6); +x_21 = lean_box(x_7); +x_22 = lean_box(x_16); +x_23 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3___boxed), 15, 14); +lean_closure_set(x_23, 0, x_10); +lean_closure_set(x_23, 1, x_1); +lean_closure_set(x_23, 2, x_2); +lean_closure_set(x_23, 3, x_3); +lean_closure_set(x_23, 4, x_4); +lean_closure_set(x_23, 5, x_5); +lean_closure_set(x_23, 6, x_20); +lean_closure_set(x_23, 7, x_21); +lean_closure_set(x_23, 8, x_8); +lean_closure_set(x_23, 9, x_9); +lean_closure_set(x_23, 10, x_15); +lean_closure_set(x_23, 11, x_13); +lean_closure_set(x_23, 12, x_22); +lean_closure_set(x_23, 13, x_12); +x_24 = lean_apply_4(x_18, lean_box(0), lean_box(0), x_19, x_23); +return x_24; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_23 = lean_expr_instantiate_rev(x_10, x_9); -lean_dec(x_10); -x_24 = lean_ctor_get(x_1, 1); -lean_inc(x_24); -lean_inc(x_11); -lean_inc(x_8); -lean_inc(x_7); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_25 = lean_expr_instantiate_rev(x_11, x_10); +lean_dec(x_11); +x_26 = lean_ctor_get(x_1, 1); +lean_inc(x_26); +lean_inc(x_12); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_25 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_23, x_11); -x_26 = lean_box(x_6); -lean_inc(x_24); -x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1___boxed), 12, 11); -lean_closure_set(x_27, 0, x_9); -lean_closure_set(x_27, 1, x_26); -lean_closure_set(x_27, 2, x_2); -lean_closure_set(x_27, 3, x_1); -lean_closure_set(x_27, 4, x_3); -lean_closure_set(x_27, 5, x_4); -lean_closure_set(x_27, 6, x_5); -lean_closure_set(x_27, 7, x_7); -lean_closure_set(x_27, 8, x_8); -lean_closure_set(x_27, 9, x_11); -lean_closure_set(x_27, 10, x_24); -x_28 = lean_apply_4(x_24, lean_box(0), lean_box(0), x_25, x_27); -return x_28; +x_27 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25, x_12); +x_28 = lean_box(x_6); +x_29 = lean_box(x_7); +lean_inc(x_26); +x_30 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1___boxed), 13, 12); +lean_closure_set(x_30, 0, x_10); +lean_closure_set(x_30, 1, x_28); +lean_closure_set(x_30, 2, x_2); +lean_closure_set(x_30, 3, x_1); +lean_closure_set(x_30, 4, x_3); +lean_closure_set(x_30, 5, x_4); +lean_closure_set(x_30, 6, x_5); +lean_closure_set(x_30, 7, x_29); +lean_closure_set(x_30, 8, x_8); +lean_closure_set(x_30, 9, x_9); +lean_closure_set(x_30, 10, x_12); +lean_closure_set(x_30, 11, x_26); +x_31 = lean_apply_4(x_26, lean_box(0), lean_box(0), x_27, x_30); +return x_31; } } } @@ -5808,73 +6140,159 @@ LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall(lean_object* x_ _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___rarg___boxed), 11, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___rarg___boxed), 12, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_14; uint8_t x_15; size_t x_16; lean_object* x_17; -x_14 = lean_unbox_usize(x_1); +size_t x_15; uint8_t x_16; uint8_t x_17; size_t x_18; lean_object* x_19; +x_15 = lean_unbox_usize(x_1); lean_dec(x_1); -x_15 = lean_unbox(x_8); +x_16 = lean_unbox(x_8); lean_dec(x_8); -x_16 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_17 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_16, x_12, x_13); -return x_17; +x_17 = lean_unbox(x_9); +lean_dec(x_9); +x_18 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___lambda__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_18, x_13, x_14); +return x_19; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; size_t x_14; size_t x_15; lean_object* x_16; -x_13 = lean_unbox(x_6); +uint8_t x_14; uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_unbox(x_6); lean_dec(x_6); -x_14 = lean_unbox_usize(x_9); +x_15 = lean_unbox(x_7); +lean_dec(x_7); +x_16 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_17 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_16, x_17, x_12, x_13); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; uint8_t x_16; uint8_t x_17; size_t x_18; lean_object* x_19; +x_15 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_16 = lean_unbox(x_8); +lean_dec(x_8); +x_17 = lean_unbox(x_9); lean_dec(x_9); -x_15 = lean_unbox_usize(x_10); +x_18 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_18, x_13, x_14); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_unbox(x_6); +lean_dec(x_6); +x_15 = lean_unbox(x_7); +lean_dec(x_7); +x_16 = lean_unbox_usize(x_10); lean_dec(x_10); -x_16 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_14, x_15, x_11, x_12); -return x_16; +x_17 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_16, x_17, x_12, x_13); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); +size_t x_15; uint8_t x_16; uint8_t x_17; size_t x_18; lean_object* x_19; +x_15 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_16 = lean_unbox(x_8); +lean_dec(x_8); +x_17 = lean_unbox(x_9); +lean_dec(x_9); +x_18 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_19 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg___lambda__1(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_10, x_11, x_18, x_13, x_14); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_unbox(x_6); +lean_dec(x_6); +x_15 = lean_unbox(x_7); lean_dec(x_7); -x_13 = l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); -return x_13; +x_16 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_17 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Meta_transform_visit___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_16, x_17, x_12, x_13); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; +uint8_t x_13; uint8_t x_14; lean_object* x_15; x_13 = lean_unbox(x_7); lean_dec(x_7); -x_14 = l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_14 = lean_unbox(x_8); +lean_dec(x_8); +x_15 = l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_14, x_9, x_10, x_11, x_12); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_6); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_7); +lean_dec(x_7); +x_15 = lean_unbox(x_8); +lean_dec(x_8); +x_16 = l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_14, x_15, x_9, x_10, x_11, x_12, x_13); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_7); +lean_dec(x_7); +x_15 = lean_unbox(x_8); +lean_dec(x_8); +x_16 = l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_14, x_15, x_9, x_10, x_11, x_12, x_13); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_6); lean_dec(x_6); -x_15 = l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +x_16 = lean_unbox(x_7); +lean_dec(x_7); +x_17 = l_Lean_Expr_withAppAux___at_Lean_Meta_transform_visit___spec__4___rarg(x_1, x_2, x_3, x_4, x_5, x_15, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -5882,64 +6300,74 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__5(x_1, x_2, x_3, x_4); +x_5 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_transform_visit___spec__7(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_7); lean_dec(x_7); -x_13 = l_Lean_Meta_transform_visit___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_8); +lean_dec(x_8); +x_15 = l_Lean_Meta_transform_visit___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_14, x_9, x_10, x_11, x_12); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_7); lean_dec(x_7); -x_13 = l_Lean_Meta_transform_visit___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_8); +lean_dec(x_8); +x_15 = l_Lean_Meta_transform_visit___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_14, x_9, x_10, x_11, x_12); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_6); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_6); lean_dec(x_6); -x_14 = l_Lean_Meta_transform_visit___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_13, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_7); +lean_dec(x_7); +x_16 = l_Lean_Meta_transform_visit___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_7); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_7); lean_dec(x_7); -x_14 = l_Lean_Meta_transform_visit___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_8); +lean_dec(x_8); +x_16 = l_Lean_Meta_transform_visit___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_14, x_15, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_6); lean_dec(x_6); -x_12 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; +x_13 = lean_unbox(x_7); +lean_dec(x_7); +x_14 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_8, x_9, x_10, x_11); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_transform_visit_visitLet___spec__1___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { @@ -5963,85 +6391,101 @@ lean_dec(x_3); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_6); lean_dec(x_6); -x_12 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; +x_13 = lean_unbox(x_7); +lean_dec(x_7); +x_14 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_8, x_9, x_10, x_11); +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); lean_dec(x_2); -x_14 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_8); +lean_dec(x_8); +x_16 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__2(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_7); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_7); lean_dec(x_7); -x_14 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_8); +lean_dec(x_8); +x_16 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_14, x_15, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_7); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_7); lean_dec(x_7); -x_16 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_8); +lean_dec(x_8); +x_18 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_16, x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_8); +uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_17 = lean_unbox(x_8); lean_dec(x_8); -x_17 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_18 = lean_unbox(x_9); +lean_dec(x_9); +x_19 = l_Lean_Meta_transform_visit_visitLet___rarg___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_18, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_1); -return x_17; +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_6); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_6); lean_dec(x_6); -x_13 = l_Lean_Meta_transform_visit_visitLet___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_7); +lean_dec(x_7); +x_15 = l_Lean_Meta_transform_visit_visitLet___rarg(x_1, x_2, x_3, x_4, x_5, x_13, x_14, x_8, x_9, x_10, x_11, x_12); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_6); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_6); lean_dec(x_6); -x_13 = l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_7); +lean_dec(x_7); +x_15 = l_Lean_Meta_transform_visit_visitPost___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_13, x_14, x_8, x_9, x_10, x_11, x_12); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); +uint8_t x_12; uint8_t x_13; lean_object* x_14; +x_12 = lean_unbox(x_6); lean_dec(x_6); -x_12 = l_Lean_Meta_transform_visit_visitPost___rarg(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; +x_13 = lean_unbox(x_7); +lean_dec(x_7); +x_14 = l_Lean_Meta_transform_visit_visitPost___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_8, x_9, x_10, x_11); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitLambda___spec__1___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { @@ -6069,46 +6513,54 @@ lean_dec(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); lean_dec(x_2); -x_14 = l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_8); +lean_dec(x_8); +x_16 = l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__1(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_7); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_7); lean_dec(x_7); -x_14 = l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_8); +lean_dec(x_8); +x_16 = l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_14, x_15, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; uint8_t x_16; lean_object* x_17; -x_15 = lean_unbox(x_7); +uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_16 = lean_unbox(x_7); lean_dec(x_7); -x_16 = lean_unbox(x_12); -lean_dec(x_12); -x_17 = l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_8, x_9, x_10, x_11, x_16, x_13, x_14); -return x_17; +x_17 = lean_unbox(x_8); +lean_dec(x_8); +x_18 = lean_unbox(x_13); +lean_dec(x_13); +x_19 = l_Lean_Meta_transform_visit_visitLambda___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_16, x_17, x_9, x_10, x_11, x_12, x_18, x_14, x_15); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_6); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_6); lean_dec(x_6); -x_13 = l_Lean_Meta_transform_visit_visitLambda___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_7); +lean_dec(x_7); +x_15 = l_Lean_Meta_transform_visit_visitLambda___rarg(x_1, x_2, x_3, x_4, x_5, x_13, x_14, x_8, x_9, x_10, x_11, x_12); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_transform_visit_visitForall___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -6124,46 +6576,54 @@ lean_dec(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_2); lean_dec(x_2); -x_14 = l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_8); +lean_dec(x_8); +x_16 = l_Lean_Meta_transform_visit_visitForall___rarg___lambda__1(x_1, x_14, x_3, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_7); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_7); lean_dec(x_7); -x_14 = l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_13, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_8); +lean_dec(x_8); +x_16 = l_Lean_Meta_transform_visit_visitForall___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_14, x_15, x_9, x_10, x_11, x_12, x_13); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; uint8_t x_16; lean_object* x_17; -x_15 = lean_unbox(x_7); +uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; +x_16 = lean_unbox(x_7); lean_dec(x_7); -x_16 = lean_unbox(x_12); -lean_dec(x_12); -x_17 = l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_8, x_9, x_10, x_11, x_16, x_13, x_14); -return x_17; +x_17 = lean_unbox(x_8); +lean_dec(x_8); +x_18 = lean_unbox(x_13); +lean_dec(x_13); +x_19 = l_Lean_Meta_transform_visit_visitForall___rarg___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_16, x_17, x_9, x_10, x_11, x_12, x_18, x_14, x_15); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_6); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_6); lean_dec(x_6); -x_13 = l_Lean_Meta_transform_visit_visitForall___rarg(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_7); +lean_dec(x_7); +x_15 = l_Lean_Meta_transform_visit_visitForall___rarg(x_1, x_2, x_3, x_4, x_5, x_13, x_14, x_8, x_9, x_10, x_11, x_12); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -6265,66 +6725,68 @@ x_9 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_7, x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_inc(x_11); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_inc(x_12); lean_inc(x_2); lean_inc(x_1); -x_12 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_11); -lean_inc(x_10); -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__5), 5, 4); -lean_closure_set(x_13, 0, x_11); -lean_closure_set(x_13, 1, x_2); -lean_closure_set(x_13, 2, x_1); -lean_closure_set(x_13, 3, x_10); -x_14 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_12, x_13); -return x_14; +x_13 = l_Lean_Meta_transform_visit___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12); +lean_inc(x_11); +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__5), 5, 4); +lean_closure_set(x_14, 0, x_12); +lean_closure_set(x_14, 1, x_2); +lean_closure_set(x_14, 2, x_1); +lean_closure_set(x_14, 3, x_11); +x_15 = lean_apply_4(x_11, lean_box(0), lean_box(0), x_13, x_14); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, uint8_t x_12) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_12 = lean_box(0); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_13 = lean_box(0); lean_inc(x_2); -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__2), 3, 1); -lean_closure_set(x_13, 0, x_2); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); -x_15 = l_Lean_Core_transform___rarg___closed__1; -x_16 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__3___boxed), 6, 1); -lean_closure_set(x_16, 0, x_15); +x_14 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__2), 3, 1); +lean_closure_set(x_14, 0, x_2); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +x_16 = l_Lean_Core_transform___rarg___closed__1; +x_17 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__3___boxed), 6, 1); +lean_closure_set(x_17, 0, x_16); lean_inc(x_2); -x_17 = lean_apply_2(x_2, lean_box(0), x_16); -x_18 = lean_box(x_11); -lean_inc(x_14); +x_18 = lean_apply_2(x_2, lean_box(0), x_17); +x_19 = lean_box(x_11); +x_20 = lean_box(x_12); +lean_inc(x_15); lean_inc(x_1); -x_19 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__6___boxed), 11, 10); -lean_closure_set(x_19, 0, x_1); -lean_closure_set(x_19, 1, x_2); -lean_closure_set(x_19, 2, x_3); -lean_closure_set(x_19, 3, x_9); -lean_closure_set(x_19, 4, x_10); -lean_closure_set(x_19, 5, x_18); -lean_closure_set(x_19, 6, x_12); -lean_closure_set(x_19, 7, x_13); -lean_closure_set(x_19, 8, x_8); -lean_closure_set(x_19, 9, x_14); -lean_inc(x_14); -x_20 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_17, x_19); -x_21 = lean_alloc_closure((void*)(l_Lean_Core_transform___rarg___lambda__8), 2, 1); +x_21 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___lambda__6___boxed), 12, 11); lean_closure_set(x_21, 0, x_1); -x_22 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_20, x_21); -return x_22; +lean_closure_set(x_21, 1, x_2); +lean_closure_set(x_21, 2, x_3); +lean_closure_set(x_21, 3, x_9); +lean_closure_set(x_21, 4, x_10); +lean_closure_set(x_21, 5, x_19); +lean_closure_set(x_21, 6, x_20); +lean_closure_set(x_21, 7, x_13); +lean_closure_set(x_21, 8, x_14); +lean_closure_set(x_21, 9, x_8); +lean_closure_set(x_21, 10, x_15); +lean_inc(x_15); +x_22 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_18, x_21); +x_23 = lean_alloc_closure((void*)(l_Lean_Core_transform___rarg___lambda__8), 2, 1); +lean_closure_set(x_23, 0, x_1); +x_24 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_22, x_23); +return x_24; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___boxed), 11, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_transform___rarg___boxed), 12, 0); return x_2; } } @@ -6365,50 +6827,55 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_6); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_6); lean_dec(x_6); -x_13 = l_Lean_Meta_transform___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10, x_11); -return x_13; +x_14 = lean_unbox(x_7); +lean_dec(x_7); +x_15 = l_Lean_Meta_transform___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_13, x_14, x_8, x_9, x_10, x_11, x_12); +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_11); +uint8_t x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_unbox(x_11); lean_dec(x_11); -x_13 = l_Lean_Meta_transform___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12); +x_14 = lean_unbox(x_12); +lean_dec(x_12); +x_15 = l_Lean_Meta_transform___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13, x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_13; +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; +lean_object* x_14; lean_inc(x_2); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -x_13 = lean_apply_6(x_2, x_6, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_13) == 0) +lean_inc(x_7); +x_14 = lean_apply_6(x_2, x_7, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -switch (lean_obj_tag(x_14)) { +lean_object* x_15; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +switch (lean_obj_tag(x_15)) { case 0: { -uint8_t x_15; +uint8_t x_16; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -6416,117 +6883,116 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_15 = !lean_is_exclusive(x_13); -if (x_15 == 0) +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_13, 0); -lean_dec(x_16); +lean_object* x_17; lean_object* x_18; x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -lean_dec(x_14); -lean_ctor_set(x_13, 0, x_17); -return x_13; +lean_dec(x_17); +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec(x_15); +lean_ctor_set(x_14, 0, x_18); +return x_14; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_13, 1); -lean_inc(x_18); -lean_dec(x_13); -x_19 = lean_ctor_get(x_14, 0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 1); lean_inc(x_19); lean_dec(x_14); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; +x_20 = lean_ctor_get(x_15, 0); +lean_inc(x_20); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; } } case 1: { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -lean_dec(x_6); -x_21 = lean_ctor_get(x_13, 1); -lean_inc(x_21); -lean_dec(x_13); -x_22 = lean_ctor_get(x_14, 0); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_7); +x_22 = lean_ctor_get(x_14, 1); lean_inc(x_22); lean_dec(x_14); -x_23 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_22, x_7, x_8, x_9, x_10, x_11, x_21); -return x_23; +x_23 = lean_ctor_get(x_15, 0); +lean_inc(x_23); +lean_dec(x_15); +x_24 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_8, x_9, x_10, x_11, x_12, x_22); +return x_24; } default: { -lean_object* x_24; +lean_object* x_25; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_24 = lean_ctor_get(x_14, 0); -lean_inc(x_24); -lean_dec(x_14); -if (lean_obj_tag(x_24) == 0) +x_25 = lean_ctor_get(x_15, 0); +lean_inc(x_25); +lean_dec(x_15); +if (lean_obj_tag(x_25) == 0) { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_13); -if (x_25 == 0) +uint8_t x_26; +x_26 = !lean_is_exclusive(x_14); +if (x_26 == 0) { -lean_object* x_26; -x_26 = lean_ctor_get(x_13, 0); -lean_dec(x_26); -lean_ctor_set(x_13, 0, x_6); -return x_13; +lean_object* x_27; +x_27 = lean_ctor_get(x_14, 0); +lean_dec(x_27); +lean_ctor_set(x_14, 0, x_7); +return x_14; } else { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_13, 1); -lean_inc(x_27); -lean_dec(x_13); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_6); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_14, 1); +lean_inc(x_28); +lean_dec(x_14); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } else { -uint8_t x_29; -lean_dec(x_6); -x_29 = !lean_is_exclusive(x_13); -if (x_29 == 0) +uint8_t x_30; +lean_dec(x_7); +x_30 = !lean_is_exclusive(x_14); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_13, 0); -lean_dec(x_30); -x_31 = lean_ctor_get(x_24, 0); -lean_inc(x_31); -lean_dec(x_24); -lean_ctor_set(x_13, 0, x_31); -return x_13; +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_14, 0); +lean_dec(x_31); +x_32 = lean_ctor_get(x_25, 0); +lean_inc(x_32); +lean_dec(x_25); +lean_ctor_set(x_14, 0, x_32); +return x_14; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_13, 1); -lean_inc(x_32); -lean_dec(x_13); -x_33 = lean_ctor_get(x_24, 0); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_14, 1); lean_inc(x_33); -lean_dec(x_24); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -return x_34; +lean_dec(x_14); +x_34 = lean_ctor_get(x_25, 0); +lean_inc(x_34); +lean_dec(x_25); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); +return x_35; } } } @@ -6534,7 +7000,8 @@ return x_34; } else { -uint8_t x_35; +uint8_t x_36; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -6542,26 +7009,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_13); -if (x_35 == 0) +x_36 = !lean_is_exclusive(x_14); +if (x_36 == 0) { -return x_13; +return x_14; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_13, 0); -x_37 = lean_ctor_get(x_13, 1); +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_14, 0); +x_38 = lean_ctor_get(x_14, 1); +lean_inc(x_38); lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_13); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_dec(x_14); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } @@ -6636,196 +7102,198 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaRe return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_push(x_1, x_8); -x_16 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(x_2, x_3, x_4, x_5, x_6, x_15, x_7, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_push(x_1, x_9); +x_17 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -if (lean_obj_tag(x_7) == 6) +if (lean_obj_tag(x_8) == 6) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_7, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_7, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_8, 0); lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 2); +x_16 = lean_ctor_get(x_8, 1); lean_inc(x_16); -x_17 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_18 = lean_expr_instantiate_rev(x_15, x_6); -lean_dec(x_15); +x_17 = lean_ctor_get(x_8, 2); +lean_inc(x_17); +x_18 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_19 = lean_expr_instantiate_rev(x_16, x_7); +lean_dec(x_16); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_19 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_18, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_19) == 0) +x_20 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_box(x_3); -x_23 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1___boxed), 14, 7); -lean_closure_set(x_23, 0, x_6); -lean_closure_set(x_23, 1, x_1); -lean_closure_set(x_23, 2, x_2); -lean_closure_set(x_23, 3, x_22); -lean_closure_set(x_23, 4, x_4); -lean_closure_set(x_23, 5, x_5); -lean_closure_set(x_23, 6, x_16); -x_24 = 0; -x_25 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__7___rarg(x_14, x_17, x_20, x_23, x_24, x_8, x_9, x_10, x_11, x_12, x_21); -return x_25; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(x_3); +x_24 = lean_box(x_4); +x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1___boxed), 15, 8); +lean_closure_set(x_25, 0, x_7); +lean_closure_set(x_25, 1, x_1); +lean_closure_set(x_25, 2, x_2); +lean_closure_set(x_25, 3, x_23); +lean_closure_set(x_25, 4, x_24); +lean_closure_set(x_25, 5, x_5); +lean_closure_set(x_25, 6, x_6); +lean_closure_set(x_25, 7, x_17); +x_26 = 0; +x_27 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__7___rarg(x_15, x_18, x_21, x_25, x_26, x_9, x_10, x_11, x_12, x_13, x_22); +return x_27; } else { -uint8_t x_26; -lean_dec(x_16); -lean_dec(x_14); +uint8_t x_28; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_26 = !lean_is_exclusive(x_19); -if (x_26 == 0) +x_28 = !lean_is_exclusive(x_20); +if (x_28 == 0) { -return x_19; +return x_20; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_19, 0); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_19); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_20, 0); +x_30 = lean_ctor_get(x_20, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_20); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } else { -lean_object* x_30; lean_object* x_31; -x_30 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_32; lean_object* x_33; +x_32 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_31 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_30, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_31) == 0) +x_33 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_32, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = 0; -x_35 = 1; -x_36 = l_Lean_Meta_mkLambdaFVars(x_6, x_32, x_34, x_3, x_35, x_9, x_10, x_11, x_12, x_33); -if (lean_obj_tag(x_36) == 0) +lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = 0; +x_37 = 1; +x_38 = l_Lean_Meta_mkLambdaFVars(x_7, x_34, x_36, x_3, x_37, x_10, x_11, x_12, x_13, x_35); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_37, x_8, x_9, x_10, x_11, x_12, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_39, x_9, x_10, x_11, x_12, x_13, x_40); +return x_41; } else { -uint8_t x_40; +uint8_t x_42; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_36); -if (x_40 == 0) +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) { -return x_36; +return x_38; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_36, 0); -x_42 = lean_ctor_get(x_36, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_36); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } else { -uint8_t x_44; +uint8_t x_46; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_31); -if (x_44 == 0) +x_46 = !lean_is_exclusive(x_33); +if (x_46 == 0) { -return x_31; +return x_33; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_31, 0); -x_46 = lean_ctor_get(x_31, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_31); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_33, 0); +x_48 = lean_ctor_get(x_33, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_33); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } @@ -6893,196 +7361,198 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaRe return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_push(x_1, x_8); -x_16 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(x_2, x_3, x_4, x_5, x_6, x_15, x_7, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; -} +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_push(x_1, x_9); +x_17 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +} +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -if (lean_obj_tag(x_7) == 7) +if (lean_obj_tag(x_8) == 7) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_7, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_7, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_8, 0); lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 2); +x_16 = lean_ctor_get(x_8, 1); lean_inc(x_16); -x_17 = lean_ctor_get_uint8(x_7, sizeof(void*)*3 + 8); -lean_dec(x_7); -x_18 = lean_expr_instantiate_rev(x_15, x_6); -lean_dec(x_15); +x_17 = lean_ctor_get(x_8, 2); +lean_inc(x_17); +x_18 = lean_ctor_get_uint8(x_8, sizeof(void*)*3 + 8); +lean_dec(x_8); +x_19 = lean_expr_instantiate_rev(x_16, x_7); +lean_dec(x_16); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_19 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_18, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_19) == 0) +x_20 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_box(x_3); -x_23 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1___boxed), 14, 7); -lean_closure_set(x_23, 0, x_6); -lean_closure_set(x_23, 1, x_1); -lean_closure_set(x_23, 2, x_2); -lean_closure_set(x_23, 3, x_22); -lean_closure_set(x_23, 4, x_4); -lean_closure_set(x_23, 5, x_5); -lean_closure_set(x_23, 6, x_16); -x_24 = 0; -x_25 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__8___rarg(x_14, x_17, x_20, x_23, x_24, x_8, x_9, x_10, x_11, x_12, x_21); -return x_25; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(x_3); +x_24 = lean_box(x_4); +x_25 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1___boxed), 15, 8); +lean_closure_set(x_25, 0, x_7); +lean_closure_set(x_25, 1, x_1); +lean_closure_set(x_25, 2, x_2); +lean_closure_set(x_25, 3, x_23); +lean_closure_set(x_25, 4, x_24); +lean_closure_set(x_25, 5, x_5); +lean_closure_set(x_25, 6, x_6); +lean_closure_set(x_25, 7, x_17); +x_26 = 0; +x_27 = l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__8___rarg(x_15, x_18, x_21, x_25, x_26, x_9, x_10, x_11, x_12, x_13, x_22); +return x_27; } else { -uint8_t x_26; -lean_dec(x_16); -lean_dec(x_14); +uint8_t x_28; +lean_dec(x_17); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_26 = !lean_is_exclusive(x_19); -if (x_26 == 0) +x_28 = !lean_is_exclusive(x_20); +if (x_28 == 0) { -return x_19; +return x_20; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_19, 0); -x_28 = lean_ctor_get(x_19, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_19); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_20, 0); +x_30 = lean_ctor_get(x_20, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_20); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } else { -lean_object* x_30; lean_object* x_31; -x_30 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_32; lean_object* x_33; +x_32 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_31 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_30, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_31) == 0) +x_33 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_32, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = 0; -x_35 = 1; -x_36 = l_Lean_Meta_mkForallFVars(x_6, x_32, x_34, x_3, x_35, x_9, x_10, x_11, x_12, x_33); -if (lean_obj_tag(x_36) == 0) +lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = 0; +x_37 = 1; +x_38 = l_Lean_Meta_mkForallFVars(x_7, x_34, x_36, x_3, x_37, x_10, x_11, x_12, x_13, x_35); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_37, x_8, x_9, x_10, x_11, x_12, x_38); -return x_39; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_39, x_9, x_10, x_11, x_12, x_13, x_40); +return x_41; } else { -uint8_t x_40; +uint8_t x_42; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_36); -if (x_40 == 0) +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) { -return x_36; +return x_38; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_36, 0); -x_42 = lean_ctor_get(x_36, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_36); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_38, 0); +x_44 = lean_ctor_get(x_38, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_38); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } else { -uint8_t x_44; +uint8_t x_46; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_31); -if (x_44 == 0) +x_46 = !lean_is_exclusive(x_33); +if (x_46 == 0) { -return x_31; +return x_33; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_31, 0); -x_46 = lean_ctor_get(x_31, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_31); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_33, 0); +x_48 = lean_ctor_get(x_33, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_33); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } @@ -7150,485 +7620,848 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Meta_withLetDecl___at_Lean_Meta_zetaRedu return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_15; lean_object* x_16; -x_15 = lean_array_push(x_1, x_8); -x_16 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(x_2, x_3, x_4, x_5, x_6, x_15, x_7, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +lean_object* x_16; lean_object* x_17; +x_16 = lean_array_push(x_1, x_9); +x_17 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_8, x_10, x_11, x_12, x_13, x_14, x_15); +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -if (lean_obj_tag(x_7) == 8) +if (lean_obj_tag(x_8) == 8) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_7, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_7, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_8, 0); lean_inc(x_15); -x_16 = lean_ctor_get(x_7, 2); +x_16 = lean_ctor_get(x_8, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_7, 3); +x_17 = lean_ctor_get(x_8, 2); lean_inc(x_17); -lean_dec(x_7); -x_18 = lean_expr_instantiate_rev(x_15, x_6); -lean_dec(x_15); +x_18 = lean_ctor_get(x_8, 3); +lean_inc(x_18); +lean_dec(x_8); +x_19 = lean_expr_instantiate_rev(x_16, x_7); +lean_dec(x_16); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_19 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_18, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_19) == 0) +x_20 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_19, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_expr_instantiate_rev(x_16, x_6); -lean_dec(x_16); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_expr_instantiate_rev(x_17, x_7); +lean_dec(x_17); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_23 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_22, x_8, x_9, x_10, x_11, x_12, x_21); -if (lean_obj_tag(x_23) == 0) +x_24 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_9, x_10, x_11, x_12, x_13, x_22); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_box(x_3); -x_27 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1___boxed), 14, 7); -lean_closure_set(x_27, 0, x_6); -lean_closure_set(x_27, 1, x_1); -lean_closure_set(x_27, 2, x_2); -lean_closure_set(x_27, 3, x_26); -lean_closure_set(x_27, 4, x_4); -lean_closure_set(x_27, 5, x_5); -lean_closure_set(x_27, 6, x_17); -x_28 = 0; -x_29 = l_Lean_Meta_withLetDecl___at_Lean_Meta_zetaReduce___spec__9___rarg(x_14, x_20, x_24, x_27, x_28, x_8, x_9, x_10, x_11, x_12, x_25); -return x_29; +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_box(x_3); +x_28 = lean_box(x_4); +x_29 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1___boxed), 15, 8); +lean_closure_set(x_29, 0, x_7); +lean_closure_set(x_29, 1, x_1); +lean_closure_set(x_29, 2, x_2); +lean_closure_set(x_29, 3, x_27); +lean_closure_set(x_29, 4, x_28); +lean_closure_set(x_29, 5, x_5); +lean_closure_set(x_29, 6, x_6); +lean_closure_set(x_29, 7, x_18); +x_30 = 0; +x_31 = l_Lean_Meta_withLetDecl___at_Lean_Meta_zetaReduce___spec__9___rarg(x_15, x_21, x_25, x_29, x_30, x_9, x_10, x_11, x_12, x_13, x_26); +return x_31; } else { -uint8_t x_30; -lean_dec(x_20); -lean_dec(x_17); -lean_dec(x_14); +uint8_t x_32; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_30 = !lean_is_exclusive(x_23); -if (x_30 == 0) +x_32 = !lean_is_exclusive(x_24); +if (x_32 == 0) { -return x_23; +return x_24; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_23, 0); -x_32 = lean_ctor_get(x_23, 1); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_23); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_24, 0); +x_34 = lean_ctor_get(x_24, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_24); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } else { -uint8_t x_34; +uint8_t x_36; +lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_14); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_34 = !lean_is_exclusive(x_19); -if (x_34 == 0) +x_36 = !lean_is_exclusive(x_20); +if (x_36 == 0) { -return x_19; +return x_20; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_19, 0); -x_36 = lean_ctor_get(x_19, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_19); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_20, 0); +x_38 = lean_ctor_get(x_20, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_20); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } else { -lean_object* x_38; lean_object* x_39; -x_38 = lean_expr_instantiate_rev(x_7, x_6); -lean_dec(x_7); +lean_object* x_40; lean_object* x_41; +x_40 = lean_expr_instantiate_rev(x_8, x_7); +lean_dec(x_8); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_39 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_38, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_39) == 0) +x_41 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_40, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_40; lean_object* x_41; uint8_t x_42; uint8_t x_43; lean_object* x_44; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = 0; -x_43 = 1; -x_44 = l_Lean_Meta_mkLambdaFVars(x_6, x_40, x_42, x_3, x_43, x_9, x_10, x_11, x_12, x_41); -if (lean_obj_tag(x_44) == 0) +lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_45; lean_object* x_46; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = 0; +x_45 = 1; +x_46 = l_Lean_Meta_mkLambdaFVars(x_7, x_42, x_44, x_3, x_45, x_10, x_11, x_12, x_13, x_43); +if (lean_obj_tag(x_46) == 0) { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_45, x_8, x_9, x_10, x_11, x_12, x_46); -return x_47; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_47, x_9, x_10, x_11, x_12, x_13, x_48); +return x_49; } else { -uint8_t x_48; +uint8_t x_50; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_48 = !lean_is_exclusive(x_44); -if (x_48 == 0) +x_50 = !lean_is_exclusive(x_46); +if (x_50 == 0) { -return x_44; +return x_46; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_44, 0); -x_50 = lean_ctor_get(x_44, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_44); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_46, 0); +x_52 = lean_ctor_get(x_46, 1); +lean_inc(x_52); +lean_inc(x_51); +lean_dec(x_46); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } else { -uint8_t x_52; +uint8_t x_54; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_52 = !lean_is_exclusive(x_39); -if (x_52 == 0) +x_54 = !lean_is_exclusive(x_41); +if (x_54 == 0) { -return x_39; +return x_41; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_39, 0); -x_54 = lean_ctor_get(x_39, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_39); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_41, 0); +x_56 = lean_ctor_get(x_41, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_41); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; -x_15 = lean_usize_dec_lt(x_7, x_6); -if (x_15 == 0) +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_8, x_7); +if (x_16 == 0) { -lean_object* x_16; +lean_object* x_17; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_8); -lean_ctor_set(x_16, 1, x_14); -return x_16; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set(x_17, 1, x_15); +return x_17; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_array_uget(x_8, x_7); -x_18 = lean_unsigned_to_nat(0u); -x_19 = lean_array_uset(x_8, x_7, x_18); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_uget(x_9, x_8); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_9, x_8, x_19); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_20 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_17, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_20) == 0) +x_21 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = 1; -x_24 = lean_usize_add(x_7, x_23); -x_25 = lean_array_uset(x_19, x_7, x_21); -x_7 = x_24; +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = 1; +x_25 = lean_usize_add(x_8, x_24); +x_26 = lean_array_uset(x_20, x_8, x_22); x_8 = x_25; -x_14 = x_22; +x_9 = x_26; +x_15 = x_23; goto _start; } else { -uint8_t x_27; -lean_dec(x_19); +uint8_t x_28; +lean_dec(x_20); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_27 = !lean_is_exclusive(x_20); -if (x_27 == 0) +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) { -return x_20; +return x_21; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_20, 0); -x_29 = lean_ctor_get(x_20, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); +lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_20); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_dec(x_21); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -if (lean_obj_tag(x_6) == 5) +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_8, x_7); +if (x_16 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_6, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_6, 1); -lean_inc(x_16); +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); lean_dec(x_6); -x_17 = lean_array_set(x_7, x_8, x_16); -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_nat_sub(x_8, x_18); -lean_dec(x_8); -x_6 = x_15; -x_7 = x_17; -x_8 = x_19; -goto _start; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set(x_17, 1, x_15); +return x_17; } else { -lean_object* x_21; -lean_dec(x_8); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_uget(x_9, x_8); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_9, x_8, x_19); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_21 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14); +x_21 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_10, x_11, x_12, x_13, x_14, x_15); if (lean_obj_tag(x_21) == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); -x_24 = lean_array_get_size(x_7); -x_25 = lean_usize_of_nat(x_24); -lean_dec(x_24); -x_26 = 0; +x_24 = 1; +x_25 = lean_usize_add(x_8, x_24); +x_26 = lean_array_uset(x_20, x_8, x_22); +x_8 = x_25; +x_9 = x_26; +x_15 = x_23; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_21); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__12(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_8, x_7); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_9); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_uget(x_9, x_8); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_uset(x_9, x_8, x_19); +lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_27 = l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10(x_1, x_2, x_3, x_4, x_5, x_25, x_26, x_7, x_9, x_10, x_11, x_12, x_13, x_23); -if (lean_obj_tag(x_27) == 0) +x_21 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = 1; +x_25 = lean_usize_add(x_8, x_24); +x_26 = lean_array_uset(x_20, x_8, x_22); +x_8 = x_25; +x_9 = x_26; +x_15 = x_23; +goto _start; +} +else +{ +uint8_t x_28; +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +return x_21; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); +lean_inc(x_30); lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_mkAppN(x_22, x_28); -x_31 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_30, x_9, x_10, x_11, x_12, x_13, x_29); +lean_dec(x_21); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); return x_31; } +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__13(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +if (lean_obj_tag(x_7) == 5) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_7, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_dec(x_7); +x_18 = lean_array_set(x_8, x_9, x_17); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_9, x_19); +lean_dec(x_9); +x_7 = x_16; +x_8 = x_18; +x_9 = x_20; +goto _start; +} else { -uint8_t x_32; +lean_dec(x_9); +if (x_4 == 0) +{ +lean_object* x_22; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_22 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); lean_dec(x_22); +x_25 = lean_array_get_size(x_8); +x_26 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_27 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_28 = l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_26, x_27, x_8, x_10, x_11, x_12, x_13, x_14, x_24); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_mkAppN(x_23, x_29); +x_32 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_31, x_10, x_11, x_12, x_13, x_14, x_30); +return x_32; +} +else +{ +uint8_t x_33; +lean_dec(x_23); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_27); -if (x_32 == 0) +x_33 = !lean_is_exclusive(x_28); +if (x_33 == 0) { -return x_27; +return x_28; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_27, 0); -x_34 = lean_ctor_get(x_27, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_28, 0); +x_35 = lean_ctor_get(x_28, 1); +lean_inc(x_35); lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_27); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_dec(x_28); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } else { -uint8_t x_36; +uint8_t x_37; +lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); +lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_36 = !lean_is_exclusive(x_21); -if (x_36 == 0) +x_37 = !lean_is_exclusive(x_22); +if (x_37 == 0) { -return x_21; +return x_22; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_21, 0); -x_38 = lean_ctor_get(x_21, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_22, 0); +x_39 = lean_ctor_get(x_22, 1); +lean_inc(x_39); lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_21); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +lean_dec(x_22); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +else +{ +uint8_t x_41; +x_41 = l_Lean_Expr_isConst(x_7); +if (x_41 == 0) +{ +lean_object* x_42; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_42 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; size_t x_46; size_t x_47; lean_object* x_48; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_array_get_size(x_8); +x_46 = lean_usize_of_nat(x_45); +lean_dec(x_45); +x_47 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_48 = l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_46, x_47, x_8, x_10, x_11, x_12, x_13, x_14, x_44); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = l_Lean_mkAppN(x_43, x_49); +x_52 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_51, x_10, x_11, x_12, x_13, x_14, x_50); +return x_52; +} +else +{ +uint8_t x_53; +lean_dec(x_43); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_53 = !lean_is_exclusive(x_48); +if (x_53 == 0) +{ +return x_48; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_48, 0); +x_55 = lean_ctor_get(x_48, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_48); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +else +{ +uint8_t x_57; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_57 = !lean_is_exclusive(x_42); +if (x_57 == 0) +{ +return x_42; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_42, 0); +x_59 = lean_ctor_get(x_42, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_42); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +else +{ +lean_object* x_61; size_t x_62; size_t x_63; lean_object* x_64; +x_61 = lean_array_get_size(x_8); +x_62 = lean_usize_of_nat(x_61); +lean_dec(x_61); +x_63 = 0; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_64 = l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__12(x_1, x_2, x_3, x_4, x_5, x_6, x_62, x_63, x_8, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_64, 0); +lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); +lean_dec(x_64); +x_67 = l_Lean_mkAppN(x_7, x_65); +x_68 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_67, x_10, x_11, x_12, x_13, x_14, x_66); +return x_68; +} +else +{ +uint8_t x_69; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_64); +if (x_69 == 0) +{ +return x_64; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_64, 0); +x_71 = lean_ctor_get(x_64, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_64); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +} +} +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -7679,15 +8512,15 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -7701,15 +8534,15 @@ lean_ctor_set(x_9, 1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14___rarg___boxed), 6, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16___rarg___boxed), 6, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__15(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_22; @@ -7902,7 +8735,7 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_4); lean_dec(x_3); -x_58 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14___rarg(x_15, x_5, x_6, x_7, x_8, x_9); +x_58 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16___rarg(x_15, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -7928,434 +8761,437 @@ return x_62; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; -switch (lean_obj_tag(x_7)) { +lean_object* x_15; +switch (lean_obj_tag(x_8)) { case 0: { -lean_object* x_61; lean_object* x_62; +lean_object* x_62; lean_object* x_63; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_61 = lean_ctor_get(x_7, 0); -lean_inc(x_61); -lean_dec(x_7); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_13); -return x_62; +x_62 = lean_ctor_get(x_8, 0); +lean_inc(x_62); +lean_dec(x_8); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_14); +return x_63; } case 1: { -lean_object* x_63; lean_object* x_64; -lean_dec(x_6); -x_63 = lean_ctor_get(x_7, 0); -lean_inc(x_63); +lean_object* x_64; lean_object* x_65; lean_dec(x_7); -x_64 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_63, x_8, x_9, x_10, x_11, x_12, x_13); -return x_64; +x_64 = lean_ctor_get(x_8, 0); +lean_inc(x_64); +lean_dec(x_8); +x_65 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_64, x_9, x_10, x_11, x_12, x_13, x_14); +return x_65; } default: { -lean_object* x_65; -x_65 = lean_ctor_get(x_7, 0); -lean_inc(x_65); -lean_dec(x_7); -if (lean_obj_tag(x_65) == 0) +lean_object* x_66; +x_66 = lean_ctor_get(x_8, 0); +lean_inc(x_66); +lean_dec(x_8); +if (lean_obj_tag(x_66) == 0) { -x_14 = x_6; -goto block_60; +x_15 = x_7; +goto block_61; } else { -lean_object* x_66; -lean_dec(x_6); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -lean_dec(x_65); -x_14 = x_66; -goto block_60; +lean_object* x_67; +lean_dec(x_7); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +lean_dec(x_66); +x_15 = x_67; +goto block_61; } } } -block_60: +block_61: { -switch (lean_obj_tag(x_14)) { +switch (lean_obj_tag(x_15)) { case 5: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_15 = lean_unsigned_to_nat(0u); -x_16 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_14, x_15); -x_17 = l_Lean_Core_transform_visit___rarg___lambda__12___closed__1; -lean_inc(x_16); -x_18 = lean_mk_array(x_16, x_17); -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_sub(x_16, x_19); -lean_dec(x_16); -x_21 = l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__11(x_1, x_2, x_3, x_4, x_5, x_14, x_18, x_20, x_8, x_9, x_10, x_11, x_12, x_13); -return x_21; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_unsigned_to_nat(0u); +x_17 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_16); +x_18 = l_Lean_Core_transform_visit___rarg___lambda__12___closed__1; +lean_inc(x_17); +x_19 = lean_mk_array(x_17, x_18); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_sub(x_17, x_20); +lean_dec(x_17); +x_22 = l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_19, x_21, x_9, x_10, x_11, x_12, x_13, x_14); +return x_22; } case 6: { -lean_object* x_22; lean_object* x_23; -x_22 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; -x_23 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(x_1, x_2, x_3, x_4, x_5, x_22, x_14, x_8, x_9, x_10, x_11, x_12, x_13); -return x_23; +lean_object* x_23; lean_object* x_24; +x_23 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; +x_24 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_23, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +return x_24; } case 7: { -lean_object* x_24; lean_object* x_25; -x_24 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; -x_25 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(x_1, x_2, x_3, x_4, x_5, x_24, x_14, x_8, x_9, x_10, x_11, x_12, x_13); -return x_25; +lean_object* x_25; lean_object* x_26; +x_25 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; +x_26 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_25, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +return x_26; } case 8: { -lean_object* x_26; lean_object* x_27; -x_26 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; -x_27 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(x_1, x_2, x_3, x_4, x_5, x_26, x_14, x_8, x_9, x_10, x_11, x_12, x_13); -return x_27; +lean_object* x_27; lean_object* x_28; +x_27 = l_Lean_Meta_transform_visit___rarg___lambda__3___closed__1; +x_28 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_27, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +return x_28; } case 10: { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_14, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_14, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); lean_inc(x_29); +x_30 = lean_ctor_get(x_15, 1); +lean_inc(x_30); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_29); +lean_inc(x_30); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_30 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_29, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_30) == 0) +x_31 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_30, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; uint8_t x_35; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); +lean_object* x_32; lean_object* x_33; size_t x_34; size_t x_35; uint8_t x_36; +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_ptr_addr(x_30); lean_dec(x_30); -x_33 = lean_ptr_addr(x_29); -lean_dec(x_29); -x_34 = lean_ptr_addr(x_31); -x_35 = lean_usize_dec_eq(x_33, x_34); -if (x_35 == 0) +x_35 = lean_ptr_addr(x_32); +x_36 = lean_usize_dec_eq(x_34, x_35); +if (x_36 == 0) { -lean_object* x_36; lean_object* x_37; -lean_dec(x_14); -x_36 = l_Lean_Expr_mdata___override(x_28, x_31); -x_37 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_36, x_8, x_9, x_10, x_11, x_12, x_32); -return x_37; +lean_object* x_37; lean_object* x_38; +lean_dec(x_15); +x_37 = l_Lean_Expr_mdata___override(x_29, x_32); +x_38 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_37, x_9, x_10, x_11, x_12, x_13, x_33); +return x_38; } else { -lean_object* x_38; -lean_dec(x_31); -lean_dec(x_28); -x_38 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_14, x_8, x_9, x_10, x_11, x_12, x_32); -return x_38; +lean_object* x_39; +lean_dec(x_32); +lean_dec(x_29); +x_39 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13, x_33); +return x_39; } } else { -uint8_t x_39; +uint8_t x_40; +lean_dec(x_30); lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_14); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_39 = !lean_is_exclusive(x_30); -if (x_39 == 0) +x_40 = !lean_is_exclusive(x_31); +if (x_40 == 0) { -return x_30; +return x_31; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_30, 0); -x_41 = lean_ctor_get(x_30, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_31, 0); +x_42 = lean_ctor_get(x_31, 1); +lean_inc(x_42); lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_30); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_dec(x_31); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } case 11: { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_43 = lean_ctor_get(x_14, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_14, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_15, 0); lean_inc(x_44); -x_45 = lean_ctor_get(x_14, 2); +x_45 = lean_ctor_get(x_15, 1); lean_inc(x_45); +x_46 = lean_ctor_get(x_15, 2); +lean_inc(x_46); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_45); +lean_inc(x_46); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); lean_inc(x_2); lean_inc(x_1); -x_46 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_45, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_46) == 0) +x_47 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_46, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; uint8_t x_51; -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); +lean_object* x_48; lean_object* x_49; size_t x_50; size_t x_51; uint8_t x_52; +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = lean_ptr_addr(x_46); lean_dec(x_46); -x_49 = lean_ptr_addr(x_45); -lean_dec(x_45); -x_50 = lean_ptr_addr(x_47); -x_51 = lean_usize_dec_eq(x_49, x_50); -if (x_51 == 0) +x_51 = lean_ptr_addr(x_48); +x_52 = lean_usize_dec_eq(x_50, x_51); +if (x_52 == 0) { -lean_object* x_52; lean_object* x_53; -lean_dec(x_14); -x_52 = l_Lean_Expr_proj___override(x_43, x_44, x_47); -x_53 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_52, x_8, x_9, x_10, x_11, x_12, x_48); -return x_53; +lean_object* x_53; lean_object* x_54; +lean_dec(x_15); +x_53 = l_Lean_Expr_proj___override(x_44, x_45, x_48); +x_54 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_53, x_9, x_10, x_11, x_12, x_13, x_49); +return x_54; } else { -lean_object* x_54; -lean_dec(x_47); +lean_object* x_55; +lean_dec(x_48); +lean_dec(x_45); lean_dec(x_44); -lean_dec(x_43); -x_54 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_14, x_8, x_9, x_10, x_11, x_12, x_48); -return x_54; +x_55 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13, x_49); +return x_55; } } else { -uint8_t x_55; +uint8_t x_56; +lean_dec(x_46); lean_dec(x_45); lean_dec(x_44); -lean_dec(x_43); -lean_dec(x_14); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_55 = !lean_is_exclusive(x_46); -if (x_55 == 0) +x_56 = !lean_is_exclusive(x_47); +if (x_56 == 0) { -return x_46; +return x_47; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_46, 0); -x_57 = lean_ctor_get(x_46, 1); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_47, 0); +x_58 = lean_ctor_get(x_47, 1); +lean_inc(x_58); lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_46); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +lean_dec(x_47); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } default: { -lean_object* x_59; -x_59 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_14, x_8, x_9, x_10, x_11, x_12, x_13); -return x_59; +lean_object* x_60; +x_60 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_15, x_9, x_10, x_11, x_12, x_13, x_14); +return x_60; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_13; lean_object* x_14; -lean_inc(x_7); -x_13 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(x_13, 0, lean_box(0)); -lean_closure_set(x_13, 1, lean_box(0)); -lean_closure_set(x_13, 2, x_7); -lean_inc(x_5); +lean_object* x_14; lean_object* x_15; +lean_inc(x_8); +x_14 = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(x_14, 0, lean_box(0)); +lean_closure_set(x_14, 1, lean_box(0)); +lean_closure_set(x_14, 2, x_8); +lean_inc(x_6); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -x_14 = lean_apply_7(x_5, lean_box(0), x_13, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) +x_15 = lean_apply_7(x_6, lean_box(0), x_14, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_15) == 0) { -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_6); -x_18 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_16, x_6); -if (lean_obj_tag(x_18) == 0) +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_7); +x_19 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_17, x_7); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_free_object(x_14); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_free_object(x_15); lean_inc(x_1); -lean_inc(x_6); -x_19 = lean_apply_1(x_1, x_6); -x_20 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_20, 0, x_19); -x_21 = lean_box(x_3); +lean_inc(x_7); +x_20 = lean_apply_1(x_1, x_7); +x_21 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_21, 0, x_20); +x_22 = lean_box(x_3); +x_23 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_22 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1___boxed), 13, 6); -lean_closure_set(x_22, 0, x_1); -lean_closure_set(x_22, 1, x_2); -lean_closure_set(x_22, 2, x_21); -lean_closure_set(x_22, 3, x_4); -lean_closure_set(x_22, 4, x_5); -lean_closure_set(x_22, 5, x_6); -x_23 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); -lean_closure_set(x_23, 0, x_20); -lean_closure_set(x_23, 1, x_22); +x_24 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1___boxed), 14, 7); +lean_closure_set(x_24, 0, x_1); +lean_closure_set(x_24, 1, x_2); +lean_closure_set(x_24, 2, x_22); +lean_closure_set(x_24, 3, x_23); +lean_closure_set(x_24, 4, x_5); +lean_closure_set(x_24, 5, x_6); +lean_closure_set(x_24, 6, x_7); +x_25 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); +lean_closure_set(x_25, 0, x_21); +lean_closure_set(x_25, 1, x_24); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_24 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__13(x_4, lean_box(0), x_23, x_7, x_8, x_9, x_10, x_11, x_17); -lean_dec(x_4); -if (lean_obj_tag(x_24) == 0) +x_26 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__15(x_5, lean_box(0), x_25, x_8, x_9, x_10, x_11, x_12, x_18); +lean_dec(x_5); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -lean_inc(x_25); -x_27 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__13), 3, 2); -lean_closure_set(x_27, 0, x_6); -lean_closure_set(x_27, 1, x_25); -x_28 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_28, 0, x_7); -lean_closure_set(x_28, 1, x_27); -x_29 = lean_apply_7(x_5, lean_box(0), x_28, x_8, x_9, x_10, x_11, x_26); -if (lean_obj_tag(x_29) == 0) +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +lean_inc(x_27); +x_29 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__13), 3, 2); +lean_closure_set(x_29, 0, x_7); +lean_closure_set(x_29, 1, x_27); +x_30 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_30, 0, x_8); +lean_closure_set(x_30, 1, x_29); +x_31 = lean_apply_7(x_6, lean_box(0), x_30, x_9, x_10, x_11, x_12, x_28); +if (lean_obj_tag(x_31) == 0) { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_29); -if (x_30 == 0) +uint8_t x_32; +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_31; -x_31 = lean_ctor_get(x_29, 0); -lean_dec(x_31); -lean_ctor_set(x_29, 0, x_25); -return x_29; +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +lean_ctor_set(x_31, 0, x_27); +return x_31; } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_25); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_27); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } else { -uint8_t x_34; -lean_dec(x_25); -x_34 = !lean_is_exclusive(x_29); -if (x_34 == 0) +uint8_t x_36; +lean_dec(x_27); +x_36 = !lean_is_exclusive(x_31); +if (x_36 == 0) { -return x_29; +return x_31; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_29, 0); -x_36 = lean_ctor_get(x_29, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_29); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_31, 0); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_31); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } } else { -uint8_t x_38; +uint8_t x_40; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_38 = !lean_is_exclusive(x_24); -if (x_38 == 0) +x_40 = !lean_is_exclusive(x_26); +if (x_40 == 0) { -return x_24; +return x_26; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_24, 0); -x_40 = lean_ctor_get(x_24, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_24); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_26, 0); +x_42 = lean_ctor_get(x_26, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_26); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } else { -lean_object* x_42; +lean_object* x_44; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -8363,154 +9199,156 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = lean_ctor_get(x_18, 0); -lean_inc(x_42); -lean_dec(x_18); -lean_ctor_set(x_14, 0, x_42); -return x_14; +x_44 = lean_ctor_get(x_19, 0); +lean_inc(x_44); +lean_dec(x_19); +lean_ctor_set(x_15, 0, x_44); +return x_15; } } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_14, 0); -x_44 = lean_ctor_get(x_14, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_14); -lean_inc(x_6); -x_45 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_43, x_6); -if (lean_obj_tag(x_45) == 0) +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_15, 0); +x_46 = lean_ctor_get(x_15, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_15); +lean_inc(x_7); +x_47 = l_Lean_HashMapImp_find_x3f___at_Lean_instantiateExprMVars___spec__1(x_45, x_7); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_inc(x_1); -lean_inc(x_6); -x_46 = lean_apply_1(x_1, x_6); -x_47 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); -lean_closure_set(x_47, 0, x_46); -x_48 = lean_box(x_3); +lean_inc(x_7); +x_48 = lean_apply_1(x_1, x_7); +x_49 = lean_alloc_closure((void*)(l_StateRefT_x27_lift___rarg___boxed), 2, 1); +lean_closure_set(x_49, 0, x_48); +x_50 = lean_box(x_3); +x_51 = lean_box(x_4); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -lean_inc(x_4); -x_49 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1___boxed), 13, 6); -lean_closure_set(x_49, 0, x_1); -lean_closure_set(x_49, 1, x_2); -lean_closure_set(x_49, 2, x_48); -lean_closure_set(x_49, 3, x_4); -lean_closure_set(x_49, 4, x_5); -lean_closure_set(x_49, 5, x_6); -x_50 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__12___rarg), 8, 2); -lean_closure_set(x_50, 0, x_47); -lean_closure_set(x_50, 1, x_49); +x_52 = lean_alloc_closure((void*)(l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1___boxed), 14, 7); +lean_closure_set(x_52, 0, x_1); +lean_closure_set(x_52, 1, x_2); +lean_closure_set(x_52, 2, x_50); +lean_closure_set(x_52, 3, x_51); +lean_closure_set(x_52, 4, x_5); +lean_closure_set(x_52, 5, x_6); +lean_closure_set(x_52, 6, x_7); +x_53 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_zetaReduce___spec__14___rarg), 8, 2); +lean_closure_set(x_53, 0, x_49); +lean_closure_set(x_53, 1, x_52); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -lean_inc(x_7); -x_51 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__13(x_4, lean_box(0), x_50, x_7, x_8, x_9, x_10, x_11, x_44); -lean_dec(x_4); -if (lean_obj_tag(x_51) == 0) +x_54 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__15(x_5, lean_box(0), x_53, x_8, x_9, x_10, x_11, x_12, x_46); +lean_dec(x_5); +if (lean_obj_tag(x_54) == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -lean_inc(x_52); -x_54 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__13), 3, 2); -lean_closure_set(x_54, 0, x_6); -lean_closure_set(x_54, 1, x_52); -x_55 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); -lean_closure_set(x_55, 0, x_7); -lean_closure_set(x_55, 1, x_54); -x_56 = lean_apply_7(x_5, lean_box(0), x_55, x_8, x_9, x_10, x_11, x_53); -if (lean_obj_tag(x_56) == 0) +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +lean_inc(x_55); +x_57 = lean_alloc_closure((void*)(l_Lean_Core_transform_visit___rarg___lambda__13), 3, 2); +lean_closure_set(x_57, 0, x_7); +lean_closure_set(x_57, 1, x_55); +x_58 = lean_alloc_closure((void*)(l_ST_Prim_Ref_modifyGetUnsafe___rarg___boxed), 3, 2); +lean_closure_set(x_58, 0, x_8); +lean_closure_set(x_58, 1, x_57); +x_59 = lean_apply_7(x_6, lean_box(0), x_58, x_9, x_10, x_11, x_12, x_56); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_58 = x_56; +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_61 = x_59; } else { - lean_dec_ref(x_56); - x_58 = lean_box(0); + lean_dec_ref(x_59); + x_61 = lean_box(0); } -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_61)) { + x_62 = lean_alloc_ctor(0, 2, 0); } else { - x_59 = x_58; + x_62 = x_61; } -lean_ctor_set(x_59, 0, x_52); -lean_ctor_set(x_59, 1, x_57); -return x_59; +lean_ctor_set(x_62, 0, x_55); +lean_ctor_set(x_62, 1, x_60); +return x_62; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -lean_dec(x_52); -x_60 = lean_ctor_get(x_56, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_56, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_62 = x_56; +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_dec(x_55); +x_63 = lean_ctor_get(x_59, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_59, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_65 = x_59; } else { - lean_dec_ref(x_56); - x_62 = lean_box(0); + lean_dec_ref(x_59); + x_65 = lean_box(0); } -if (lean_is_scalar(x_62)) { - x_63 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(1, 2, 0); } else { - x_63 = x_62; + x_66 = x_65; } -lean_ctor_set(x_63, 0, x_60); -lean_ctor_set(x_63, 1, x_61); -return x_63; +lean_ctor_set(x_66, 0, x_63); +lean_ctor_set(x_66, 1, x_64); +return x_66; } } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); -x_64 = lean_ctor_get(x_51, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_51, 1); -lean_inc(x_65); -if (lean_is_exclusive(x_51)) { - lean_ctor_release(x_51, 0); - lean_ctor_release(x_51, 1); - x_66 = x_51; +x_67 = lean_ctor_get(x_54, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_54, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_69 = x_54; } else { - lean_dec_ref(x_51); - x_66 = lean_box(0); + lean_dec_ref(x_54); + x_69 = lean_box(0); } -if (lean_is_scalar(x_66)) { - x_67 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_69)) { + x_70 = lean_alloc_ctor(1, 2, 0); } else { - x_67 = x_66; + x_70 = x_69; } -lean_ctor_set(x_67, 0, x_64); -lean_ctor_set(x_67, 1, x_65); -return x_67; +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_68); +return x_70; } } else { -lean_object* x_68; lean_object* x_69; +lean_object* x_71; lean_object* x_72; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -8518,22 +9356,22 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_68 = lean_ctor_get(x_45, 0); -lean_inc(x_68); -lean_dec(x_45); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_44); -return x_69; +x_71 = lean_ctor_get(x_47, 0); +lean_inc(x_71); +lean_dec(x_47); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_46); +return x_72; } } } else { -uint8_t x_70; +uint8_t x_73; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -8541,26 +9379,25 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_70 = !lean_is_exclusive(x_14); -if (x_70 == 0) +x_73 = !lean_is_exclusive(x_15); +if (x_73 == 0) { -return x_14; +return x_15; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_14, 0); -x_72 = lean_ctor_get(x_14, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_14); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_15, 0); +x_75 = lean_ctor_get(x_15, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_15); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } @@ -8598,73 +9435,73 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Meta_transform___at_Lean_Meta_zetaReduce return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_10 = lean_box(0); -x_11 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1___closed__1; -x_12 = l_Lean_Core_transform___rarg___closed__1; -x_13 = lean_st_mk_ref(x_12, x_9); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_11 = lean_box(0); +x_12 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1___closed__1; +x_13 = l_Lean_Core_transform___rarg___closed__1; +x_14 = lean_st_mk_ref(x_13, x_10); +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -lean_inc(x_14); -x_16 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_2, x_3, x_4, x_10, x_11, x_1, x_14, x_5, x_6, x_7, x_8, x_15); -if (lean_obj_tag(x_16) == 0) +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_15); +x_17 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_2, x_3, x_4, x_5, x_11, x_12, x_1, x_15, x_6, x_7, x_8, x_9, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_st_ref_get(x_14, x_18); -lean_dec(x_14); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_st_ref_get(x_15, x_19); +lean_dec(x_15); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set(x_19, 0, x_17); -return x_19; +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_18); +return x_20; } else { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_17); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_18); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } else { -uint8_t x_24; -lean_dec(x_14); -x_24 = !lean_is_exclusive(x_16); -if (x_24 == 0) +uint8_t x_25; +lean_dec(x_15); +x_25 = !lean_is_exclusive(x_17); +if (x_25 == 0) { -return x_16; +return x_17; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_16, 0); -x_26 = lean_ctor_get(x_16, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_17, 0); +x_27 = lean_ctor_get(x_17, 1); +lean_inc(x_27); lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_16); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_dec(x_17); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } @@ -8769,22 +9606,25 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Meta_zetaReduce(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; +lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; lean_object* x_11; x_7 = l_Lean_Meta_zetaReduce___closed__1; x_8 = l_Lean_Meta_zetaReduce___closed__2; x_9 = 1; -x_10 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_7, x_8, x_9, x_2, x_3, x_4, x_5, x_6); -return x_10; +x_10 = 0; +x_11 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_7, x_8, x_9, x_10, x_2, x_3, x_4, x_5, x_6); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_3); lean_dec(x_3); -x_14 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Meta_transform_visit_visitPost___at_Lean_Meta_zetaReduce___spec__3(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -8808,24 +9648,28 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_4); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_4); lean_dec(x_4); -x_16 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_5); +lean_dec(x_5); +x_18 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___lambda__1(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); lean_dec(x_3); -x_15 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit_visitLambda___at_Lean_Meta_zetaReduce___spec__4(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Meta_zetaReduce___spec__8___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -8849,24 +9693,28 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_4); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_4); lean_dec(x_4); -x_16 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_5); +lean_dec(x_5); +x_18 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___lambda__1(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); lean_dec(x_3); -x_15 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit_visitForall___at_Lean_Meta_zetaReduce___spec__5(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_zetaReduce___spec__9___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -8888,55 +9736,95 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_4); +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_4); lean_dec(x_4); -x_16 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_5); +lean_dec(x_5); +x_18 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___lambda__1(x_1, x_2, x_3, x_16, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); lean_dec(x_3); -x_15 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit_visitLet___at_Lean_Meta_zetaReduce___spec__6(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_17 = lean_unbox_usize(x_7); +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = lean_unbox_usize(x_7); lean_dec(x_7); -x_18 = l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10(x_1, x_2, x_15, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_18; +x_19 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__10(x_1, x_2, x_16, x_17, x_5, x_6, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_3); +uint8_t x_16; uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_unbox(x_3); lean_dec(x_3); -x_16 = l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__11(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_16; +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_19 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__11(x_1, x_2, x_16, x_17, x_5, x_6, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_19 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Meta_zetaReduce___spec__12(x_1, x_2, x_16, x_17, x_5, x_6, x_18, x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_20; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_16; uint8_t x_17; lean_object* x_18; +x_16 = lean_unbox(x_3); +lean_dec(x_3); +x_17 = lean_unbox(x_4); +lean_dec(x_4); +x_18 = l_Lean_Expr_withAppAux___at_Lean_Meta_zetaReduce___spec__13(x_1, x_2, x_16, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -8944,42 +9832,46 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__14(x_1, x_2); +x_3 = l_Lean_throwMaxRecDepthAt___at_Lean_Meta_zetaReduce___spec__16(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Meta_withIncRecDepth___at_Lean_Meta_zetaReduce___spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_3); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); lean_dec(x_3); -x_15 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___lambda__1(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); +uint8_t x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unbox(x_3); lean_dec(x_3); -x_14 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_15 = lean_unbox(x_4); +lean_dec(x_4); +x_16 = l_Lean_Meta_transform_visit___at_Lean_Meta_zetaReduce___spec__2(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -8994,14 +9886,16 @@ lean_dec(x_3); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_4); +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_unbox(x_4); lean_dec(x_4); -x_11 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8, x_9); -return x_11; +x_12 = lean_unbox(x_5); +lean_dec(x_5); +x_13 = l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(x_1, x_2, x_3, x_11, x_12, x_6, x_7, x_8, x_9, x_10); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Meta_zetaReduce___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { diff --git a/stage0/stdlib/Lean/Meta/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index 00bbea2c9727..a9123b30cded 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -26,7 +26,6 @@ static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__1; static lean_object* l_Lean_Meta_reduceBinNatOp___closed__11; lean_object* l_Lean_mkNatLit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__13(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_initFn____x40_Lean_Meta_WHNF___hyg_11267_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_unfoldDefinition_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingReduce_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -61,7 +60,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__8(lean_object*, LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__4; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__10; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceNat_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -86,14 +84,12 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_smartUnfoldi static lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1___closed__4; static lean_object* l_Lean_Meta_markSmartUnfoldingMatchAlt___closed__2; lean_object* l_Lean_Expr_sort___override(lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__8; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_smartUnfoldingReduce_x3f_go___closed__1; lean_object* l_Lean_Core_checkSystem(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Meta_reduceBoolNativeUnsafe___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__1; LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_Meta_reduceBoolNativeUnsafe___spec__2(lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__16; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__12; @@ -129,6 +125,7 @@ LEAN_EXPORT uint8_t l_Lean_Meta_ProjReductionKind_ofNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__3; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__27; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__6; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -143,6 +140,7 @@ static lean_object* l_Lean_Meta_reduceNat_x3f___closed__29; LEAN_EXPORT uint8_t l_Lean_Meta_WhnfCoreConfig_beta___default; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___lambda__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_Meta_smartUnfoldingSuffix; +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408_(lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isWFRec___closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_Meta_smartUnfoldingReduce_x3f_go___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -173,9 +171,11 @@ static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor___clos static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__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_EXPORT lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__10; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__16; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Meta_smartUnfoldingReduce_x3f_go___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__7; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__7; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__13; @@ -257,7 +257,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_project_x3f___boxed(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__39; static lean_object* l_Lean_Meta_reduceNative_x3f___closed__10; -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__7(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_ProjReductionKind_noConfusion___rarg___lambda__1___boxed(lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__9; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__9; @@ -284,16 +284,20 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__31; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__35; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__4; static lean_object* l_Lean_Meta_ProjReductionKind_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withNatValue(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceMatcher_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RecursorVal_getMajorIdx(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__3; static lean_object* l_Lean_getConstInfoCtor___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingMatchAlt_x3f(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__8; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__15; LEAN_EXPORT uint8_t l_Lean_Meta_instDecidableEqProjReductionKind(uint8_t, uint8_t); lean_object* l_Nat_beq___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__11; static lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___closed__1; static lean_object* l_Lean_Meta_reduceNat_x3f___closed__26; lean_object* l_Lean_getStructureInfo_x3f(lean_object*, lean_object*); @@ -305,6 +309,7 @@ static lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Meta_getStuckMVar_x extern lean_object* l_Lean_levelZero; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Meta_reduceMatcher_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__5; lean_object* l_Lean_Meta_getTransparency(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -332,11 +337,9 @@ static lean_object* l_Lean_Meta_reduceNative_x3f___closed__11; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__6; LEAN_EXPORT lean_object* l_Lean_Meta_mkSmartUnfoldingNameFor(lean_object*); uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceRec___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withNatValue___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__7; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__17; lean_object* l_Nat_mul___boxed(lean_object*, lean_object*); @@ -344,12 +347,12 @@ static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed_ static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__8; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ProjReductionKind_noConfusion___rarg___lambda__1(lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__9; LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_instantiateLevelParams(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMonadMetaM; LEAN_EXPORT lean_object* l_Lean_Meta_hasSmartUnfoldingDecl___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__6; static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__18; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_getStuckMVar_x3f___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RecursorVal_getInduct(lean_object*); @@ -368,7 +371,6 @@ static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__27; lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__36; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__11; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isQuotRecStuck_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstructorApp(lean_object*, lean_object*); @@ -377,7 +379,6 @@ static lean_object* l_Lean_Meta_whnfEasyCases___closed__2; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_reduceRecMatcher_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__18; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfDelayedAssigned_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -385,15 +386,15 @@ lean_object* l_Lean_Meta_getUnfoldableConstNoEx_x3f(lean_object*, lean_object*, lean_object* l_Lean_Meta_getUnfoldableConst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_smartUnfoldingSuffix___closed__1; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__4; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__9; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkProjFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__21; -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__5(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_ProjReductionKind_noConfusion(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reduceQuotRec___rarg___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_Meta_WHNF_0__Lean_Meta_cached_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceBinNatOp___closed__2; +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__13; LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppRevArgsAux(lean_object*, lean_object*); @@ -406,7 +407,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_ProjReductionKind_noConfusion___rarg(uint8_ static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__23; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNat_x3f___closed__22; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at_Lean_Meta_reduceBoolNativeUnsafe___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_whnfHeadPred___lambda__1___closed__1; @@ -415,6 +415,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__14___boxed(lean_ static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_useWHNFCache___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -438,6 +439,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__1___boxed(lean_o LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_deltaBetaDefinition___at_Lean_Meta_unfoldDefinition_x3f___spec__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_object* l_Lean_getExprMVarAssignment_x3f___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__1; static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_reduceRecMatcher_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_isWFRec___closed__1; @@ -450,7 +452,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_mkNullaryCtor__ static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_reprProjReductionKind____x40_Lean_Meta_WHNF___hyg_3842____closed__7; LEAN_EXPORT lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__13; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_reduceBoolNativeUnsafe___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_getStuckMVar_x3f___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instDecidableEqProjReductionKind___boxed(lean_object*, lean_object*); @@ -468,7 +469,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_ProjReductionKind_noConfusion___rarg___boxe LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Meta_WHNF_0__Lean_Meta_toCtorWhenStructure___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__6(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_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__30; lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_Profile___hyg_6____spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -536,9 +537,10 @@ static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__22; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_reduceNative_x3f___closed__6; lean_object* l_Lean_Meta_useEtaStruct(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__4; LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfImp___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_updateFn(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__2; static lean_object* l_Lean_Meta_reduceBinNatOp___closed__12; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_getRecRuleFor___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -564,6 +566,7 @@ lean_object* l_Lean_Meta_isDefEq(lean_object*, lean_object*, lean_object*, lean_ LEAN_EXPORT lean_object* l_Lean_Meta_whnfCore_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_instMonadMCtxMetaM; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_reduceMatcher_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_letFun_x3f(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_WhnfCoreConfig_proj___default; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_whnfMatcher___closed__2; @@ -604,7 +607,6 @@ uint8_t l_Lean_isStructureLike(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_reduceBinNatOp___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_whnfEasyCases___closed__5; -static lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__3; LEAN_EXPORT lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_useWHNFCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_canUnfoldAtMatcher(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingMatchAlt_x3f___boxed(lean_object*); @@ -19337,7 +19339,104 @@ return x_57; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +lean_dec(x_4); +x_10 = lean_ctor_get_uint8(x_2, 3); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +else +{ +lean_object* x_13; +lean_inc(x_3); +x_13 = l_Lean_Expr_letFun_x3f(x_3); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_3); +lean_dec(x_1); +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_expr_instantiate1(x_20, x_19); +lean_dec(x_19); +lean_dec(x_20); +lean_inc(x_2); +x_22 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3(x_2, x_21, x_2, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +return x_22; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_22, 0); +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_22); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -19371,7 +19470,7 @@ return x_14; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -19424,7 +19523,7 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; uint8_t x_12; uint8_t x_13; @@ -19449,7 +19548,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__6(x_1, x_2, x_3, x_15, x_6, x_7, x_8, x_9, x_16); +x_17 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__7(x_1, x_2, x_3, x_15, x_6, x_7, x_8, x_9, x_16); return x_17; } else @@ -19498,7 +19597,7 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); -x_25 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__6(x_1, x_2, x_3, x_23, x_6, x_7, x_8, x_9, x_24); +x_25 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__7(x_1, x_2, x_3, x_23, x_6, x_7, x_8, x_9, x_24); return x_25; } else @@ -19533,7 +19632,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; uint8_t x_12; uint8_t x_13; @@ -19545,7 +19644,7 @@ if (x_13 == 0) { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__7(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10); +x_15 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__8(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10); return x_15; } else @@ -19871,7 +19970,7 @@ x_61 = lean_ctor_get(x_58, 1); lean_inc(x_61); lean_dec(x_58); x_62 = lean_box(0); -x_63 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_56, x_1, x_2, x_62, x_4, x_5, x_6, x_7, x_61); +x_63 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__5(x_56, x_1, x_2, x_62, x_4, x_5, x_6, x_7, x_61); return x_63; } else @@ -19888,7 +19987,7 @@ lean_inc(x_67); x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); lean_dec(x_66); -x_69 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__4(x_56, x_1, x_2, x_67, x_4, x_5, x_6, x_7, x_68); +x_69 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__5(x_56, x_1, x_2, x_67, x_4, x_5, x_6, x_7, x_68); return x_69; } } @@ -19913,7 +20012,7 @@ x_76 = lean_ctor_get(x_73, 1); lean_inc(x_76); lean_dec(x_73); x_77 = lean_box(0); -x_78 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__5(x_1, x_2, x_71, x_70, x_77, x_4, x_5, x_6, x_7, x_76); +x_78 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__6(x_1, x_2, x_71, x_70, x_77, x_4, x_5, x_6, x_7, x_76); return x_78; } else @@ -19930,7 +20029,7 @@ lean_inc(x_82); x_83 = lean_ctor_get(x_81, 1); lean_inc(x_83); lean_dec(x_81); -x_84 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__5(x_1, x_2, x_71, x_70, x_82, x_4, x_5, x_6, x_7, x_83); +x_84 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__6(x_1, x_2, x_71, x_70, x_82, x_4, x_5, x_6, x_7, x_83); return x_84; } } @@ -19964,7 +20063,7 @@ x_93 = lean_ctor_get(x_90, 1); lean_inc(x_93); lean_dec(x_90); x_94 = lean_box(0); -x_95 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__8(x_87, x_2, x_1, x_88, x_94, x_4, x_5, x_6, x_7, x_93); +x_95 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__9(x_87, x_2, x_1, x_88, x_94, x_4, x_5, x_6, x_7, x_93); return x_95; } else @@ -19981,7 +20080,7 @@ lean_inc(x_99); x_100 = lean_ctor_get(x_98, 1); lean_inc(x_100); lean_dec(x_98); -x_101 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__8(x_87, x_2, x_1, x_88, x_99, x_4, x_5, x_6, x_7, x_100); +x_101 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___lambda__9(x_87, x_2, x_1, x_88, x_99, x_4, x_5, x_6, x_7, x_100); return x_101; } } @@ -32387,7 +32486,7 @@ static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___c lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___closed__2; x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__1; -x_3 = lean_unsigned_to_nat(888u); +x_3 = lean_unsigned_to_nat(892u); x_4 = lean_unsigned_to_nat(18u); x_5 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -32565,7 +32664,7 @@ static lean_object* _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Meta_whnfEasyCases___closed__2; x_2 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__1; -x_3 = lean_unsigned_to_nat(897u); +x_3 = lean_unsigned_to_nat(901u); x_4 = lean_unsigned_to_nat(18u); x_5 = l___private_Lean_Meta_WHNF_0__Lean_Meta_cached_x3f___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -35813,7 +35912,7 @@ return x_38; } } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__1() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -35823,17 +35922,17 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__2() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__1; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__1; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__3() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__3() { _start: { lean_object* x_1; @@ -35841,17 +35940,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__4() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__2; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__3; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__2; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__5() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__5() { _start: { lean_object* x_1; @@ -35859,37 +35958,37 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__6() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__4; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__5; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__4; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__7() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__6; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__6; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__8() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__7; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__7; x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_36____closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__9() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__9() { _start: { lean_object* x_1; @@ -35897,17 +35996,17 @@ x_1 = lean_mk_string_from_bytes("WHNF", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__10() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__8; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__9; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__8; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__11() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__11() { _start: { lean_object* x_1; @@ -35915,33 +36014,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__12() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__10; -x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__11; +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__10; +x_2 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__13() { +static lean_object* _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__12; -x_2 = lean_unsigned_to_nat(11267u); +x_1 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__12; +x_2 = lean_unsigned_to_nat(11408u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Meta_whnfEasyCases___at_Lean_Meta_whnfCore_go___spec__3___closed__2; x_3 = 0; -x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__13; +x_4 = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__13; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -36356,33 +36455,33 @@ l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__1 = _init_l___private_Le lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__1); l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__2 = _init_l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__2(); lean_mark_persistent(l___private_Lean_Meta_WHNF_0__Lean_Meta_cache___closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__1(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__1); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__2(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__2); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__3(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__3); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__4(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__4); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__5(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__5); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__6(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__6); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__7(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__7); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__8(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__8); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__9(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__9); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__10(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__10); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__11(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__11); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__12(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__12); -l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__13(); -lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267____closed__13); -if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11267_(lean_io_mk_world()); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__1 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__1(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__1); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__2 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__2(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__2); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__3 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__3(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__3); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__4 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__4(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__4); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__5 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__5(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__5); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__6 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__6(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__6); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__7 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__7(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__7); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__8 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__8(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__8); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__9 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__9(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__9); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__10 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__10(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__10); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__11 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__11(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__11); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__12 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__12(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__12); +l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__13 = _init_l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__13(); +lean_mark_persistent(l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408____closed__13); +if (builtin) {res = l_Lean_Meta_initFn____x40_Lean_Meta_WHNF___hyg_11408_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Parser/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index c0afa2c821d4..18faf90b8b1d 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -327,6 +327,7 @@ static lean_object* l_Lean_Parser_incQuotDepth___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_hygieneInfoNoAntiquot; static lean_object* l_Lean_Parser_errorAtSavedPos___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_pickNonNone(lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_dbgTraceStateFn___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_finishCommentBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__2___boxed(lean_object*); @@ -464,6 +465,7 @@ lean_object* l_Lean_Parser_SyntaxStack_toSubarray(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_sepBy1NoAntiquot___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_errorAtSavedPos___closed__1; lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_orelseInfo___elambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_manyAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkLhsPrecFn___boxed(lean_object*, lean_object*, lean_object*); @@ -705,7 +707,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_checkLhsPrec(lean_object*); static lean_object* l_Lean_Parser_pushNone___elambda__1___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_dbgTraceStateFn(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_longestMatchFn(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(lean_object*, lean_object*); lean_object* l_Int_toNat(lean_object*); static lean_object* l_Lean_Parser_nameLitNoAntiquot___closed__3; lean_object* l_Repr_addAppParen(lean_object*, lean_object*); @@ -735,7 +736,6 @@ static lean_object* l_Lean_Parser_whitespace___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_orelseInfo___elambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_expectTokenFn(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotExpr___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_hygieneInfoFn___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_whitespace___closed__2; @@ -1300,7 +1300,7 @@ x_5 = lean_apply_2(x_1, x_3, x_4); x_6 = lean_ctor_get(x_5, 4); lean_inc(x_6); x_7 = lean_box(0); -x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7); +x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7); if (x_8 == 0) { lean_dec(x_3); @@ -1838,7 +1838,7 @@ x_7 = lean_ctor_get(x_3, 4); lean_inc(x_7); x_8 = lean_box(0); lean_inc(x_7); -x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); if (x_9 == 0) { lean_dec(x_7); @@ -2875,7 +2875,7 @@ x_11 = lean_apply_2(x_3, x_4, x_10); x_12 = lean_ctor_get(x_11, 4); lean_inc(x_12); x_13 = lean_box(0); -x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_13); +x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_13); if (x_14 == 0) { lean_object* x_15; lean_object* x_16; @@ -3341,7 +3341,7 @@ x_6 = lean_apply_2(x_1, x_2, x_3); x_7 = lean_ctor_get(x_6, 4); lean_inc(x_7); x_8 = lean_box(0); -x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); if (x_9 == 0) { lean_object* x_10; uint8_t x_11; @@ -3459,7 +3459,7 @@ x_6 = lean_apply_2(x_1, x_2, x_3); x_7 = lean_ctor_get(x_6, 4); lean_inc(x_7); x_8 = lean_box(0); -x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); if (x_9 == 0) { lean_dec(x_5); @@ -3533,7 +3533,7 @@ x_7 = lean_apply_2(x_1, x_3, x_4); x_8 = lean_ctor_get(x_7, 4); lean_inc(x_8); x_9 = lean_box(0); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); if (x_10 == 0) { lean_object* x_11; @@ -3687,7 +3687,7 @@ x_6 = lean_apply_2(x_1, x_2, x_3); x_7 = lean_ctor_get(x_6, 4); lean_inc(x_7); x_8 = lean_box(0); -x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); if (x_9 == 0) { lean_object* x_10; uint8_t x_11; @@ -3890,7 +3890,7 @@ x_10 = lean_apply_2(x_1, x_2, x_6); x_11 = lean_ctor_get(x_10, 4); lean_inc(x_11); x_12 = lean_box(0); -x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); +x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); if (x_13 == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -3957,7 +3957,7 @@ x_10 = lean_apply_2(x_1, x_6, x_7); x_11 = lean_ctor_get(x_10, 4); lean_inc(x_11); x_12 = lean_box(0); -x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); +x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); if (x_13 == 0) { lean_object* x_14; uint8_t x_15; @@ -4362,7 +4362,7 @@ x_5 = lean_apply_2(x_1, x_3, x_4); x_6 = lean_ctor_get(x_5, 4); lean_inc(x_6); x_7 = lean_box(0); -x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7); +x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7); if (x_8 == 0) { lean_dec(x_2); @@ -5168,7 +5168,7 @@ x_6 = lean_apply_2(x_1, x_3, x_4); x_7 = lean_ctor_get(x_6, 4); lean_inc(x_7); x_8 = lean_box(0); -x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); if (x_9 == 0) { lean_dec(x_5); @@ -5673,7 +5673,7 @@ lean_object* x_5; lean_object* x_6; uint8_t x_7; x_5 = lean_ctor_get(x_4, 4); lean_inc(x_5); x_6 = lean_box(0); -x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6); +x_7 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_5, x_6); if (x_7 == 0) { lean_dec(x_3); @@ -5755,7 +5755,7 @@ lean_object* x_14; uint8_t x_15; x_14 = lean_ctor_get(x_3, 4); lean_inc(x_14); lean_dec(x_3); -x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_13); +x_15 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_14, x_13); if (x_15 == 0) { lean_dec(x_9); @@ -5804,7 +5804,7 @@ lean_inc(x_2); x_28 = l_Lean_Parser_quotedCharCoreFn(x_27, x_2, x_10); x_29 = lean_ctor_get(x_28, 4); lean_inc(x_29); -x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_13); +x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_29, x_13); if (x_30 == 0) { lean_dec(x_5); @@ -6814,7 +6814,7 @@ x_11 = lean_ctor_get(x_10, 3); lean_inc(x_11); lean_dec(x_10); lean_inc(x_9); -x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(x_11, x_2); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(x_11, x_2); lean_dec(x_2); lean_dec(x_11); if (x_12 == 0) @@ -6880,7 +6880,7 @@ lean_dec(x_29); lean_inc(x_28); x_31 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_31, 0, x_28); -x_32 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(x_30, x_31); +x_32 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(x_30, x_31); lean_dec(x_31); lean_dec(x_30); if (x_32 == 0) @@ -7219,7 +7219,7 @@ x_8 = lean_box(0); x_9 = l_Lean_Parser_identFnAux_parse(x_1, x_6, x_8, x_2, x_7); x_10 = lean_ctor_get(x_9, 4); lean_inc(x_10); -x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_10, x_6); +x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_10, x_6); if (x_11 == 0) { return x_9; @@ -7771,7 +7771,7 @@ x_6 = l_Lean_Parser_tokenFn(x_2, x_3, x_4); x_7 = lean_ctor_get(x_6, 4); lean_inc(x_7); x_8 = lean_box(0); -x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); +x_9 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_7, x_8); if (x_9 == 0) { lean_dec(x_5); @@ -8083,7 +8083,7 @@ x_7 = l_Lean_Parser_tokenFn(x_6, x_3, x_4); x_8 = lean_ctor_get(x_7, 4); lean_inc(x_8); x_9 = lean_box(0); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); if (x_10 == 0) { lean_dec(x_2); @@ -8939,7 +8939,7 @@ x_7 = l_Lean_Parser_tokenFn(x_6, x_3, x_4); x_8 = lean_ctor_get(x_7, 4); lean_inc(x_8); x_9 = lean_box(0); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); if (x_10 == 0) { lean_dec(x_2); @@ -9383,7 +9383,7 @@ x_5 = l_Lean_Parser_tokenFn(x_4, x_2, x_3); x_6 = lean_ctor_get(x_5, 4); lean_inc(x_6); x_7 = lean_box(0); -x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7); +x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7); if (x_8 == 0) { lean_dec(x_1); @@ -10073,7 +10073,7 @@ lean_object* x_11; lean_object* x_12; uint8_t x_13; x_11 = lean_ctor_get(x_6, 4); lean_inc(x_11); x_12 = lean_box(0); -x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); +x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); if (x_13 == 0) { lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -23634,7 +23634,7 @@ x_8 = lean_apply_2(x_7, x_2, x_1); x_9 = lean_ctor_get(x_8, 4); lean_inc(x_9); x_10 = lean_box(0); -x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_10); +x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_9, x_10); if (x_11 == 0) { lean_object* x_12; @@ -23660,7 +23660,7 @@ lean_object* x_3; lean_object* x_4; uint8_t x_5; x_3 = lean_ctor_get(x_2, 4); lean_inc(x_3); x_4 = lean_box(0); -x_5 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_3, x_4); +x_5 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_3, x_4); if (x_5 == 0) { lean_dec(x_1); @@ -24321,7 +24321,7 @@ x_7 = lean_apply_2(x_2, x_3, x_4); x_8 = lean_ctor_get(x_7, 4); lean_inc(x_8); x_9 = lean_box(0); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); if (x_10 == 0) { lean_object* x_11; @@ -24362,7 +24362,7 @@ x_7 = lean_apply_2(x_6, x_4, x_5); x_8 = lean_ctor_get(x_7, 4); lean_inc(x_8); x_9 = lean_box(0); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); if (x_10 == 0) { lean_dec(x_4); @@ -24617,7 +24617,7 @@ x_17 = l_Lean_Parser_tokenFn(x_16, x_3, x_4); x_18 = lean_ctor_get(x_17, 4); lean_inc(x_18); x_19 = lean_box(0); -x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_19); +x_20 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_18, x_19); if (x_20 == 0) { lean_dec(x_14); @@ -24651,7 +24651,7 @@ lean_dec(x_8); x_11 = lean_ctor_get(x_9, 4); lean_inc(x_11); x_12 = lean_box(0); -x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); +x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); if (x_13 == 0) { lean_dec(x_10); @@ -24760,7 +24760,7 @@ x_11 = l_Lean_Parser_trailingLoopStep(x_2, x_9, x_3, x_4, x_10); x_12 = lean_ctor_get(x_11, 4); lean_inc(x_12); x_13 = lean_box(0); -x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_13); +x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_12, x_13); if (x_14 == 0) { lean_object* x_15; uint8_t x_16; @@ -24856,7 +24856,7 @@ lean_dec(x_8); x_11 = lean_ctor_get(x_9, 4); lean_inc(x_11); x_12 = lean_box(0); -x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); +x_13 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_11, x_12); if (x_13 == 0) { lean_object* x_14; @@ -24915,7 +24915,7 @@ x_7 = l_Lean_Parser_leadingParser(x_1, x_2, x_3, x_4, x_5, x_6); x_8 = lean_ctor_get(x_7, 4); lean_inc(x_8); x_9 = lean_box(0); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); if (x_10 == 0) { lean_dec(x_5); diff --git a/stage0/stdlib/Lean/Parser/Extension.c b/stage0/stdlib/Lean/Parser/Extension.c index 3ebee80cd3b2..9285b5a991b2 100644 --- a/stage0/stdlib/Lean/Parser/Extension.c +++ b/stage0/stdlib/Lean/Parser/Extension.c @@ -344,6 +344,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_Parser LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_4843_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_declareTrailingBuiltinParser(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_reprParserName____x40_Lean_Parser_Extension___hyg_7816____closed__3; +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_50____closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_ensureConstantParserAlias(lean_object*, lean_object*); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_7241____closed__4; @@ -559,7 +560,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_parserOfStack___elambda__1(lean_object*, lean_object* l_Lean_Parser_initCacheForInput(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instReprParserName; LEAN_EXPORT lean_object* l_Lean_Parser_getSyntaxKindOfParserAlias_x3f(lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___lambda__3___closed__2; static lean_object* l___private_Lean_Parser_Extension_0__Lean_Parser_BuiltinParserAttribute_add___closed__4; lean_object* l_Lean_RBNode_find___at_Lean_findDeclarationRanges_x3f___spec__1(lean_object*, lean_object*); @@ -9572,7 +9572,7 @@ x_14 = l_Lean_Parser_ParserFn_run(x_7, x_8, x_11, x_12, x_13); x_15 = lean_ctor_get(x_14, 4); lean_inc(x_15); x_16 = lean_box(0); -x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_16); +x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_15, x_16); if (x_17 == 0) { lean_object* x_18; lean_object* x_19; @@ -15675,7 +15675,7 @@ x_47 = l_Lean_Parser_adaptUncacheableContextFn(x_46, x_45, x_4, x_3); x_48 = lean_ctor_get(x_47, 4); lean_inc(x_48); x_49 = lean_box(0); -x_50 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_48, x_49); +x_50 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_48, x_49); if (x_50 == 0) { lean_dec(x_44); diff --git a/stage0/stdlib/Lean/Parser/Module.c b/stage0/stdlib/Lean/Parser/Module.c index 3311680bec31..d1f6164c05d8 100644 --- a/stage0/stdlib/Lean/Parser/Module.c +++ b/stage0/stdlib/Lean/Parser/Module.c @@ -50,6 +50,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_testParseModuleAux(lean_object*, lean_obj lean_object* l_Lean_Parser_leadingNode(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__14; lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Module_prelude_formatter___closed__2; static lean_object* l_Lean_Parser_Module_prelude___closed__2; @@ -68,17 +69,20 @@ lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Module_import; lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_import_formatter___closed__13; static lean_object* l_Lean_Parser_Module_import_formatter___closed__2; lean_object* l_Lean_Syntax_updateLeading(lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Parser_parseCommand___spec__1___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Parser_isTerminalCommand___closed__1; static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__5; +lean_object* l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___boxed(lean_object*); static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Parser_parseCommand___spec__1___lambda__4___closed__1; static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_ModuleParserState_pos___default; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Parser_parseCommand___spec__1___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_import_formatter___closed__10; LEAN_EXPORT lean_object* l_Lean_MessageLog_forM___at_Lean_Parser_testParseModuleAux_parse___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_header___closed__8; static lean_object* l_Lean_Parser_Module_prelude___closed__4; @@ -107,11 +111,13 @@ lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_objec uint8_t l_Lean_Syntax_isAntiquot(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_prelude_parenthesizer___closed__2; LEAN_EXPORT uint8_t l_Lean_Parser_isTerminalCommand(lean_object*); static lean_object* l_Lean_Parser_Module_header_formatter___closed__9; static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_consumeInput___closed__2; static lean_object* l_Lean_Parser_Module_import_formatter___closed__6; +static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__9; lean_object* l_Lean_Parser_ident_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Module_module_formatter(lean_object*); static lean_object* l_Lean_Parser_Module_prelude___closed__3; @@ -120,6 +126,7 @@ static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage static lean_object* l_Lean_Parser_Module_header___closed__2; static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Module_module___closed__7; +static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__10; static lean_object* l_Lean_Parser_Module_header_formatter___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_testParseModuleAux_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_prelude_parenthesizer___closed__1; @@ -132,8 +139,10 @@ lean_object* l_Lean_Parser_mkParserState(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Module_prelude_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Module_import_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_import_formatter___closed__9; static lean_object* l_Lean_Parser_Module_module___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_testParseModuleAux_parse___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_import_formatter___closed__11; lean_object* l_Lean_Parser_tokenFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_prelude_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__1; @@ -154,17 +163,21 @@ static lean_object* l_Lean_Parser_Module_module_formatter___closed__9; uint8_t l_Lean_Syntax_isMissing(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Module_prelude_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Module_header_formatter___closed__1; +static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__11; +lean_object* l_Lean_Parser_checkNoWsBefore(lean_object*); static lean_object* l_Lean_Parser_Module_module___closed__4; static lean_object* l_Lean_Parser_Module_header_formatter___closed__2; static lean_object* l_Lean_Parser_isTerminalCommand___closed__2; lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Module_prelude_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Module_import___closed__19; static lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_import___closed__9; lean_object* l_Lean_Parser_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailInfo(lean_object*); +static lean_object* l_Lean_Parser_Module_import___closed__22; static lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__4; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__5; @@ -185,6 +198,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Module_module_formatter___closed_ lean_object* l_Lean_Parser_symbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_testParseFile(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_header___closed__3; +static lean_object* l_Lean_Parser_Module_import_formatter___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedModuleParserState; lean_object* l_Lean_Parser_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_header___closed__12; @@ -199,6 +213,7 @@ lean_object* l_IO_FS_readFile(lean_object*, lean_object*); lean_object* l_Lean_Parser_many(lean_object*); static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__2; static lean_object* l_panic___at_Lean_Parser_Module_updateTokens___spec__1___closed__1; +static lean_object* l_Lean_Parser_Module_import___closed__16; LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lambda__2___boxed(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*); static lean_object* l_Lean_Parser_Module_import___closed__3; @@ -213,9 +228,12 @@ static lean_object* l_Lean_Parser_Module_import___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Module_import_parenthesizer(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__1; +static lean_object* l_Lean_Parser_Module_import___closed__18; +static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__12; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_prelude___closed__8; static lean_object* l_Lean_Parser_Module_import___closed__8; +static lean_object* l_Lean_Parser_Module_import_formatter___closed__14; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_module_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Module_header_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -235,6 +253,7 @@ static lean_object* l_Lean_Loop_forIn_loop___at_Lean_Parser_parseCommand___spec_ static lean_object* l_Lean_Parser_Module_header___closed__6; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI(lean_object*); +static lean_object* l_Lean_Parser_Module_import___closed__15; lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_header_parenthesizer___closed__8; uint8_t l_Lean_Parser_SyntaxStack_isEmpty(lean_object*); @@ -252,13 +271,16 @@ LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Parser_parseCommand___ static lean_object* l_Lean_Parser_Module_import_formatter___closed__8; static lean_object* l_Lean_Parser_testParseModuleAux_parse___closed__2; static lean_object* l_Lean_Parser_Module_import_formatter___closed__3; +static lean_object* l_Lean_Parser_Module_import___closed__14; static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Parser_parseCommand___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseModuleAux_parse___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Loop_forIn_loop___at_Lean_Parser_parseCommand___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_testParseModule___closed__1; +static lean_object* l_Lean_Parser_Module_import_formatter___closed__15; static lean_object* l_Lean_Parser_parseHeader___closed__2; +static lean_object* l_Lean_Parser_Module_import___closed__21; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t, uint8_t); static lean_object* l___regBuiltin_Lean_Parser_Module_import_parenthesizer___closed__1; static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lambda__2___closed__3; @@ -270,6 +292,7 @@ static lean_object* l_Lean_Parser_Module_module_formatter___closed__5; extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__3; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__15; lean_object* lean_string_append(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Parser_Module_import___closed__12; @@ -277,6 +300,7 @@ static lean_object* l_Lean_Parser_Module_import___closed__13; static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_consumeInput___closed__1; static lean_object* l_Lean_Parser_Module_header___closed__4; lean_object* l_Lean_Parser_whitespace(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_import___closed__17; LEAN_EXPORT lean_object* l_Lean_Parser_parseHeader(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_header_formatter___closed__8; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -290,6 +314,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Parser_testParseMod lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_module_formatter___closed__6; static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Module_import___closed__20; LEAN_EXPORT lean_object* l_Lean_Parser_Module_module_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Module_prelude_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lambda__1___closed__1; @@ -311,6 +336,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Module_prelude; static lean_object* l_Lean_Parser_Module_module___closed__6; static lean_object* l_Lean_Parser_Module_import_formatter___closed__7; static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__6; +static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__13; lean_object* l_Lean_Message_toString(lean_object*, uint8_t, lean_object*); static lean_object* _init_l_Lean_Parser_Module_prelude___closed__1() { _start: @@ -494,50 +520,133 @@ return x_2; static lean_object* _init_l_Lean_Parser_Module_import___closed__9() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("no space before", 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import___closed__9; +x_2 = l_Lean_Parser_checkNoWsBefore(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(".", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import___closed__11; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__13() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Module_import___closed__8; +x_1 = l_Lean_Parser_Module_import___closed__10; x_2 = l_Lean_Parser_ident; x_3 = l_Lean_Parser_andthen(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Module_import___closed__10() { +static lean_object* _init_l_Lean_Parser_Module_import___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import___closed__12; +x_2 = l_Lean_Parser_Module_import___closed__13; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import___closed__10; +x_2 = l_Lean_Parser_Module_import___closed__14; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import___closed__15; +x_2 = l_Lean_Parser_optional(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_ident; +x_2 = l_Lean_Parser_Module_import___closed__16; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import___closed__8; +x_2 = l_Lean_Parser_Module_import___closed__17; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import___closed__5; -x_2 = l_Lean_Parser_Module_import___closed__9; +x_2 = l_Lean_Parser_Module_import___closed__18; x_3 = l_Lean_Parser_andthen(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Module_import___closed__11() { +static lean_object* _init_l_Lean_Parser_Module_import___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Module_import___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Module_import___closed__10; +x_3 = l_Lean_Parser_Module_import___closed__19; x_4 = l_Lean_Parser_leadingNode(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Module_import___closed__12() { +static lean_object* _init_l_Lean_Parser_Module_import___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import___closed__3; -x_2 = l_Lean_Parser_Module_import___closed__11; +x_2 = l_Lean_Parser_Module_import___closed__20; x_3 = l_Lean_Parser_withAntiquot(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Module_import___closed__13() { +static lean_object* _init_l_Lean_Parser_Module_import___closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import___closed__2; -x_2 = l_Lean_Parser_Module_import___closed__12; +x_2 = l_Lean_Parser_Module_import___closed__21; x_3 = l_Lean_Parser_withCache(x_1, x_2); return x_3; } @@ -546,7 +655,7 @@ static lean_object* _init_l_Lean_Parser_Module_import() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Module_import___closed__13; +x_1 = l_Lean_Parser_Module_import___closed__22; return x_1; } } @@ -831,42 +940,118 @@ return x_2; static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__5() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import___closed__11; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_checkNoWsBefore_formatter___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__7() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ident_formatter), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__6() { +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import_formatter___closed__6; +x_2 = l_Lean_Parser_Module_import_formatter___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import_formatter___closed__5; +x_2 = l_Lean_Parser_Module_import_formatter___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import_formatter___closed__6; +x_2 = l_Lean_Parser_Module_import_formatter___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import_formatter___closed__10; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import_formatter___closed__7; +x_2 = l_Lean_Parser_Module_import_formatter___closed__11; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import_formatter___closed__4; -x_2 = l_Lean_Parser_Module_import_formatter___closed__5; +x_2 = l_Lean_Parser_Module_import_formatter___closed__12; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__7() { +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import_formatter___closed__2; -x_2 = l_Lean_Parser_Module_import_formatter___closed__6; +x_2 = l_Lean_Parser_Module_import_formatter___closed__13; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__8() { +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Module_import___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Module_import_formatter___closed__7; +x_3 = l_Lean_Parser_Module_import_formatter___closed__14; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -879,7 +1064,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Module_import_formatter(lean_object* x_1, { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Module_import_formatter___closed__1; -x_7 = l_Lean_Parser_Module_import_formatter___closed__8; +x_7 = l_Lean_Parser_Module_import_formatter___closed__15; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -1368,42 +1553,118 @@ return x_2; static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__5() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import___closed__11; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_checkNoWsBefore_parenthesizer___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__7() { +_start: +{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_ident_parenthesizer), 5, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__6() { +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__5; +x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__10; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__7; +x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__11; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__5; +x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__12; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__7() { +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__13; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__8() { +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Module_import___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Module_import_parenthesizer___closed__7; +x_3 = l_Lean_Parser_Module_import_parenthesizer___closed__14; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -1416,7 +1677,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Module_import_parenthesizer(lean_object* { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Module_import_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Module_import_parenthesizer___closed__8; +x_7 = l_Lean_Parser_Module_import_parenthesizer___closed__15; x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -1896,13 +2157,14 @@ return x_1; static lean_object* _init_l_Lean_Parser_Module_updateTokens___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Parser_Module_updateTokens___closed__1; x_2 = l_Lean_Parser_Module_updateTokens___closed__2; -x_3 = lean_unsigned_to_nat(26u); -x_4 = l_Lean_Parser_Module_updateTokens___closed__3; -x_5 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_3, x_4); -return x_5; +x_3 = lean_unsigned_to_nat(30u); +x_4 = lean_unsigned_to_nat(26u); +x_5 = l_Lean_Parser_Module_updateTokens___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; } } LEAN_EXPORT lean_object* l_Lean_Parser_Module_updateTokens(lean_object* x_1) { @@ -4555,6 +4817,24 @@ l_Lean_Parser_Module_import___closed__12 = _init_l_Lean_Parser_Module_import___c lean_mark_persistent(l_Lean_Parser_Module_import___closed__12); l_Lean_Parser_Module_import___closed__13 = _init_l_Lean_Parser_Module_import___closed__13(); lean_mark_persistent(l_Lean_Parser_Module_import___closed__13); +l_Lean_Parser_Module_import___closed__14 = _init_l_Lean_Parser_Module_import___closed__14(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__14); +l_Lean_Parser_Module_import___closed__15 = _init_l_Lean_Parser_Module_import___closed__15(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__15); +l_Lean_Parser_Module_import___closed__16 = _init_l_Lean_Parser_Module_import___closed__16(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__16); +l_Lean_Parser_Module_import___closed__17 = _init_l_Lean_Parser_Module_import___closed__17(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__17); +l_Lean_Parser_Module_import___closed__18 = _init_l_Lean_Parser_Module_import___closed__18(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__18); +l_Lean_Parser_Module_import___closed__19 = _init_l_Lean_Parser_Module_import___closed__19(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__19); +l_Lean_Parser_Module_import___closed__20 = _init_l_Lean_Parser_Module_import___closed__20(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__20); +l_Lean_Parser_Module_import___closed__21 = _init_l_Lean_Parser_Module_import___closed__21(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__21); +l_Lean_Parser_Module_import___closed__22 = _init_l_Lean_Parser_Module_import___closed__22(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__22); l_Lean_Parser_Module_import = _init_l_Lean_Parser_Module_import(); lean_mark_persistent(l_Lean_Parser_Module_import); l_Lean_Parser_Module_header___closed__1 = _init_l_Lean_Parser_Module_header___closed__1(); @@ -4616,6 +4896,20 @@ l_Lean_Parser_Module_import_formatter___closed__7 = _init_l_Lean_Parser_Module_i lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__7); l_Lean_Parser_Module_import_formatter___closed__8 = _init_l_Lean_Parser_Module_import_formatter___closed__8(); lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__8); +l_Lean_Parser_Module_import_formatter___closed__9 = _init_l_Lean_Parser_Module_import_formatter___closed__9(); +lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__9); +l_Lean_Parser_Module_import_formatter___closed__10 = _init_l_Lean_Parser_Module_import_formatter___closed__10(); +lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__10); +l_Lean_Parser_Module_import_formatter___closed__11 = _init_l_Lean_Parser_Module_import_formatter___closed__11(); +lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__11); +l_Lean_Parser_Module_import_formatter___closed__12 = _init_l_Lean_Parser_Module_import_formatter___closed__12(); +lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__12); +l_Lean_Parser_Module_import_formatter___closed__13 = _init_l_Lean_Parser_Module_import_formatter___closed__13(); +lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__13); +l_Lean_Parser_Module_import_formatter___closed__14 = _init_l_Lean_Parser_Module_import_formatter___closed__14(); +lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__14); +l_Lean_Parser_Module_import_formatter___closed__15 = _init_l_Lean_Parser_Module_import_formatter___closed__15(); +lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__15); l___regBuiltin_Lean_Parser_Module_import_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Module_import_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Module_import_formatter___closed__1); l___regBuiltin_Lean_Parser_Module_import_formatter___closed__2 = _init_l___regBuiltin_Lean_Parser_Module_import_formatter___closed__2(); @@ -4706,6 +5000,20 @@ l_Lean_Parser_Module_import_parenthesizer___closed__7 = _init_l_Lean_Parser_Modu lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__7); l_Lean_Parser_Module_import_parenthesizer___closed__8 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__8(); lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__8); +l_Lean_Parser_Module_import_parenthesizer___closed__9 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__9(); +lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__9); +l_Lean_Parser_Module_import_parenthesizer___closed__10 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__10(); +lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__10); +l_Lean_Parser_Module_import_parenthesizer___closed__11 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__11(); +lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__11); +l_Lean_Parser_Module_import_parenthesizer___closed__12 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__12(); +lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__12); +l_Lean_Parser_Module_import_parenthesizer___closed__13 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__13(); +lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__13); +l_Lean_Parser_Module_import_parenthesizer___closed__14 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__14(); +lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__14); +l_Lean_Parser_Module_import_parenthesizer___closed__15 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__15(); +lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__15); l___regBuiltin_Lean_Parser_Module_import_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Module_import_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Module_import_parenthesizer___closed__1); l___regBuiltin_Lean_Parser_Module_import_parenthesizer___closed__2 = _init_l___regBuiltin_Lean_Parser_Module_import_parenthesizer___closed__2(); diff --git a/stage0/stdlib/Lean/Parser/StrInterpolation.c b/stage0/stdlib/Lean/Parser/StrInterpolation.c index eb8658d542d0..1133c2de8923 100644 --- a/stage0/stdlib/Lean/Parser/StrInterpolation.c +++ b/stage0/stdlib/Lean/Parser/StrInterpolation.c @@ -33,6 +33,7 @@ static lean_object* l_Lean_Parser_interpolatedStrNoAntiquot___closed__2; static lean_object* l_Lean_Parser_interpolatedStrFn_parse___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_interpolatedStrNoAntiquot(lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); lean_object* l_Lean_Parser_withoutPosition___lambda__1(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); @@ -45,7 +46,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_interpolatedStrFn(lean_object*, lean_obje lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); static lean_object* l_Lean_Parser_interpolatedStrFn_parse___closed__2; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Parser_interpolatedStrFn_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_interpolatedStrFn_parse___closed__8; @@ -198,7 +198,7 @@ x_21 = lean_apply_2(x_1, x_5, x_20); x_22 = lean_ctor_get(x_21, 4); lean_inc(x_22); x_23 = lean_box(0); -x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_22, x_23); +x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_22, x_23); if (x_24 == 0) { lean_dec(x_5); diff --git a/stage0/stdlib/Lean/Parser/Types.c b/stage0/stdlib/Lean/Parser/Types.c index 050a818f2c18..c3fcfcf7605f 100644 --- a/stage0/stdlib/Lean/Parser/Types.c +++ b/stage0/stdlib/Lean/Parser/Types.c @@ -16,7 +16,6 @@ extern "C" { static lean_object* l_Lean_Parser_SyntaxStack_back___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_restore___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_withCacheFn___lambda__2___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserInfo; lean_object* lean_format_pretty(lean_object*, lean_object*); static lean_object* l_Lean_Parser_instInhabitedParserInfo___closed__1; @@ -59,9 +58,11 @@ lean_object* l_Array_qpartition___rarg(lean_object*, lean_object*, lean_object*, size_t lean_usize_mul(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Parser_withCache___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_SyntaxStack_size(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_mkIdent(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserModuleContext_currNamespace___default; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkErrorsAt___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Parser_withCacheFn___spec__2___boxed(lean_object*, lean_object*); @@ -72,6 +73,7 @@ static lean_object* l_Lean_Parser_Parser_info___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Error_instToStringError; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_adaptUncacheableContextFn___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserFn(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkNode___boxed(lean_object*, lean_object*, lean_object*); @@ -106,7 +108,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Parser_Syntax static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__2___closed__1; LEAN_EXPORT uint8_t l___private_Lean_Parser_Types_0__Lean_Parser_beqError____x40_Lean_Parser_Types___hyg_499_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_popSyntax(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Parser_SyntaxStack_back___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_stackSize___boxed(lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); @@ -121,10 +123,10 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Parser_withCacheFn___spec__10(lean_ob LEAN_EXPORT lean_object* l_Lean_Parser_instBEqCacheableParserContext; LEAN_EXPORT lean_object* l_Lean_Parser_Parser_info___default___elambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkUnexpectedError___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_toErrorMsg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Error_toString___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkErrorAt(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_ParserState_mkEOIError___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_SyntaxStack_push(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Parser_ParserState_hasError(lean_object*); @@ -153,6 +155,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkUnexpectedTokenErrors(lean_ LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_shrinkStack___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_SyntaxStack_toSubarray(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Parser_initCacheForInput___spec__1___boxed(lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_CacheableParserContext_forbiddenTk_x3f___default; LEAN_EXPORT lean_object* l_Lean_Parser_withCacheFn___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_hasError___boxed(lean_object*); @@ -161,7 +164,6 @@ uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_CacheableParserContext_quotDepth___default; LEAN_EXPORT lean_object* l_Lean_Parser_CacheableParserContext_savedPos_x3f___default; static lean_object* l_Lean_Parser_SyntaxStack_get_x21___closed__3; -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Parser_withCacheFn___spec__10___closed__1; static lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1___closed__3; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -230,7 +232,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_P LEAN_EXPORT lean_object* l_Lean_Parser_SyntaxStack_get_x21___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_TokenCacheEntry_stopPos___default; uint64_t l_Lean_Name_hash___override(lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(lean_object*, lean_object*); static lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1___closed__2; lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_pos___default; @@ -244,7 +245,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_instBEqError; LEAN_EXPORT lean_object* l_Lean_Parser_initCacheForInput(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_withResetCacheFn(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_maxPrec; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -1095,7 +1095,7 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1132,7 +1132,7 @@ return x_8; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1240,7 +1240,7 @@ goto block_17; { uint8_t x_14; lean_dec(x_13); -x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(x_6, x_11); +x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(x_6, x_11); if (x_14 == 0) { uint8_t x_15; @@ -1250,28 +1250,28 @@ return x_15; else { uint8_t x_16; -x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(x_7, x_12); +x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(x_7, x_12); return x_16; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Parser_Types_0__Lean_Parser_beqCacheableParserContext____x40_Lean_Parser_Types___hyg_235____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -2462,7 +2462,7 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2513,7 +2513,7 @@ x_2 = lean_ctor_get(x_1, 4); lean_inc(x_2); lean_dec(x_1); x_3 = lean_box(0); -x_4 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_2, x_3); +x_4 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_2, x_3); if (x_4 == 0) { uint8_t x_5; @@ -2528,11 +2528,11 @@ return x_6; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_1, x_2); x_4 = lean_box(x_3); return x_4; } @@ -2957,7 +2957,7 @@ x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_1, 4); x_7 = lean_box(0); lean_inc(x_6); -x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7); +x_8 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_6, x_7); if (x_8 == 0) { lean_object* x_9; uint8_t x_10; @@ -3022,7 +3022,7 @@ lean_inc(x_24); lean_dec(x_1); x_29 = lean_box(0); lean_inc(x_28); -x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_29); +x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Parser_ParserState_hasError___spec__1(x_28, x_29); if (x_30 == 0) { lean_object* x_31; uint8_t x_32; diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c index be1bfb3eaea0..a303b1dd5114 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingName_x21(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__8; LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1(lean_object*); @@ -25,16 +26,18 @@ LEAN_EXPORT uint8_t l_Lean_PrettyPrinter_Delaborator_getUnusedName_bodyUsesSugge static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__6; LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___at_Lean_PrettyPrinter_delabCore___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM; +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__9; lean_object* l_Lean_RBNode_insert___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_annotateBoolAt___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_addTermInfo___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_PrettyPrinter_Delaborator_instMonadStateOfHoleIteratorDelabM___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__11; static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__5; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__6; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_delabCore___closed__2; uint8_t l_Lean_Options_getInPattern(lean_object*); -static lean_object* l_Lean_PrettyPrinter_delabCore___lambda__4___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__9; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName_bodyUsesSuggestion___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -50,7 +53,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed_ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_init___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__1; uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); static lean_object* l_Lean_PrettyPrinter_delabCore___closed__3; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -60,14 +62,13 @@ lean_object* l_Lean_Core_checkSystem(lean_object*, lean_object*, lean_object*, l static lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__6; static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__8; uint8_t l_Lean_Name_isAnonymous(lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__4; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__14; static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadReaderOfSubExprDelabM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName___closed__1; lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__8; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPAnalyzeTypeAscriptions___boxed(lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -77,19 +78,24 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getOptionsAtCurrPos___ lean_object* l_Lean_Elab_addConstInfo___at_Lean_registerInitAttrUnsafe___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PrettyPrinter_Delaborator_Context_inPattern___default; static lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__3; -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__12; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__2; lean_object* l_Lean_getPPAnalysisNeedsType___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829_(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_topDownAnalyze(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_getPPBeta(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___lambda__2___closed__1; lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__1; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_withOptionAtCurrPos___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__14; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_State_holeIter___default; uint8_t l_Lean_LocalContext_usesUserName(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__7; +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__8; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__18; static lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_90____closed__1; @@ -99,7 +105,6 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute(lean_ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAtomic(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadWithReaderOfSubExprDelabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__14; static lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__3; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadStateOfHoleIteratorDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_SubExpr_Pos_maxChildren; @@ -107,7 +112,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withType___at_Lean_PrettyPrinter_Delaborator_delab___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_PrettyPrinter_Delaborator_addTermInfo___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_delabCore___lambda__1___closed__1; -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__13; lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_registerInitAttrUnsafe___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName___closed__3; static lean_object* l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM___closed__1; @@ -142,7 +146,6 @@ LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_inst LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName_bodyUsesSuggestion___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__16; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__10; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PrettyPrinter_Delaborator_getUnusedName_bodyUsesSuggestion___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerInternalExceptionId(lean_object*, lean_object*); @@ -157,12 +160,10 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadStateOfHoleIt static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__7; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767_(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_addTermInfo(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instOrElseDelabM(lean_object*); lean_object* l_ReaderT_instMonadLiftReaderT(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__9; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__10; @@ -181,24 +182,25 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadWithReaderOfS LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_annotateTermInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__7; static lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__7; -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__5; static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__2; lean_object* l_Lean_Name_getRoot(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__11; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabFor___closed__1; lean_object* l_Lean_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec__1(lean_object*, lean_object*, uint8_t); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_State_infos___default; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_delabCore___closed__6; static lean_object* l_Lean_PrettyPrinter_Delaborator_addTermInfo_mkTermInfo___closed__1; uint8_t lean_name_eq(lean_object*, lean_object*); +lean_object* l_Lean_Core_betaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__16; +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__15; +static lean_object* l_Lean_PrettyPrinter_delabCore___lambda__3___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__2; @@ -207,6 +209,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_annotateTermInfo(lean_ static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__4; lean_object* lean_mk_syntax_ident(lean_object*); extern lean_object* l_Lean_Meta_instMonadMetaM; +static lean_object* l_Lean_PrettyPrinter_delabCore___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__7; lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -219,7 +222,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos(lean_objec static lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__4; lean_object* l_Lean_SubExpr_Pos_push(lean_object*, lean_object*); uint8_t l_Lean_Expr_binderInfo(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__5; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_90_(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__12; lean_object* l_Lean_LocalDecl_userName(lean_object*); @@ -230,6 +233,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore(lean_object*, lean_objec lean_object* l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_FindImpl_findUnsafe_x3f(lean_object*, lean_object*); lean_object* l_Lean_instMonadQuotation___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__6; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabFailureId; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___spec__3___rarg___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*); @@ -238,11 +242,10 @@ LEAN_EXPORT lean_object* l_List_firstM___at_Lean_PrettyPrinter_Delaborator_delab static lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadStateOfHoleIteratorDelabM___closed__1; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__3; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__1; uint8_t l_Lean_Name_isAtomic(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__4(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_delabCore___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_delabCore___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_State_holeIter___default___closed__1; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getOptionsAtCurrPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -256,6 +259,7 @@ lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__10; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_failure___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___spec__3(lean_object*); +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__10; lean_object* l_Lean_getPPProofsWithType___boxed(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); extern lean_object* l_Lean_pp_proofs; @@ -266,6 +270,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___clo static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__12; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadReaderOfSubExprDelabM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadStateOfHoleIteratorDelabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__12; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_delabCore___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -296,6 +301,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getOptionsAtCurrPos___ static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__9; static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__5; +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadStateOfHoleIteratorDelabM___closed__3; lean_object* l_Lean_Meta_erasePatternRefAnnotations___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__13; @@ -307,7 +313,7 @@ lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__11; uint8_t l_Lean_getPPAll(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getOptionsAtCurrPos___closed__1; -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__15; +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__3; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -320,19 +326,18 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__3; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_getOptionsAtCurrPos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_addFieldInfo_mkFieldInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__7; lean_object* l_Lean_KeyedDeclsAttribute_getValues___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isTracingEnabledFor___at_Lean_Meta_processPostponed_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__3(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_delabCore___lambda__3(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_annotateCurPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__15; uint8_t l_Lean_Expr_isMData(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__2; static lean_object* l_Lean_PrettyPrinter_delabCore___lambda__1___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__6; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_whenNotPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_delabCore___lambda__5___closed__1; lean_object* lean_expr_dbg_to_string(lean_object*); lean_object* l_Lean_LocalContext_getUnusedName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_appUnexpanderAttribute; @@ -342,17 +347,19 @@ uint8_t l_Lean_Exception_isRuntime(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__13; static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__5; +static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__13; lean_object* l_Lean_MessageData_ofName(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_whenPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__5(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_addTermInfo_mkTermInfo(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_withOptionAtCurrPos(lean_object*); lean_object* l_Lean_Meta_isProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Core_betaReduce___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_instAlternativeDelabM___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__14; static lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadStateOfHoleIteratorDelabM___closed__4; -static lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__6; static lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__5; static uint8_t _init_l_Lean_PrettyPrinter_Delaborator_Context_inPattern___default() { _start: @@ -9173,7 +9180,7 @@ return x_15; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -9275,7 +9282,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_delabCore___lambda__1___closed__5 lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_PrettyPrinter_delabCore___lambda__1___closed__2; x_2 = l_Lean_PrettyPrinter_delabCore___lambda__1___closed__3; -x_3 = lean_unsigned_to_nat(306u); +x_3 = lean_unsigned_to_nat(307u); x_4 = lean_unsigned_to_nat(18u); x_5 = l_Lean_PrettyPrinter_delabCore___lambda__1___closed__4; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -9812,7 +9819,84 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +static lean_object* _init_l_Lean_PrettyPrinter_delabCore___lambda__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Core_betaReduce___lambda__1___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_delabCore___lambda__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Core_betaReduce___lambda__2___boxed), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; +x_10 = l_Lean_getPPBeta(x_1); +if (x_10 == 0) +{ +lean_object* x_11; +x_11 = l_Lean_PrettyPrinter_delabCore___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l_Lean_PrettyPrinter_delabCore___lambda__3___closed__1; +x_13 = l_Lean_PrettyPrinter_delabCore___lambda__3___closed__2; +lean_inc(x_8); +lean_inc(x_7); +x_14 = l_Lean_Core_transform___at_Lean_Core_betaReduce___spec__1(x_4, x_12, x_13, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_PrettyPrinter_delabCore___lambda__2(x_1, x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_16); +return x_17; +} +else +{ +uint8_t x_18; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; uint8_t x_12; @@ -9829,7 +9913,7 @@ lean_ctor_set(x_8, 2, x_4); if (x_11 == 0) { lean_object* x_14; -x_14 = l_Lean_PrettyPrinter_delabCore___lambda__2(x_4, x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_4, x_1, x_2, x_3, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); return x_14; } @@ -9842,7 +9926,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_PrettyPrinter_delabCore___lambda__2(x_4, x_1, x_2, x_16, x_6, x_7, x_8, x_9, x_17); +x_18 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_4, x_1, x_2, x_16, x_6, x_7, x_8, x_9, x_17); lean_dec(x_4); return x_18; } @@ -9889,7 +9973,7 @@ lean_ctor_set_uint8(x_30, sizeof(void*)*11, x_29); if (x_11 == 0) { lean_object* x_31; -x_31 = l_Lean_PrettyPrinter_delabCore___lambda__2(x_4, x_1, x_2, x_3, x_6, x_7, x_30, x_9, x_10); +x_31 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_4, x_1, x_2, x_3, x_6, x_7, x_30, x_9, x_10); lean_dec(x_4); return x_31; } @@ -9902,14 +9986,14 @@ lean_inc(x_33); x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); lean_dec(x_32); -x_35 = l_Lean_PrettyPrinter_delabCore___lambda__2(x_4, x_1, x_2, x_33, x_6, x_7, x_30, x_9, x_34); +x_35 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_4, x_1, x_2, x_33, x_6, x_7, x_30, x_9, x_34); lean_dec(x_4); return x_35; } } } } -static lean_object* _init_l_Lean_PrettyPrinter_delabCore___lambda__4___closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_delabCore___lambda__5___closed__1() { _start: { lean_object* x_1; @@ -9917,23 +10001,23 @@ x_1 = l_Lean_pp_proofs; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_dec(x_4); x_10 = lean_ctor_get(x_7, 2); lean_inc(x_10); -x_11 = l_Lean_PrettyPrinter_delabCore___lambda__4___closed__1; +x_11 = l_Lean_PrettyPrinter_delabCore___lambda__5___closed__1; x_12 = l_Lean_Option_get_x3f___at_Lean_PrettyPrinter_delabCore___spec__2(x_10, x_11); x_13 = lean_box(0); -x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3(x_12, x_13); +x_14 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3(x_12, x_13); lean_dec(x_12); if (x_14 == 0) { lean_object* x_15; lean_object* x_16; x_15 = lean_box(0); -x_16 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_1, x_2, x_3, x_10, x_15, x_5, x_6, x_7, x_8, x_9); +x_16 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_1, x_2, x_3, x_10, x_15, x_5, x_6, x_7, x_8, x_9); return x_16; } else @@ -9963,7 +10047,7 @@ x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); lean_dec(x_18); x_22 = lean_box(0); -x_23 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_1, x_2, x_3, x_10, x_22, x_5, x_6, x_7, x_8, x_21); +x_23 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_1, x_2, x_3, x_10, x_22, x_5, x_6, x_7, x_8, x_21); return x_23; } else @@ -9975,7 +10059,7 @@ lean_dec(x_18); x_25 = 1; x_26 = l_Lean_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec__1(x_10, x_11, x_25); x_27 = lean_box(0); -x_28 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_1, x_2, x_3, x_26, x_27, x_5, x_6, x_7, x_8, x_24); +x_28 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_1, x_2, x_3, x_26, x_27, x_5, x_6, x_7, x_8, x_24); return x_28; } } @@ -9995,7 +10079,7 @@ lean_object* x_33; lean_object* x_34; lean_free_object(x_18); lean_dec(x_30); x_33 = lean_box(0); -x_34 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_1, x_2, x_3, x_10, x_33, x_5, x_6, x_7, x_8, x_31); +x_34 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_1, x_2, x_3, x_10, x_33, x_5, x_6, x_7, x_8, x_31); return x_34; } else @@ -10020,7 +10104,7 @@ lean_object* x_36; lean_object* x_37; lean_free_object(x_18); lean_dec(x_30); x_36 = lean_box(0); -x_37 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_1, x_2, x_3, x_10, x_36, x_5, x_6, x_7, x_8, x_31); +x_37 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_1, x_2, x_3, x_10, x_36, x_5, x_6, x_7, x_8, x_31); return x_37; } } @@ -10039,7 +10123,7 @@ if (x_40 == 0) lean_object* x_41; lean_object* x_42; lean_dec(x_38); x_41 = lean_box(0); -x_42 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_1, x_2, x_3, x_10, x_41, x_5, x_6, x_7, x_8, x_39); +x_42 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_1, x_2, x_3, x_10, x_41, x_5, x_6, x_7, x_8, x_39); return x_42; } else @@ -10067,7 +10151,7 @@ else lean_object* x_45; lean_object* x_46; lean_dec(x_38); x_45 = lean_box(0); -x_46 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_1, x_2, x_3, x_10, x_45, x_5, x_6, x_7, x_8, x_39); +x_46 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_1, x_2, x_3, x_10, x_45, x_5, x_6, x_7, x_8, x_39); return x_46; } } @@ -10078,7 +10162,7 @@ else { lean_object* x_47; lean_object* x_48; x_47 = lean_box(0); -x_48 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_1, x_2, x_3, x_10, x_47, x_5, x_6, x_7, x_8, x_9); +x_48 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_1, x_2, x_3, x_10, x_47, x_5, x_6, x_7, x_8, x_9); return x_48; } } @@ -10166,7 +10250,7 @@ x_18 = lean_ctor_get(x_15, 1); lean_inc(x_18); lean_dec(x_15); x_19 = lean_box(0); -x_20 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_3, x_2, x_12, x_19, x_4, x_5, x_6, x_7, x_18); +x_20 = l_Lean_PrettyPrinter_delabCore___lambda__5(x_3, x_2, x_12, x_19, x_4, x_5, x_6, x_7, x_18); return x_20; } else @@ -10193,7 +10277,7 @@ lean_inc(x_29); x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); lean_dec(x_28); -x_31 = l_Lean_PrettyPrinter_delabCore___lambda__4(x_3, x_2, x_12, x_29, x_4, x_5, x_6, x_7, x_30); +x_31 = l_Lean_PrettyPrinter_delabCore___lambda__5(x_3, x_2, x_12, x_29, x_4, x_5, x_6, x_7, x_30); return x_31; } } @@ -10237,11 +10321,11 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -10266,6 +10350,15 @@ lean_dec(x_1); return x_10; } } +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delabCore___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_PrettyPrinter_delabCore___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_delab(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -10327,7 +10420,7 @@ return x_20; } } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__1() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10337,7 +10430,7 @@ x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__2() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10347,17 +10440,17 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__3() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__2; +x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__4() { _start: { lean_object* x_1; @@ -10365,17 +10458,17 @@ x_1 = lean_mk_string_from_bytes("initFn", 6); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__3; -x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__4; +x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__3; +x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__6() { _start: { lean_object* x_1; @@ -10383,47 +10476,47 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__5; -x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__6; +x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__5; +x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__7; +x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__7; x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__8; +x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__8; x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__9; +x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__9; x_2 = l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__7; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__11() { _start: { lean_object* x_1; @@ -10431,17 +10524,17 @@ x_1 = lean_mk_string_from_bytes("Basic", 5); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__12() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__10; -x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__11; +x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__10; +x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__13() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__13() { _start: { lean_object* x_1; @@ -10449,33 +10542,33 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__14() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__12; -x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__13; +x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__12; +x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__13; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__15() { +static lean_object* _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__14; -x_2 = lean_unsigned_to_nat(4767u); +x_1 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__14; +x_2 = lean_unsigned_to_nat(4829u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__1; +x_2 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__1; x_3 = 0; -x_4 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__15; +x_4 = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__15; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -10741,8 +10834,12 @@ l_Lean_PrettyPrinter_delabCore___lambda__1___closed__4 = _init_l_Lean_PrettyPrin lean_mark_persistent(l_Lean_PrettyPrinter_delabCore___lambda__1___closed__4); l_Lean_PrettyPrinter_delabCore___lambda__1___closed__5 = _init_l_Lean_PrettyPrinter_delabCore___lambda__1___closed__5(); lean_mark_persistent(l_Lean_PrettyPrinter_delabCore___lambda__1___closed__5); -l_Lean_PrettyPrinter_delabCore___lambda__4___closed__1 = _init_l_Lean_PrettyPrinter_delabCore___lambda__4___closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_delabCore___lambda__4___closed__1); +l_Lean_PrettyPrinter_delabCore___lambda__3___closed__1 = _init_l_Lean_PrettyPrinter_delabCore___lambda__3___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_delabCore___lambda__3___closed__1); +l_Lean_PrettyPrinter_delabCore___lambda__3___closed__2 = _init_l_Lean_PrettyPrinter_delabCore___lambda__3___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_delabCore___lambda__3___closed__2); +l_Lean_PrettyPrinter_delabCore___lambda__5___closed__1 = _init_l_Lean_PrettyPrinter_delabCore___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_delabCore___lambda__5___closed__1); l_Lean_PrettyPrinter_delabCore___closed__1 = _init_l_Lean_PrettyPrinter_delabCore___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_delabCore___closed__1); l_Lean_PrettyPrinter_delabCore___closed__2 = _init_l_Lean_PrettyPrinter_delabCore___closed__2(); @@ -10755,37 +10852,37 @@ l_Lean_PrettyPrinter_delabCore___closed__5 = _init_l_Lean_PrettyPrinter_delabCor lean_mark_persistent(l_Lean_PrettyPrinter_delabCore___closed__5); l_Lean_PrettyPrinter_delabCore___closed__6 = _init_l_Lean_PrettyPrinter_delabCore___closed__6(); lean_mark_persistent(l_Lean_PrettyPrinter_delabCore___closed__6); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__1 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__1(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__1); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__2 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__2(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__2); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__3 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__3(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__3); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__4 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__4(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__4); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__5 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__5(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__5); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__6 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__6(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__6); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__7 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__7(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__7); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__8 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__8(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__8); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__9 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__9(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__9); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__10 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__10(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__10); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__11 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__11(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__11); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__12 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__12(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__12); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__13 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__13(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__13); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__14 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__14(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__14); -l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__15 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__15(); -lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767____closed__15); -if (builtin) {res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4767_(lean_io_mk_world()); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__1 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__1); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__2 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__2); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__3 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__3(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__3); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__4 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__4(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__4); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__5 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__5(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__5); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__6 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__6(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__6); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__7 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__7(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__7); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__8 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__8(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__8); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__9 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__9(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__9); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__10 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__10(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__10); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__11 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__11(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__11); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__12 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__12(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__12); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__13 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__13(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__13); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__14 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__14(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__14); +l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__15 = _init_l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__15(); +lean_mark_persistent(l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829____closed__15); +if (builtin) {res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_4829_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c index c85d0cdb3b13..9e8d902d9f9a 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c @@ -66,7 +66,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__2; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__8___closed__1; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__3; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__4; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_ParamKind_isRegularExplicit___boxed(lean_object*); @@ -99,6 +98,7 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_PrettyPrinter_Delab LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__5; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_pp_fullNames; LEAN_EXPORT lean_object* l_Lean_ofExcept___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_delabProj___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -253,7 +253,6 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPr static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNameMkStr___closed__4; lean_object* l_ReaderT_pure___at_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__12; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__6; lean_object* l_Lean_getPPStructureProjections___boxed(lean_object*); @@ -272,6 +271,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delabora LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__4(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_nextExtraPos___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__5(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__11___rarg(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_withMDataOptions___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -363,7 +363,6 @@ lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__7(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders(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_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallBinders___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_isRegularApp___spec__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_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withType___at_Lean_PrettyPrinter_Delaborator_delab___spec__1(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_delabParams___lambda__8(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*); @@ -383,6 +382,7 @@ static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___cl uint8_t l_Lean_Expr_isLambda(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__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_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__13(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__5; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__7; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__2___closed__4; @@ -554,16 +554,15 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__5; lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__25(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfScientific___lambda__2___closed__2; -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConst___lambda__1___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__3___closed__3; lean_object* l_Lean_getPPUnicodeFun___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2___lambda__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_unresolveNameGlobal___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__13; lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -576,6 +575,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delabora LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallBinders___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___closed__2; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__4(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop_visitLambda___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -608,7 +608,6 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_withMDataOp LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__13(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_ParamKind_defVal___default; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabPSigma___closed__1; -static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__12; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__8___closed__3; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7; @@ -623,6 +622,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_nextExtraPos__ LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallBinders___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_delabParams___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_getUnusedName(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_delabAppImplicit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; @@ -674,12 +674,12 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delabora static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__3; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__1; lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabNameMkStr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds___closed__2; +static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSigmaCore___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSigmaCore___lambda__3___closed__1; @@ -696,6 +696,7 @@ lean_object* l_Lean_RBNode_find___at_Lean_PrettyPrinter_Delaborator_TopDownAnaly uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__3___closed__14; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__2___rarg___closed__3; LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__10___rarg(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_delabParams___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -744,18 +745,20 @@ lean_object* l_Lean_Expr_getOptParamDefault_x3f(lean_object*); LEAN_EXPORT uint8_t l_Lean_PrettyPrinter_Delaborator_ParamKind_isRegularExplicit(lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMVar___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__39(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__3; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__38(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_AppMatchState_motive___default; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo___closed__3; extern lean_object* l_Lean_instInhabitedProjectionFunctionInfo; lean_object* l_Lean_getPPAnalysisSkip___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_PrettyPrinter_Delaborator_delabLetE___spec__1___rarg___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_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__4(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__4; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); @@ -794,7 +797,6 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_d static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop___rarg___lambda__1___closed__2; lean_object* l_Lean_LocalDecl_userName(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature___lambda__1___closed__1; -uint8_t l_Lean_getPPNotation(lean_object*); lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAutoParam(lean_object*); @@ -820,12 +822,14 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delabora LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__12(lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfScientific___closed__3; -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Delaborator_delabFailureId; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabForall___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__9(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_nextExtraPos___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__1(lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___boxed(lean_object*, 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*); static lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__2___closed__5; lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); @@ -843,7 +847,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___c static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam___closed__3; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___closed__10; lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_PrettyPrinter_Delaborator_delabMData___closed__6; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabSigmaCore___lambda__1___closed__6; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___closed__4; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfNat___closed__4; @@ -875,6 +878,7 @@ LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDo___lambda__1___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2; static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_shouldGroupWithNext___closed__1; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__5; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__2; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -927,13 +931,13 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lam LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_reifyName___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabProj___closed__1; -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__3___closed__5; lean_object* l_Lean_Parser_Command_declSig_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_getParamKinds_forallTelescopeArgs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun(lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___closed__2; @@ -1015,6 +1019,7 @@ static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSort___cl LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__20(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); @@ -1041,7 +1046,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___clo static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam___closed__5; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabNameMkStr___closed__2; -static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__13; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabCond___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1092,6 +1096,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_reifyName___boxed(lean static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabBinders___closed__1; lean_object* l_Lean_SubExpr_Pos_pushNaryFn(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_addFieldInfo(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_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3(lean_object*, size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__4; @@ -1161,6 +1166,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__4__ lean_object* l_Array_mkArray2___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfScientific___closed__5; static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__6(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__7(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId; @@ -1202,7 +1208,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__6__ static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabOfScientific___closed__2; uint8_t l_Lean_Expr_isForall(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2___lambda__1(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_delabLam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1247,7 +1252,6 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___clo LEAN_EXPORT lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDo(lean_object*); static lean_object* l_Array_mapIdxM_map___at___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabPatterns___spec__5___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_isLetFun(lean_object*); static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop___rarg___lambda__1___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabCond___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1268,8 +1272,10 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLam( LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delabAppMatch___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDIte___closed__5; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; lean_object* l_Lean_Parser_termParser(lean_object*); +static lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2; uint8_t l_Array_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_delabConst___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__1() { @@ -17581,7 +17587,24 @@ x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_ return x_14; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Expr_appFn_x21(x_10); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -17593,7 +17616,7 @@ x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_ return x_14; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; @@ -17605,7 +17628,7 @@ lean_inc(x_12); lean_dec(x_10); x_13 = l_Lean_Expr_binderInfo(x_11); x_14 = l_Lean_Expr_bindingDomain_x21(x_11); -x_15 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2___lambda__1___boxed), 10, 2); +x_15 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3___lambda__1___boxed), 10, 2); lean_closure_set(x_15, 0, x_11); lean_closure_set(x_15, 1, x_2); x_16 = 0; @@ -17613,62 +17636,120 @@ x_17 = l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBinding return x_17; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_10 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Expr_bindingDomain_x21(x_10); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); lean_dec(x_10); x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); -return x_14; -} +x_14 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_11, x_13); +x_15 = l_Lean_PrettyPrinter_Delaborator_getParamKinds___closed__1; +lean_inc(x_14); +x_16 = lean_mk_array(x_14, x_15); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_nat_sub(x_14, x_17); +lean_dec(x_14); +x_19 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_11, x_16, x_18); +x_20 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getPos___at_Lean_PrettyPrinter_Delaborator_getOptionsAtCurrPos___spec__1(x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_array_get_size(x_19); +x_24 = l_Lean_SubExpr_Pos_pushNaryArg(x_23, x_1, x_21); +lean_dec(x_21); +x_25 = !lean_is_exclusive(x_3); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_3, 3); +lean_dec(x_26); +x_27 = lean_nat_dec_lt(x_1, x_23); +lean_dec(x_23); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_19); +x_28 = l_Lean_instInhabitedExpr; +x_29 = l___private_Init_Util_0__outOfBounds___rarg(x_28); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_24); +lean_ctor_set(x_3, 3, x_30); +x_31 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +return x_31; } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: +else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = l_Lean_Expr_appFn_x21(x_10); -lean_dec(x_10); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); -return x_14; +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_array_fget(x_19, x_1); +lean_dec(x_19); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_24); +lean_ctor_set(x_3, 3, x_33); +x_34 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +return x_34; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__1() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.PrettyPrinter.Delaborator.delabLetFun", 42); -return x_1; -} +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_3, 0); +x_36 = lean_ctor_get(x_3, 1); +x_37 = lean_ctor_get(x_3, 2); +x_38 = lean_ctor_get_uint8(x_3, sizeof(void*)*4); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_3); +x_39 = lean_nat_dec_lt(x_1, x_23); +lean_dec(x_23); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_19); +x_40 = l_Lean_instInhabitedExpr; +x_41 = l___private_Init_Util_0__outOfBounds___rarg(x_40); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_24); +x_43 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_43, 0, x_35); +lean_ctor_set(x_43, 1, x_36); +lean_ctor_set(x_43, 2, x_37); +lean_ctor_set(x_43, 3, x_42); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_38); +x_44 = lean_apply_7(x_2, x_43, x_4, x_5, x_6, x_7, x_8, x_22); +return x_44; } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__2() { -_start: +else { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; -x_2 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__1; -x_3 = lean_unsigned_to_nat(403u); -x_4 = lean_unsigned_to_nat(37u); -x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); -return x_6; +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_45 = lean_array_fget(x_19, x_1); +lean_dec(x_19); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_24); +x_47 = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(x_47, 0, x_35); +lean_ctor_set(x_47, 1, x_36); +lean_ctor_set(x_47, 2, x_37); +lean_ctor_set(x_47, 3, x_46); +lean_ctor_set_uint8(x_47, sizeof(void*)*4, x_38); +x_48 = lean_apply_7(x_2, x_47, x_4, x_5, x_6, x_7, x_8, x_22); +return x_48; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__3() { +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -17676,19 +17757,19 @@ x_1 = lean_mk_string_from_bytes("let_fun", 7); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__3; x_3 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__4; -x_4 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__3; +x_4 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__3() { _start: { lean_object* x_1; @@ -17696,19 +17777,19 @@ x_1 = lean_mk_string_from_bytes("letDecl", 7); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__3; x_3 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__4; -x_4 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__5; +x_4 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__5() { _start: { lean_object* x_1; @@ -17716,19 +17797,19 @@ x_1 = lean_mk_string_from_bytes("letIdDecl", 9); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__3; x_3 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__4; -x_4 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7; +x_4 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__5; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7() { _start: { lean_object* x_1; @@ -17736,7 +17817,7 @@ x_1 = lean_mk_string_from_bytes(";", 1); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__10() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8() { _start: { lean_object* x_1; @@ -17744,19 +17825,19 @@ x_1 = lean_mk_string_from_bytes("typeSpec", 8); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__3; x_3 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__4; -x_4 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__10; +x_4 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__12() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__10() { _start: { lean_object* x_1; @@ -17764,7 +17845,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_getPPLetVarTypes___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__13() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11() { _start: { lean_object* x_1; @@ -17772,380 +17853,451 @@ x_1 = lean_alloc_closure((void*)(l_Lean_getPPAnalysisLetVarType___boxed), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -if (lean_obj_tag(x_2) == 6) +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_9 = lean_unsigned_to_nat(0u); +x_10 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_9); +x_11 = lean_unsigned_to_nat(4u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_2, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_2, 2); -lean_inc(x_11); +lean_object* x_148; uint8_t x_149; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -lean_inc(x_8); +x_148 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_8); +x_149 = !lean_is_exclusive(x_148); +if (x_149 == 0) +{ +return x_148; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_150 = lean_ctor_get(x_148, 0); +x_151 = lean_ctor_get(x_148, 1); +lean_inc(x_151); +lean_inc(x_150); +lean_dec(x_148); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_150); +lean_ctor_set(x_152, 1, x_151); +return x_152; +} +} +else +{ +x_13 = x_8; +goto block_147; +} +block_147: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Expr_appArg_x21(x_15); +lean_dec(x_15); +if (lean_obj_tag(x_17) == 6) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 2); +lean_inc(x_19); +lean_dec(x_17); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_12 = l_Lean_PrettyPrinter_Delaborator_getUnusedName(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_12) == 0) +lean_inc(x_2); +x_20 = l_Lean_PrettyPrinter_Delaborator_getUnusedName(x_18, x_19, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; -lean_inc(x_8); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; +x_24 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__1), 8, 1); +lean_closure_set(x_24, 0, x_23); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_13); -x_16 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_13, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -if (lean_obj_tag(x_16) == 0) +lean_inc(x_2); +x_25 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_22); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_101; lean_object* x_102; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - x_19 = x_16; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_21); +x_28 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3), 9, 2); +lean_closure_set(x_28, 0, x_21); +lean_closure_set(x_28, 1, x_23); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_29 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__1(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_114; lean_object* x_115; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; } else { - lean_dec_ref(x_16); - x_19 = lean_box(0); + lean_dec_ref(x_29); + x_32 = lean_box(0); } -x_101 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__12; -lean_inc(x_8); +x_114 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__10; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_102 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_101, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_102) == 0) +lean_inc(x_2); +x_115 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_114, x_2, x_3, x_4, x_5, x_6, x_7, x_31); +if (lean_obj_tag(x_115) == 0) { -lean_object* x_103; uint8_t x_104; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_unbox(x_103); -if (x_104 == 0) +lean_object* x_116; uint8_t x_117; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_unbox(x_116); +if (x_117 == 0) { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -lean_dec(x_103); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -lean_dec(x_102); -x_106 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__13; -lean_inc(x_8); +lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_116); +x_118 = lean_ctor_get(x_115, 1); +lean_inc(x_118); +lean_dec(x_115); +x_119 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_107 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_106, x_3, x_4, x_5, x_6, x_7, x_8, x_105); -if (lean_obj_tag(x_107) == 0) +lean_inc(x_2); +x_120 = l_Lean_PrettyPrinter_Delaborator_getPPOption(x_119, x_2, x_3, x_4, x_5, x_6, x_7, x_118); +if (lean_obj_tag(x_120) == 0) { -lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_unbox(x_108); -lean_dec(x_108); -x_20 = x_110; -x_21 = x_109; -goto block_100; +lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); +x_123 = lean_unbox(x_121); +lean_dec(x_121); +x_33 = x_123; +x_34 = x_122; +goto block_113; } else { -uint8_t x_111; -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_8); +uint8_t x_124; +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_26); +lean_dec(x_21); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_111 = !lean_is_exclusive(x_107); -if (x_111 == 0) +lean_dec(x_2); +x_124 = !lean_is_exclusive(x_120); +if (x_124 == 0) { -return x_107; +return x_120; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_107, 0); -x_113 = lean_ctor_get(x_107, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_107); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_120, 0); +x_126 = lean_ctor_get(x_120, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_120); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; } } } else { -lean_object* x_115; uint8_t x_116; -x_115 = lean_ctor_get(x_102, 1); -lean_inc(x_115); -lean_dec(x_102); -x_116 = lean_unbox(x_103); -lean_dec(x_103); -x_20 = x_116; -x_21 = x_115; -goto block_100; +lean_object* x_128; uint8_t x_129; +x_128 = lean_ctor_get(x_115, 1); +lean_inc(x_128); +lean_dec(x_115); +x_129 = lean_unbox(x_116); +lean_dec(x_116); +x_33 = x_129; +x_34 = x_128; +goto block_113; } } else { -uint8_t x_117; -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_8); +uint8_t x_130; +lean_dec(x_32); +lean_dec(x_30); +lean_dec(x_26); +lean_dec(x_21); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_117 = !lean_is_exclusive(x_102); -if (x_117 == 0) +lean_dec(x_2); +x_130 = !lean_is_exclusive(x_115); +if (x_130 == 0) { -return x_102; +return x_115; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_102, 0); -x_119 = lean_ctor_get(x_102, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_102); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_115, 0); +x_132 = lean_ctor_get(x_115, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_115); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +return x_133; } } -block_100: +block_113: { -if (x_20 == 0) +if (x_33 == 0) { -lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_8); -lean_dec(x_6); +lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_22 = lean_ctor_get(x_7, 5); -lean_inc(x_22); -lean_dec(x_7); -x_23 = 0; -x_24 = l_Lean_SourceInfo_fromRef(x_22, x_23); -x_25 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__3; -lean_inc(x_24); -x_26 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_mk_syntax_ident(x_13); -x_28 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; -x_29 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; -lean_inc(x_24); -x_30 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_30, 0, x_24); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_30, 2, x_29); -x_31 = l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__2___closed__5; -lean_inc(x_24); -x_32 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_32, 0, x_24); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8; -lean_inc(x_30); -lean_inc(x_24); -x_34 = l_Lean_Syntax_node5(x_24, x_33, x_27, x_30, x_30, x_32, x_1); -x_35 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; -lean_inc(x_24); -x_36 = l_Lean_Syntax_node1(x_24, x_35, x_34); -x_37 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; -lean_inc(x_24); -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_24); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; -x_40 = l_Lean_Syntax_node4(x_24, x_39, x_26, x_36, x_38, x_17); -if (lean_is_scalar(x_19)) { - x_41 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_2); +x_35 = lean_ctor_get(x_6, 5); +lean_inc(x_35); +lean_dec(x_6); +x_36 = 0; +x_37 = l_Lean_SourceInfo_fromRef(x_35, x_36); +x_38 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__1; +lean_inc(x_37); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_mk_syntax_ident(x_21); +x_41 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; +x_42 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; +lean_inc(x_37); +x_43 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_43, 0, x_37); +lean_ctor_set(x_43, 1, x_41); +lean_ctor_set(x_43, 2, x_42); +x_44 = l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__2___closed__5; +lean_inc(x_37); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_37); +lean_ctor_set(x_45, 1, x_44); +x_46 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; +lean_inc(x_43); +lean_inc(x_37); +x_47 = l_Lean_Syntax_node5(x_37, x_46, x_40, x_43, x_43, x_45, x_26); +x_48 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; +lean_inc(x_37); +x_49 = l_Lean_Syntax_node1(x_37, x_48, x_47); +x_50 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7; +lean_inc(x_37); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_37); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__2; +x_53 = l_Lean_Syntax_node4(x_37, x_52, x_39, x_49, x_51, x_30); +if (lean_is_scalar(x_32)) { + x_54 = lean_alloc_ctor(0, 2, 0); } else { - x_41 = x_19; + x_54 = x_32; } -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_21); -return x_41; +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_34); +return x_54; } else { -lean_object* x_42; -lean_dec(x_19); -lean_inc(x_7); -x_42 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_21); -if (lean_obj_tag(x_42) == 0) +lean_object* x_55; +lean_dec(x_32); +lean_inc(x_6); +x_55 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_9, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_34); +if (lean_obj_tag(x_55) == 0) { -uint8_t x_43; -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +uint8_t x_56; +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) { -lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_44 = lean_ctor_get(x_42, 0); -x_45 = lean_ctor_get(x_7, 5); -lean_inc(x_45); -lean_dec(x_7); -x_46 = 0; -x_47 = l_Lean_SourceInfo_fromRef(x_45, x_46); -x_48 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__3; -lean_inc(x_47); -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = lean_mk_syntax_ident(x_13); -x_51 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; -x_52 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; -lean_inc(x_47); -x_53 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_53, 0, x_47); -lean_ctor_set(x_53, 1, x_51); -lean_ctor_set(x_53, 2, x_52); -x_54 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__6; -lean_inc(x_47); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_47); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; -lean_inc(x_47); -x_57 = l_Lean_Syntax_node2(x_47, x_56, x_55, x_44); -lean_inc(x_47); -x_58 = l_Lean_Syntax_node1(x_47, x_51, x_57); -x_59 = l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__2___closed__5; -lean_inc(x_47); -x_60 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_60, 0, x_47); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8; -lean_inc(x_47); -x_62 = l_Lean_Syntax_node5(x_47, x_61, x_50, x_53, x_58, x_60, x_1); -x_63 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; -lean_inc(x_47); -x_64 = l_Lean_Syntax_node1(x_47, x_63, x_62); -x_65 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; -lean_inc(x_47); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_47); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; -x_68 = l_Lean_Syntax_node4(x_47, x_67, x_49, x_64, x_66, x_17); -lean_ctor_set(x_42, 0, x_68); -return x_42; +lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_57 = lean_ctor_get(x_55, 0); +x_58 = lean_ctor_get(x_6, 5); +lean_inc(x_58); +lean_dec(x_6); +x_59 = 0; +x_60 = l_Lean_SourceInfo_fromRef(x_58, x_59); +x_61 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__1; +lean_inc(x_60); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_mk_syntax_ident(x_21); +x_64 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; +x_65 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; +lean_inc(x_60); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_60); +lean_ctor_set(x_66, 1, x_64); +lean_ctor_set(x_66, 2, x_65); +x_67 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__6; +lean_inc(x_60); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_60); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; +lean_inc(x_60); +x_70 = l_Lean_Syntax_node2(x_60, x_69, x_68, x_57); +lean_inc(x_60); +x_71 = l_Lean_Syntax_node1(x_60, x_64, x_70); +x_72 = l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__2___closed__5; +lean_inc(x_60); +x_73 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_73, 0, x_60); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; +lean_inc(x_60); +x_75 = l_Lean_Syntax_node5(x_60, x_74, x_63, x_66, x_71, x_73, x_26); +x_76 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; +lean_inc(x_60); +x_77 = l_Lean_Syntax_node1(x_60, x_76, x_75); +x_78 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7; +lean_inc(x_60); +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_60); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__2; +x_81 = l_Lean_Syntax_node4(x_60, x_80, x_62, x_77, x_79, x_30); +lean_ctor_set(x_55, 0, x_81); +return x_55; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_69 = lean_ctor_get(x_42, 0); -x_70 = lean_ctor_get(x_42, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_42); -x_71 = lean_ctor_get(x_7, 5); -lean_inc(x_71); -lean_dec(x_7); -x_72 = 0; -x_73 = l_Lean_SourceInfo_fromRef(x_71, x_72); -x_74 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__3; -lean_inc(x_73); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_mk_syntax_ident(x_13); -x_77 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; -x_78 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; -lean_inc(x_73); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_73); -lean_ctor_set(x_79, 1, x_77); -lean_ctor_set(x_79, 2, x_78); -x_80 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__6; -lean_inc(x_73); -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_73); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; -lean_inc(x_73); -x_83 = l_Lean_Syntax_node2(x_73, x_82, x_81, x_69); -lean_inc(x_73); -x_84 = l_Lean_Syntax_node1(x_73, x_77, x_83); -x_85 = l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__2___closed__5; -lean_inc(x_73); -x_86 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_86, 0, x_73); -lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8; -lean_inc(x_73); -x_88 = l_Lean_Syntax_node5(x_73, x_87, x_76, x_79, x_84, x_86, x_1); -x_89 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; -lean_inc(x_73); -x_90 = l_Lean_Syntax_node1(x_73, x_89, x_88); -x_91 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; -lean_inc(x_73); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_73); -lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; -x_94 = l_Lean_Syntax_node4(x_73, x_93, x_75, x_90, x_92, x_17); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_70); -return x_95; +lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_82 = lean_ctor_get(x_55, 0); +x_83 = lean_ctor_get(x_55, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_55); +x_84 = lean_ctor_get(x_6, 5); +lean_inc(x_84); +lean_dec(x_6); +x_85 = 0; +x_86 = l_Lean_SourceInfo_fromRef(x_84, x_85); +x_87 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__1; +lean_inc(x_86); +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_mk_syntax_ident(x_21); +x_90 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; +x_91 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; +lean_inc(x_86); +x_92 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_92, 0, x_86); +lean_ctor_set(x_92, 1, x_90); +lean_ctor_set(x_92, 2, x_91); +x_93 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__6; +lean_inc(x_86); +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_86); +lean_ctor_set(x_94, 1, x_93); +x_95 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; +lean_inc(x_86); +x_96 = l_Lean_Syntax_node2(x_86, x_95, x_94, x_82); +lean_inc(x_86); +x_97 = l_Lean_Syntax_node1(x_86, x_90, x_96); +x_98 = l_Std_Range_forIn_loop___at_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___spec__2___closed__5; +lean_inc(x_86); +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_86); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; +lean_inc(x_86); +x_101 = l_Lean_Syntax_node5(x_86, x_100, x_89, x_92, x_97, x_99, x_26); +x_102 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; +lean_inc(x_86); +x_103 = l_Lean_Syntax_node1(x_86, x_102, x_101); +x_104 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7; +lean_inc(x_86); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_86); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__2; +x_107 = l_Lean_Syntax_node4(x_86, x_106, x_88, x_103, x_105, x_30); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_83); +return x_108; } } else { -uint8_t x_96; -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_7); -lean_dec(x_1); -x_96 = !lean_is_exclusive(x_42); -if (x_96 == 0) +uint8_t x_109; +lean_dec(x_30); +lean_dec(x_26); +lean_dec(x_21); +lean_dec(x_6); +x_109 = !lean_is_exclusive(x_55); +if (x_109 == 0) { -return x_42; +return x_55; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_42, 0); -x_98 = lean_ctor_get(x_42, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_42); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_55, 0); +x_111 = lean_ctor_get(x_55, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_55); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; } } } @@ -18153,145 +18305,226 @@ return x_99; } else { -uint8_t x_121; -lean_dec(x_13); -lean_dec(x_8); +uint8_t x_134; +lean_dec(x_26); +lean_dec(x_21); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_121 = !lean_is_exclusive(x_16); -if (x_121 == 0) +lean_dec(x_2); +x_134 = !lean_is_exclusive(x_29); +if (x_134 == 0) { -return x_16; +return x_29; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_122 = lean_ctor_get(x_16, 0); -x_123 = lean_ctor_get(x_16, 1); -lean_inc(x_123); -lean_inc(x_122); -lean_dec(x_16); -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_122); -lean_ctor_set(x_124, 1, x_123); -return x_124; +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_29, 0); +x_136 = lean_ctor_get(x_29, 1); +lean_inc(x_136); +lean_inc(x_135); +lean_dec(x_29); +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; } } } else { -uint8_t x_125; -lean_dec(x_8); +uint8_t x_138; +lean_dec(x_21); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_125 = !lean_is_exclusive(x_12); -if (x_125 == 0) +lean_dec(x_2); +x_138 = !lean_is_exclusive(x_25); +if (x_138 == 0) { -return x_12; +return x_25; } else { -lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_126 = lean_ctor_get(x_12, 0); -x_127 = lean_ctor_get(x_12, 1); -lean_inc(x_127); -lean_inc(x_126); -lean_dec(x_12); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -return x_128; +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_25, 0); +x_140 = lean_ctor_get(x_25, 1); +lean_inc(x_140); +lean_inc(x_139); +lean_dec(x_25); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_139); +lean_ctor_set(x_141, 1, x_140); +return x_141; } } } else { -lean_object* x_129; lean_object* x_130; +uint8_t x_142; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_129 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__2; -x_130 = l_panic___at_Lean_PrettyPrinter_Delaborator_delabFVar___spec__1(x_129, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_130; +x_142 = !lean_is_exclusive(x_20); +if (x_142 == 0) +{ +return x_20; } +else +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_143 = lean_ctor_get(x_20, 0); +x_144 = lean_ctor_get(x_20, 1); +lean_inc(x_144); +lean_inc(x_143); +lean_dec(x_20); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set(x_145, 1, x_144); +return x_145; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__1(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1), 9, 1); -lean_closure_set(x_12, 0, x_10); -x_13 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1; -x_14 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__1___rarg), 9, 2); -lean_closure_set(x_14, 0, x_13); -lean_closure_set(x_14, 1, x_12); -x_15 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_14, x_1, x_2, x_3, x_4, x_5, x_6, x_11); -return x_15; } else { -uint8_t x_16; +lean_object* x_146; +lean_dec(x_17); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_9); -if (x_16 == 0) +x_146 = l_Lean_PrettyPrinter_Delaborator_failure___rarg(x_16); +return x_146; +} +} +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1() { +_start: { -return x_9; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___boxed), 8, 0); +return x_1; } -else +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2() { +_start: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_9, 0); -x_18 = lean_ctor_get(x_9, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_9); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppMatch___closed__1; +x_2 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1; +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_PrettyPrinter_Delaborator_delabAppExplicit___spec__1___rarg), 9, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = l_Lean_PrettyPrinter_Delaborator_delabAppImplicit___lambda__3___closed__2; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2; +x_10 = l_Lean_PrettyPrinter_Delaborator_whenPPOption(x_8, x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); lean_dec(x_1); return x_11; } } +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withNaryArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_1); +return x_9; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("letFun", 6); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabAppExplicit___closed__1; +x_2 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("delabLetFun", 11); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__2; +x_2 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__4; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__3; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLetFun), 7, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabFVar___closed__7; +x_3 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2; +x_4 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__4; +x_5 = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -18606,7 +18839,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__ { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4), 8, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2), 8, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -18615,31 +18848,23 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabLetFun), 7, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_from_bytes("inaccessible", 12); return x_1; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__2; x_2 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__3; x_3 = l_Lean_PrettyPrinter_Delaborator_maybeAddBlockImplicit___closed__4; -x_4 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4; +x_4 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__6() { +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5() { _start: { lean_object* x_1; @@ -18661,210 +18886,152 @@ x_11 = l_Lean_inaccessible_x3f(x_9); lean_dec(x_9); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_10); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); lean_inc(x_14); lean_dec(x_12); -x_15 = lean_ctor_get(x_5, 2); -lean_inc(x_15); -x_16 = l_Lean_isLetFun(x_13); +x_15 = l_Lean_isLHSGoal_x3f(x_13); lean_dec(x_13); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_15); -x_17 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_14); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_isLHSGoal_x3f(x_18); -lean_dec(x_18); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_box(0); -x_22 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; -x_23 = l_Lean_PrettyPrinter_Delaborator_withMDataOptions___rarg(x_21, x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_19); -return x_23; -} -else +if (lean_obj_tag(x_15) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_20); -x_24 = lean_box(0); -x_25 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; -x_26 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_24, x_25, x_1, x_2, x_3, x_4, x_5, x_6, x_19); -return x_26; -} +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_box(0); +x_17 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; +x_18 = l_Lean_PrettyPrinter_Delaborator_withMDataOptions___rarg(x_16, x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_14); +return x_18; } else { -uint8_t x_27; -x_27 = l_Lean_getPPNotation(x_15); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_dec(x_15); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_14); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_isLHSGoal_x3f(x_29); -lean_dec(x_29); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_box(0); -x_33 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; -x_34 = l_Lean_PrettyPrinter_Delaborator_withMDataOptions___rarg(x_32, x_33, x_1, x_2, x_3, x_4, x_5, x_6, x_30); -return x_34; -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_31); -x_35 = lean_box(0); -x_36 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; -x_37 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_35, x_36, x_1, x_2, x_3, x_4, x_5, x_6, x_30); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_box(0); -x_39 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__3; -x_40 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_38, x_39, x_1, x_2, x_3, x_4, x_5, x_6, x_14); -return x_40; -} +x_19 = lean_box(0); +x_20 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; +x_21 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_19, x_20, x_1, x_2, x_3, x_4, x_5, x_6, x_14); +return x_21; } } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_11); -x_41 = lean_box(0); -x_42 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; +x_22 = lean_box(0); +x_23 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; lean_inc(x_5); lean_inc(x_1); -x_43 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_41, x_42, x_1, x_2, x_3, x_4, x_5, x_6, x_10); -if (lean_obj_tag(x_43) == 0) +x_24 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withMDataExpr___at_Lean_PrettyPrinter_Delaborator_delabMData___spec__1(x_22, x_23, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_24) == 0) { -uint8_t x_44; -x_44 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +uint8_t x_25; +x_25 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); lean_dec(x_1); -if (x_44 == 0) +if (x_25 == 0) { -uint8_t x_45; +uint8_t x_26; lean_dec(x_5); -x_45 = !lean_is_exclusive(x_43); -if (x_45 == 0) +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) { -return x_43; +return x_24; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_43, 0); -x_47 = lean_ctor_get(x_43, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_43); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_24, 0); +x_28 = lean_ctor_get(x_24, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_24); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } else { -uint8_t x_49; -x_49 = !lean_is_exclusive(x_43); -if (x_49 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) { -lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_50 = lean_ctor_get(x_43, 0); -x_51 = lean_ctor_get(x_5, 5); -lean_inc(x_51); +lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_31 = lean_ctor_get(x_24, 0); +x_32 = lean_ctor_get(x_5, 5); +lean_inc(x_32); lean_dec(x_5); -x_52 = 0; -x_53 = l_Lean_SourceInfo_fromRef(x_51, x_52); -x_54 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__6; -lean_inc(x_53); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__7; -lean_inc(x_53); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_53); -lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; -x_59 = l_Lean_Syntax_node3(x_53, x_58, x_55, x_50, x_57); -lean_ctor_set(x_43, 0, x_59); -return x_43; +x_33 = 0; +x_34 = l_Lean_SourceInfo_fromRef(x_32, x_33); +x_35 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; +lean_inc(x_34); +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__7; +lean_inc(x_34); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4; +x_40 = l_Lean_Syntax_node3(x_34, x_39, x_36, x_31, x_38); +lean_ctor_set(x_24, 0, x_40); +return x_24; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_60 = lean_ctor_get(x_43, 0); -x_61 = lean_ctor_get(x_43, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_43); -x_62 = lean_ctor_get(x_5, 5); -lean_inc(x_62); +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_41 = lean_ctor_get(x_24, 0); +x_42 = lean_ctor_get(x_24, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_24); +x_43 = lean_ctor_get(x_5, 5); +lean_inc(x_43); lean_dec(x_5); -x_63 = 0; -x_64 = l_Lean_SourceInfo_fromRef(x_62, x_63); -x_65 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__6; -lean_inc(x_64); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__7; -lean_inc(x_64); -x_68 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_68, 0, x_64); -lean_ctor_set(x_68, 1, x_67); -x_69 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; -x_70 = l_Lean_Syntax_node3(x_64, x_69, x_66, x_60, x_68); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_61); -return x_71; +x_44 = 0; +x_45 = l_Lean_SourceInfo_fromRef(x_43, x_44); +x_46 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5; +lean_inc(x_45); +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__7; +lean_inc(x_45); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_45); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4; +x_51 = l_Lean_Syntax_node3(x_45, x_50, x_47, x_41, x_49); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_42); +return x_52; } } } else { -uint8_t x_72; +uint8_t x_53; lean_dec(x_5); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_43); -if (x_72 == 0) +x_53 = !lean_is_exclusive(x_24); +if (x_53 == 0) { -return x_43; +return x_24; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_43, 0); -x_74 = lean_ctor_get(x_43, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_43); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_24, 0); +x_55 = lean_ctor_get(x_24, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_24); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } @@ -20200,7 +20367,24 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at_Lean_PrettyPrinter_Delaborator_getExprKind___spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = l_Lean_Expr_bindingDomain_x21(x_10); +lean_dec(x_10); +x_13 = lean_unsigned_to_nat(0u); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at_Lean_PrettyPrinter_Delaborator_delab___spec__2(x_12, x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -20224,7 +20408,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -20248,7 +20432,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -20491,7 +20675,7 @@ x_24 = lean_usize_of_nat(x_23); lean_dec(x_23); x_25 = 0; x_26 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___closed__8; -x_27 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(x_26, x_24, x_25, x_10); +x_27 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2(x_26, x_24, x_25, x_10); x_28 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; x_29 = l_Array_append___rarg(x_28, x_27); x_30 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; @@ -20539,7 +20723,7 @@ x_46 = lean_usize_of_nat(x_45); lean_dec(x_45); x_47 = 0; x_48 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___closed__8; -x_49 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(x_48, x_46, x_47, x_10); +x_49 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2(x_48, x_46, x_47, x_10); x_50 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; x_51 = l_Array_append___rarg(x_50, x_49); x_52 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; @@ -20593,7 +20777,7 @@ x_70 = lean_usize_of_nat(x_69); lean_dec(x_69); x_71 = 0; x_72 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___closed__8; -x_73 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2(x_72, x_70, x_71, x_10); +x_73 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3(x_72, x_70, x_71, x_10); x_74 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; x_75 = l_Array_append___rarg(x_74, x_73); x_76 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; @@ -20641,7 +20825,7 @@ x_92 = lean_usize_of_nat(x_91); lean_dec(x_91); x_93 = 0; x_94 = l_Lean_PrettyPrinter_Delaborator_delabLam___lambda__1___closed__8; -x_95 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2(x_94, x_92, x_93, x_10); +x_95 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3(x_94, x_92, x_93, x_10); x_96 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11; x_97 = l_Array_append___rarg(x_96, x_95); x_98 = l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10; @@ -20864,7 +21048,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -20966,7 +21150,7 @@ x_147 = 0; x_148 = lean_usize_of_nat(x_21); lean_dec(x_21); lean_inc(x_2); -x_149 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3(x_2, x_1, x_147, x_148); +x_149 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__4(x_2, x_1, x_147, x_148); if (x_149 == 0) { lean_object* x_150; @@ -21357,7 +21541,7 @@ x_10 = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -21365,12 +21549,12 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(x_1, x_5, x_6, x_4); +x_7 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -21378,12 +21562,12 @@ x_5 = lean_unbox_usize(x_2); lean_dec(x_2); x_6 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__2(x_1, x_5, x_6, x_4); +x_7 = l_Array_mapMUnsafe_map___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3(x_1, x_5, x_6, x_4); lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; @@ -21391,7 +21575,7 @@ x_5 = lean_unbox_usize(x_3); lean_dec(x_3); x_6 = lean_unbox_usize(x_4); lean_dec(x_4); -x_7 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__3(x_1, x_2, x_5, x_6); +x_7 = l_Array_anyMUnsafe_any___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__4(x_1, x_2, x_5, x_6); lean_dec(x_2); x_8 = lean_box(x_7); return x_8; @@ -22136,7 +22320,7 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_14 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1(x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_14) == 0) { uint8_t x_15; @@ -23526,7 +23710,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__2 lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; x_2 = l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1; -x_3 = lean_unsigned_to_nat(581u); +x_3 = lean_unsigned_to_nat(580u); x_4 = lean_unsigned_to_nat(38u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -23636,7 +23820,7 @@ if (lean_is_exclusive(x_25)) { lean_dec_ref(x_25); x_28 = lean_box(0); } -x_111 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__12; +x_111 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__10; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); @@ -23657,7 +23841,7 @@ lean_dec(x_113); x_115 = lean_ctor_get(x_112, 1); lean_inc(x_115); lean_dec(x_112); -x_116 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__13; +x_116 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); @@ -23793,14 +23977,14 @@ lean_inc(x_33); x_41 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_41, 0, x_33); lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8; +x_42 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; lean_inc(x_39); lean_inc(x_33); x_43 = l_Lean_Syntax_node5(x_33, x_42, x_36, x_39, x_39, x_41, x_21); -x_44 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; +x_44 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; lean_inc(x_33); x_45 = l_Lean_Syntax_node1(x_33, x_44, x_43); -x_46 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; +x_46 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7; lean_inc(x_33); x_47 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_47, 0, x_33); @@ -23854,7 +24038,7 @@ lean_inc(x_57); x_65 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_65, 0, x_57); lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_66 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_57); x_67 = l_Lean_Syntax_node2(x_57, x_66, x_65, x_54); lean_inc(x_57); @@ -23864,13 +24048,13 @@ lean_inc(x_57); x_70 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_70, 0, x_57); lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8; +x_71 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; lean_inc(x_57); x_72 = l_Lean_Syntax_node5(x_57, x_71, x_60, x_63, x_68, x_70, x_21); -x_73 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; +x_73 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; lean_inc(x_57); x_74 = l_Lean_Syntax_node1(x_57, x_73, x_72); -x_75 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; +x_75 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7; lean_inc(x_57); x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_57); @@ -23911,7 +24095,7 @@ lean_inc(x_83); x_91 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_91, 0, x_83); lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_92 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_83); x_93 = l_Lean_Syntax_node2(x_83, x_92, x_91, x_79); lean_inc(x_83); @@ -23921,13 +24105,13 @@ lean_inc(x_83); x_96 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_96, 0, x_83); lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8; +x_97 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; lean_inc(x_83); x_98 = l_Lean_Syntax_node5(x_83, x_97, x_86, x_89, x_94, x_96, x_21); -x_99 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; +x_99 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; lean_inc(x_83); x_100 = l_Lean_Syntax_node1(x_83, x_99, x_98); -x_101 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; +x_101 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__7; lean_inc(x_83); x_102 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_102, 0, x_83); @@ -24171,7 +24355,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabLit___closed__2( lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; x_2 = l_Lean_PrettyPrinter_Delaborator_delabLit___closed__1; -x_3 = lean_unsigned_to_nat(594u); +x_3 = lean_unsigned_to_nat(593u); x_4 = lean_unsigned_to_nat(29u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -25552,7 +25736,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabProj___closed__2 lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; x_2 = l_Lean_PrettyPrinter_Delaborator_delabProj___closed__1; -x_3 = lean_unsigned_to_nat(633u); +x_3 = lean_unsigned_to_nat(632u); x_4 = lean_unsigned_to_nat(36u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -26438,7 +26622,7 @@ lean_inc(x_16); lean_dec(x_1); x_17 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; lean_inc(x_16); -x_18 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_18 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_16, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_13); if (lean_obj_tag(x_18) == 0) { uint8_t x_19; @@ -26598,7 +26782,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDIte___lambda__1 { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4), 8, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2), 8, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -26726,7 +26910,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_15 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_15 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_13); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -27122,7 +27306,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_15 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +x_15 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_13); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -27138,7 +27322,7 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_19 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +x_19 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -27521,7 +27705,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_19 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_17); +x_19 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -27537,7 +27721,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_23 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_21); +x_23 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_21); if (lean_obj_tag(x_23) == 0) { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; @@ -28360,7 +28544,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabSigmaCore___lamb { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_PrettyPrinter_Delaborator_delabAppExplicit___lambda__4___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3), 8, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at_Lean_PrettyPrinter_Delaborator_delabLam___spec__1), 8, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -28914,7 +29098,7 @@ lean_inc(x_4); x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_4); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_20 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_4); x_21 = l_Lean_Syntax_node2(x_4, x_20, x_19, x_2); lean_inc(x_4); @@ -28924,11 +29108,11 @@ lean_inc(x_4); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_4); lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__8; +x_25 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; lean_inc(x_16); lean_inc(x_4); x_26 = l_Lean_Syntax_node5(x_4, x_25, x_17, x_16, x_22, x_24, x_3); -x_27 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__6; +x_27 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__4; lean_inc(x_4); x_28 = l_Lean_Syntax_node1(x_4, x_27, x_26); x_29 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__3___closed__2; @@ -29313,7 +29497,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__1; x_2 = l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__4; -x_3 = lean_unsigned_to_nat(735u); +x_3 = lean_unsigned_to_nat(734u); x_4 = lean_unsigned_to_nat(40u); x_5 = l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -29651,7 +29835,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_88 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_87, x_1, x_2, x_3, x_4, x_5, x_6, x_10); +x_88 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_87, x_1, x_2, x_3, x_4, x_5, x_6, x_10); if (lean_obj_tag(x_88) == 0) { lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; @@ -32790,7 +32974,7 @@ lean_dec(x_16); x_19 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__1), 8, 1); lean_closure_set(x_19, 0, x_2); lean_inc(x_11); -x_20 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4(x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_18); +x_20 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_18); if (lean_obj_tag(x_20) == 0) { uint8_t x_21; @@ -33846,7 +34030,7 @@ static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_delabConstWithSignatu { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__13; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__4), 8, 1); +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2), 8, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -33906,7 +34090,7 @@ lean_inc(x_19); x_34 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_34, 0, x_19); lean_ctor_set(x_34, 1, x_33); -x_35 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_35 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_19); x_36 = l_Lean_Syntax_node2(x_19, x_35, x_34, x_16); x_37 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -33954,7 +34138,7 @@ lean_inc(x_45); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_45); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_61 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_45); x_62 = l_Lean_Syntax_node2(x_45, x_61, x_60, x_41); x_63 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34041,7 +34225,7 @@ lean_inc(x_78); x_93 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_93, 0, x_78); lean_ctor_set(x_93, 1, x_92); -x_94 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_94 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_78); x_95 = l_Lean_Syntax_node2(x_78, x_94, x_93, x_75); x_96 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34089,7 +34273,7 @@ lean_inc(x_104); x_119 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_119, 0, x_104); lean_ctor_set(x_119, 1, x_118); -x_120 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_120 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_104); x_121 = l_Lean_Syntax_node2(x_104, x_120, x_119, x_100); x_122 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34176,7 +34360,7 @@ lean_inc(x_137); x_152 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_152, 0, x_137); lean_ctor_set(x_152, 1, x_151); -x_153 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_153 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_137); x_154 = l_Lean_Syntax_node2(x_137, x_153, x_152, x_134); x_155 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34224,7 +34408,7 @@ lean_inc(x_163); x_178 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_178, 0, x_163); lean_ctor_set(x_178, 1, x_177); -x_179 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_179 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_163); x_180 = l_Lean_Syntax_node2(x_163, x_179, x_178, x_159); x_181 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34311,7 +34495,7 @@ lean_inc(x_196); x_211 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_211, 0, x_196); lean_ctor_set(x_211, 1, x_210); -x_212 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_212 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_196); x_213 = l_Lean_Syntax_node2(x_196, x_212, x_211, x_193); x_214 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34359,7 +34543,7 @@ lean_inc(x_222); x_237 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_237, 0, x_222); lean_ctor_set(x_237, 1, x_236); -x_238 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_238 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_222); x_239 = l_Lean_Syntax_node2(x_222, x_238, x_237, x_218); x_240 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34446,7 +34630,7 @@ lean_inc(x_255); x_270 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_270, 0, x_255); lean_ctor_set(x_270, 1, x_269); -x_271 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_271 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_255); x_272 = l_Lean_Syntax_node2(x_255, x_271, x_270, x_252); x_273 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34494,7 +34678,7 @@ lean_inc(x_281); x_296 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_296, 0, x_281); lean_ctor_set(x_296, 1, x_295); -x_297 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_297 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_281); x_298 = l_Lean_Syntax_node2(x_281, x_297, x_296, x_277); x_299 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34581,7 +34765,7 @@ lean_inc(x_314); x_329 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_329, 0, x_314); lean_ctor_set(x_329, 1, x_328); -x_330 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_330 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_314); x_331 = l_Lean_Syntax_node2(x_314, x_330, x_329, x_311); x_332 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34629,7 +34813,7 @@ lean_inc(x_340); x_355 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_355, 0, x_340); lean_ctor_set(x_355, 1, x_354); -x_356 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_356 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_340); x_357 = l_Lean_Syntax_node2(x_340, x_356, x_355, x_336); x_358 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34716,7 +34900,7 @@ lean_inc(x_373); x_388 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_388, 0, x_373); lean_ctor_set(x_388, 1, x_387); -x_389 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_389 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_373); x_390 = l_Lean_Syntax_node2(x_373, x_389, x_388, x_370); x_391 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34764,7 +34948,7 @@ lean_inc(x_399); x_414 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_414, 0, x_399); lean_ctor_set(x_414, 1, x_413); -x_415 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_415 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_399); x_416 = l_Lean_Syntax_node2(x_399, x_415, x_414, x_395); x_417 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -34888,7 +35072,7 @@ x_451 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_451, 0, x_1); lean_closure_set(x_451, 1, x_449); lean_closure_set(x_451, 2, x_450); -x_452 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_451, x_4, x_5, x_6, x_7, x_8, x_9, x_448); +x_452 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_451, x_4, x_5, x_6, x_7, x_8, x_9, x_448); return x_452; } else @@ -34964,7 +35148,7 @@ x_467 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_467, 0, x_1); lean_closure_set(x_467, 1, x_465); lean_closure_set(x_467, 2, x_466); -x_468 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_467, x_4, x_5, x_6, x_7, x_8, x_9, x_464); +x_468 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_467, x_4, x_5, x_6, x_7, x_8, x_9, x_464); return x_468; } else @@ -35033,7 +35217,7 @@ x_482 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_482, 0, x_1); lean_closure_set(x_482, 1, x_480); lean_closure_set(x_482, 2, x_481); -x_483 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_482, x_4, x_5, x_6, x_7, x_8, x_9, x_479); +x_483 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_482, x_4, x_5, x_6, x_7, x_8, x_9, x_479); return x_483; } else @@ -35102,7 +35286,7 @@ x_497 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_497, 0, x_1); lean_closure_set(x_497, 1, x_495); lean_closure_set(x_497, 2, x_496); -x_498 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_497, x_4, x_5, x_6, x_7, x_8, x_9, x_494); +x_498 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_497, x_4, x_5, x_6, x_7, x_8, x_9, x_494); return x_498; } else @@ -35171,7 +35355,7 @@ x_512 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_512, 0, x_1); lean_closure_set(x_512, 1, x_510); lean_closure_set(x_512, 2, x_511); -x_513 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_512, x_4, x_5, x_6, x_7, x_8, x_9, x_509); +x_513 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_512, x_4, x_5, x_6, x_7, x_8, x_9, x_509); return x_513; } else @@ -35245,7 +35429,7 @@ x_529 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_529, 0, x_1); lean_closure_set(x_529, 1, x_527); lean_closure_set(x_529, 2, x_528); -x_530 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_529, x_4, x_5, x_6, x_7, x_8, x_9, x_526); +x_530 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_529, x_4, x_5, x_6, x_7, x_8, x_9, x_526); return x_530; } else @@ -35314,7 +35498,7 @@ x_544 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_544, 0, x_1); lean_closure_set(x_544, 1, x_542); lean_closure_set(x_544, 2, x_543); -x_545 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_544, x_4, x_5, x_6, x_7, x_8, x_9, x_541); +x_545 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_544, x_4, x_5, x_6, x_7, x_8, x_9, x_541); return x_545; } else @@ -35383,7 +35567,7 @@ x_559 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_559, 0, x_1); lean_closure_set(x_559, 1, x_557); lean_closure_set(x_559, 2, x_558); -x_560 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_559, x_4, x_5, x_6, x_7, x_8, x_9, x_556); +x_560 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_559, x_4, x_5, x_6, x_7, x_8, x_9, x_556); return x_560; } else @@ -35452,7 +35636,7 @@ x_574 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_574, 0, x_1); lean_closure_set(x_574, 1, x_572); lean_closure_set(x_574, 2, x_573); -x_575 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_574, x_4, x_5, x_6, x_7, x_8, x_9, x_571); +x_575 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_574, x_4, x_5, x_6, x_7, x_8, x_9, x_571); return x_575; } else @@ -35521,7 +35705,7 @@ x_589 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_589, 0, x_1); lean_closure_set(x_589, 1, x_587); lean_closure_set(x_589, 2, x_588); -x_590 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_589, x_4, x_5, x_6, x_7, x_8, x_9, x_586); +x_590 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_589, x_4, x_5, x_6, x_7, x_8, x_9, x_586); return x_590; } else @@ -35590,7 +35774,7 @@ x_604 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_604, 0, x_1); lean_closure_set(x_604, 1, x_602); lean_closure_set(x_604, 2, x_603); -x_605 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_604, x_4, x_5, x_6, x_7, x_8, x_9, x_601); +x_605 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_604, x_4, x_5, x_6, x_7, x_8, x_9, x_601); return x_605; } else @@ -35659,7 +35843,7 @@ x_619 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_619, 0, x_1); lean_closure_set(x_619, 1, x_617); lean_closure_set(x_619, 2, x_618); -x_620 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_619, x_4, x_5, x_6, x_7, x_8, x_9, x_616); +x_620 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_619, x_4, x_5, x_6, x_7, x_8, x_9, x_616); return x_620; } else @@ -35728,7 +35912,7 @@ x_634 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_634, 0, x_1); lean_closure_set(x_634, 1, x_632); lean_closure_set(x_634, 2, x_633); -x_635 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_634, x_4, x_5, x_6, x_7, x_8, x_9, x_631); +x_635 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_634, x_4, x_5, x_6, x_7, x_8, x_9, x_631); return x_635; } else @@ -35802,7 +35986,7 @@ x_650 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_650, 0, x_1); lean_closure_set(x_650, 1, x_648); lean_closure_set(x_650, 2, x_649); -x_651 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_650, x_4, x_5, x_6, x_7, x_8, x_9, x_647); +x_651 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_650, x_4, x_5, x_6, x_7, x_8, x_9, x_647); return x_651; } else @@ -35875,7 +36059,7 @@ x_666 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_666, 0, x_1); lean_closure_set(x_666, 1, x_664); lean_closure_set(x_666, 2, x_665); -x_667 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_666, x_4, x_5, x_6, x_7, x_8, x_9, x_663); +x_667 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_666, x_4, x_5, x_6, x_7, x_8, x_9, x_663); return x_667; } else @@ -35947,7 +36131,7 @@ x_682 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_682, 0, x_1); lean_closure_set(x_682, 1, x_680); lean_closure_set(x_682, 2, x_681); -x_683 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_682, x_4, x_5, x_6, x_7, x_8, x_9, x_679); +x_683 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_682, x_4, x_5, x_6, x_7, x_8, x_9, x_679); return x_683; } else @@ -36016,7 +36200,7 @@ x_697 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_697, 0, x_1); lean_closure_set(x_697, 1, x_695); lean_closure_set(x_697, 2, x_696); -x_698 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_697, x_4, x_5, x_6, x_7, x_8, x_9, x_694); +x_698 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_697, x_4, x_5, x_6, x_7, x_8, x_9, x_694); return x_698; } else @@ -36064,7 +36248,7 @@ x_704 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabConstWi lean_closure_set(x_704, 0, x_1); lean_closure_set(x_704, 1, x_2); lean_closure_set(x_704, 2, x_435); -x_705 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__2(x_427, x_704, x_4, x_5, x_6, x_7, x_8, x_9, x_703); +x_705 = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at_Lean_PrettyPrinter_Delaborator_delabLetFun___spec__3(x_427, x_704, x_4, x_5, x_6, x_7, x_8, x_9, x_703); return x_705; } } @@ -36149,7 +36333,7 @@ lean_inc(x_716); x_731 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_731, 0, x_716); lean_ctor_set(x_731, 1, x_730); -x_732 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_732 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_716); x_733 = l_Lean_Syntax_node2(x_716, x_732, x_731, x_713); x_734 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -36197,7 +36381,7 @@ lean_inc(x_742); x_757 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_757, 0, x_742); lean_ctor_set(x_757, 1, x_756); -x_758 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_758 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_742); x_759 = l_Lean_Syntax_node2(x_742, x_758, x_757, x_738); x_760 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -36284,7 +36468,7 @@ lean_inc(x_775); x_790 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_790, 0, x_775); lean_ctor_set(x_790, 1, x_789); -x_791 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_791 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_775); x_792 = l_Lean_Syntax_node2(x_775, x_791, x_790, x_772); x_793 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -36332,7 +36516,7 @@ lean_inc(x_801); x_816 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_816, 0, x_801); lean_ctor_set(x_816, 1, x_815); -x_817 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_817 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_801); x_818 = l_Lean_Syntax_node2(x_801, x_817, x_816, x_797); x_819 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -36419,7 +36603,7 @@ lean_inc(x_834); x_849 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_849, 0, x_834); lean_ctor_set(x_849, 1, x_848); -x_850 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_850 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_834); x_851 = l_Lean_Syntax_node2(x_834, x_850, x_849, x_831); x_852 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -36467,7 +36651,7 @@ lean_inc(x_860); x_875 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_875, 0, x_860); lean_ctor_set(x_875, 1, x_874); -x_876 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_876 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_860); x_877 = l_Lean_Syntax_node2(x_860, x_876, x_875, x_856); x_878 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -36554,7 +36738,7 @@ lean_inc(x_893); x_908 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_908, 0, x_893); lean_ctor_set(x_908, 1, x_907); -x_909 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_909 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_893); x_910 = l_Lean_Syntax_node2(x_893, x_909, x_908, x_890); x_911 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -36602,7 +36786,7 @@ lean_inc(x_919); x_934 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_934, 0, x_919); lean_ctor_set(x_934, 1, x_933); -x_935 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11; +x_935 = l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__9; lean_inc(x_919); x_936 = l_Lean_Syntax_node2(x_919, x_935, x_934, x_915); x_937 = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature_delabParams___closed__3; @@ -38104,11 +38288,24 @@ l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__10 = _init_l_ lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__10); l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11 = _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__11); -l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__12 = _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__12(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__12); -l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__13 = _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__13(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLetFun___lambda__1___closed__13); -l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1(); +l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1); +l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__1); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__2); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__3 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__3); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__4 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__4); +l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__5 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun___closed__5); +if (builtin) {res = l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetFun(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__1); l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__2); @@ -38118,8 +38315,6 @@ l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4 = _init_l_Lean_PrettyPri lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__4); l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5(); lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__5); -l_Lean_PrettyPrinter_Delaborator_delabMData___closed__6 = _init_l_Lean_PrettyPrinter_Delaborator_delabMData___closed__6(); -lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__6); l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__1); l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__2 = _init_l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabMData___closed__2(); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Options.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Options.c index 1c4c8c2d9ebb..420d9c6ce45b 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Options.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Options.c @@ -14,18 +14,18 @@ extern "C" { #endif static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_600____closed__3; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__4; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880____closed__1; LEAN_EXPORT lean_object* l_Lean_getPPStructureInstanceType___boxed(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_476____closed__4; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__2; LEAN_EXPORT lean_object* l_Lean_pp_motives_nonConst; +LEAN_EXPORT lean_object* l_Lean_getPPBeta___boxed(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_316____closed__1; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680____closed__5; -static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__1; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_236____closed__3; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_156____closed__3; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_276____closed__4; -static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__6; LEAN_EXPORT lean_object* l_Lean_getPPMotivesAll___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_356____closed__3; @@ -44,7 +44,12 @@ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options_ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_640____closed__5; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__4; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__5; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__5; +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556_(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__6; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__4; LEAN_EXPORT uint8_t l_Lean_getPPMotivesAll(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__3; LEAN_EXPORT uint8_t l_Lean_getPPFunBinderTypes(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__3; LEAN_EXPORT lean_object* l_Lean_getPPMotivesPi___boxed(lean_object*); @@ -59,26 +64,28 @@ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options_ LEAN_EXPORT lean_object* l_Lean_pp_explicit; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_76_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_396____closed__5; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__5; LEAN_EXPORT lean_object* l_Lean_getPPStructureProjections___boxed(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_640____closed__4; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880____closed__2; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680____closed__3; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_76____closed__2; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__2; +LEAN_EXPORT uint8_t l_Lean_getPPBeta(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_640_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_600____closed__4; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__3; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_476_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__9; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_476____closed__5; -static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__4; LEAN_EXPORT lean_object* l_Lean_getPPUniverses___boxed(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_476____closed__1; LEAN_EXPORT lean_object* l_Lean_getPPInstantiateMVars___boxed(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_156____closed__1; -static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__5; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_476____closed__3; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__1; LEAN_EXPORT lean_object* l_Lean_getPPMatch___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_pp_beta; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_76____closed__3; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_276____closed__2; @@ -100,6 +107,7 @@ LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Opt static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_116____closed__6; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_316_(lean_object*); LEAN_EXPORT lean_object* l_Lean_pp_match; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__3; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760____closed__1; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_116____closed__4; @@ -130,6 +138,7 @@ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options_ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__4; LEAN_EXPORT lean_object* l_Lean_pp_instanceTypes; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_316____closed__3; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__2; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_356____closed__1; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__5; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_196____closed__1; @@ -153,13 +162,15 @@ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options_ LEAN_EXPORT uint8_t l_Lean_getPPMatch(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_236____closed__1; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__4; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__1; LEAN_EXPORT uint8_t l_Lean_getPPStructureInstances(lean_object*); LEAN_EXPORT uint8_t l_Lean_getPPCoercions(lean_object*); -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560_(lean_object*); LEAN_EXPORT uint8_t l_Lean_getPPInstanceTypes(lean_object*); +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__7; lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_396____closed__2; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_156____closed__2; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__6; LEAN_EXPORT lean_object* l_Lean_pp_instances; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_116_(lean_object*); LEAN_EXPORT lean_object* l_Lean_pp_structureInstanceTypes; @@ -175,14 +186,14 @@ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options_ LEAN_EXPORT uint8_t l_Lean_getPPPiBinderTypes(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_236_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880____closed__4; -static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__2; -static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__7; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720____closed__3; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680____closed__2; LEAN_EXPORT uint8_t l_Lean_getPPPrivateNames(lean_object*); LEAN_EXPORT lean_object* l_Lean_getPPAll___boxed(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__7; +static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__1; +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040_(lean_object*); LEAN_EXPORT lean_object* l_Lean_getPPPiBinderTypes___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_getPPProofsWithType___boxed(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); @@ -220,7 +231,6 @@ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options_ static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_196____closed__3; LEAN_EXPORT lean_object* l_Lean_getPPLetVarTypes___boxed(lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__3; LEAN_EXPORT lean_object* l_Lean_getPPExplicit___boxed(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720____closed__1; LEAN_EXPORT uint8_t l_Lean_getPPExplicit(lean_object*); @@ -233,7 +243,6 @@ LEAN_EXPORT lean_object* l_Lean_pp_letVarTypes; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_276_(lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_316____closed__2; LEAN_EXPORT uint8_t l_Lean_getPPProofs(lean_object*); -static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__6; static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__3; LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720_(lean_object*); LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_396_(lean_object*); @@ -1142,7 +1151,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("structureInstances", 18); +x_1 = lean_mk_string_from_bytes("beta", 4); return x_1; } } @@ -1160,35 +1169,17 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) display structure instances using the '{ fieldName := fieldValue, ... }' notation ", 99); +x_1 = lean_mk_string_from_bytes("(pretty printer) apply beta-reduction when pretty printing", 58); return x_1; } } static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__4() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("or '⟨fieldValue, ... ⟩' if structure is tagged with [pp_using_anonymous_constructor] attribute", 98); -return x_1; -} -} -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__3; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__4; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__6() { -_start: -{ uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 1; +x_1 = 0; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__5; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -1197,7 +1188,7 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__7() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; @@ -1213,45 +1204,63 @@ LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Opt { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__2; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__6; -x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__7; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__4; +x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__5; x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("structureProjections", 20); +x_1 = lean_mk_string_from_bytes("structureInstances", 18); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__1; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) display structure projections using field notation", 67); +x_1 = lean_mk_string_from_bytes("(pretty printer) display structure instances using the '{ fieldName := fieldValue, ... }' notation ", 99); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("or '⟨fieldValue, ... ⟩' if structure is tagged with [pp_using_anonymous_constructor] attribute", 98); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__3; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__4; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__3; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__5; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -1260,24 +1269,24 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__8; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__2; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__4; -x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__5; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__2; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__6; +x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__7; x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(x_2, x_3, x_4, x_1); return x_5; } @@ -1286,7 +1295,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("explicit", 8); +x_1 = lean_mk_string_from_bytes("structureProjections", 20); return x_1; } } @@ -1304,7 +1313,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) display implicit arguments", 43); +x_1 = lean_mk_string_from_bytes("(pretty printer) display structure projections using field notation", 67); return x_1; } } @@ -1312,7 +1321,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 0; +x_1 = 1; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_600____closed__3; x_4 = lean_box(x_1); @@ -1349,7 +1358,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("structureInstanceTypes", 22); +x_1 = lean_mk_string_from_bytes("explicit", 8); return x_1; } } @@ -1367,7 +1376,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) display type of structure instances", 52); +x_1 = lean_mk_string_from_bytes("(pretty printer) display implicit arguments", 43); return x_1; } } @@ -1412,7 +1421,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("safeShadowing", 13); +x_1 = lean_mk_string_from_bytes("structureInstanceTypes", 22); return x_1; } } @@ -1430,7 +1439,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) allow variable shadowing if there is no collision", 66); +x_1 = lean_mk_string_from_bytes("(pretty printer) display type of structure instances", 52); return x_1; } } @@ -1438,7 +1447,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 1; +x_1 = 0; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680____closed__3; x_4 = lean_box(x_1); @@ -1475,7 +1484,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("tagAppFns", 9); +x_1 = lean_mk_string_from_bytes("safeShadowing", 13); return x_1; } } @@ -1493,7 +1502,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) tag all constants that are the function in a function application", 82); +x_1 = lean_mk_string_from_bytes("(pretty printer) allow variable shadowing if there is no collision", 66); return x_1; } } @@ -1501,7 +1510,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 0; +x_1 = 1; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720____closed__3; x_4 = lean_box(x_1); @@ -1538,7 +1547,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("proofs", 6); +x_1 = lean_mk_string_from_bytes("tagAppFns", 9); return x_1; } } @@ -1556,7 +1565,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) if set to false, replace proofs appearing as an argument to a function with a placeholder", 106); +x_1 = lean_mk_string_from_bytes("(pretty printer) tag all constants that are the function in a function application", 82); return x_1; } } @@ -1601,26 +1610,25 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("withType", 8); +x_1 = lean_mk_string_from_bytes("proofs", 6); return x_1; } } static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) when eliding a proof (see `pp.proofs`), show its type instead", 78); +x_1 = lean_mk_string_from_bytes("(pretty printer) if set to false, replace proofs appearing as an argument to a function with a placeholder", 106); return x_1; } } @@ -1628,7 +1636,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 1; +x_1 = 0; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__3; x_4 = lean_box(x_1); @@ -1642,13 +1650,12 @@ return x_5; static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__8; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760____closed__1; -x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__1; -x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); -return x_5; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800_(lean_object* x_1) { @@ -1666,25 +1673,26 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("instances", 9); +x_1 = lean_mk_string_from_bytes("withType", 8); return x_1; } } static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__1; -x_3 = l_Lean_Name_mkStr2(x_1, x_2); -return x_3; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) if set to false, replace inst-implicit arguments to explicit applications with placeholders", 108); +x_1 = lean_mk_string_from_bytes("(pretty printer) when eliding a proof (see `pp.proofs`), show its type instead", 78); return x_1; } } @@ -1706,12 +1714,13 @@ return x_5; static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__8; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__1; -x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); -return x_4; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__1; +x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__1; +x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); +return x_5; } } LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840_(lean_object* x_1) { @@ -1729,7 +1738,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("instanceTypes", 13); +x_1 = lean_mk_string_from_bytes("instances", 9); return x_1; } } @@ -1747,7 +1756,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("(pretty printer) when printing explicit applications, show the types of inst-implicit arguments", 95); +x_1 = lean_mk_string_from_bytes("(pretty printer) if set to false, replace inst-implicit arguments to explicit applications with placeholders", 108); return x_1; } } @@ -1755,7 +1764,7 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 0; +x_1 = 1; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880____closed__3; x_4 = lean_box(x_1); @@ -1792,30 +1801,93 @@ static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Op _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("motives", 7); +x_1 = lean_mk_string_from_bytes("instanceTypes", 13); return x_1; } } static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__2() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(pretty printer) when printing explicit applications, show the types of inst-implicit arguments", 95); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 0; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__3; +x_4 = lean_box(x_1); +x_5 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__8; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1; +x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__2; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__4; +x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__5; +x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(x_2, x_3, x_4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("motives", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__2() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("pi", 2); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__2; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__2; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__4() { _start: { lean_object* x_1; @@ -1823,13 +1895,13 @@ x_1 = lean_mk_string_from_bytes("(pretty printer) print all motives that return return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__5() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__4; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__4; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -1838,30 +1910,30 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__6() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__8; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1; -x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__2; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1; +x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__2; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__3; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__5; -x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__6; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__3; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__5; +x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__6; x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__1() { _start: { lean_object* x_1; @@ -1869,18 +1941,18 @@ x_1 = lean_mk_string_from_bytes("nonConst", 8); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__1; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__3() { _start: { lean_object* x_1; @@ -1888,13 +1960,13 @@ x_1 = lean_mk_string_from_bytes("(pretty printer) print all motives that are not return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__3; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -1903,41 +1975,41 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__5() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__8; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1; -x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1; +x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__2; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__4; -x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__5; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__2; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__4; +x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__5; x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__1() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1; x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__2; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__2() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__2() { _start: { lean_object* x_1; @@ -1945,13 +2017,13 @@ x_1 = lean_mk_string_from_bytes("(pretty printer) print all motives", 34); return x_1; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__3() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__3() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 0; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__2; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__2; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -1960,25 +2032,25 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__4() { +static lean_object* _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__8; x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1; x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____closed__2; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__1; -x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__3; -x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__4; +x_2 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__1; +x_3 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__3; +x_4 = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__4; x_5 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_6____spec__1(x_2, x_3, x_4, x_1); return x_5; } @@ -2955,6 +3027,59 @@ x_3 = lean_box(x_2); return x_3; } } +LEAN_EXPORT uint8_t l_Lean_getPPBeta(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = l_Lean_pp_beta; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = l_Lean_KVMap_findCore(x_1, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = lean_unbox(x_4); +lean_dec(x_4); +return x_6; +} +else +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +if (lean_obj_tag(x_7) == 1) +{ +uint8_t x_8; +lean_dec(x_4); +x_8 = lean_ctor_get_uint8(x_7, 0); +lean_dec(x_7); +return x_8; +} +else +{ +uint8_t x_9; +lean_dec(x_7); +x_9 = lean_unbox(x_4); +lean_dec(x_4); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_getPPBeta___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_getPPBeta(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} LEAN_EXPORT uint8_t l_Lean_getPPSafeShadowing(lean_object* x_1) { _start: { @@ -3584,29 +3709,29 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__4); l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__5 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__5(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__5); -l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__6 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__6); -l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__7 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__7(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516____closed__7); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_516_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_structureInstances = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_structureInstances); +l_Lean_pp_beta = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_beta); lean_dec_ref(res); -}l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__1(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__1); -l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__2 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__2(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__2); -l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__3 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__3(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__3); -l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__4 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__4(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__4); -l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__5 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__5(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560____closed__5); -if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_560_(lean_io_mk_world()); +}l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__1); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__2 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__2); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__3 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__3); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__4 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__4); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__5 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__5); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__6 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__6); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__7 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__7(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556____closed__7); +if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_556_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_structureProjections = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_structureProjections); +l_Lean_pp_structureInstances = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_structureInstances); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_600____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_600____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_600____closed__1); @@ -3620,8 +3745,8 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_600____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_600____closed__5); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_600_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_explicit = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_explicit); +l_Lean_pp_structureProjections = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_structureProjections); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_640____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_640____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_640____closed__1); @@ -3635,8 +3760,8 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_640____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_640____closed__5); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_640_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_structureInstanceTypes = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_structureInstanceTypes); +l_Lean_pp_explicit = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_explicit); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680____closed__1); @@ -3650,8 +3775,8 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680____closed__5); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_680_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_safeShadowing = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_safeShadowing); +l_Lean_pp_structureInstanceTypes = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_structureInstanceTypes); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720____closed__1); @@ -3665,8 +3790,8 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720____closed__5); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_720_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_tagAppFns = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_tagAppFns); +l_Lean_pp_safeShadowing = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_safeShadowing); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760____closed__1); @@ -3680,8 +3805,8 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760____closed__5); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_760_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_proofs = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_proofs); +l_Lean_pp_tagAppFns = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_tagAppFns); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__1); @@ -3695,8 +3820,8 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800____closed__5); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_800_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_proofs_withType = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_proofs_withType); +l_Lean_pp_proofs = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_proofs); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__1); @@ -3710,8 +3835,8 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840____closed__5); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_840_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_instances = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_instances); +l_Lean_pp_proofs_withType = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_proofs_withType); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880____closed__1); @@ -3725,8 +3850,8 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880____closed__5); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_880_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_instanceTypes = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_instanceTypes); +l_Lean_pp_instances = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_instances); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__1); @@ -3738,12 +3863,10 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__4); l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__5 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__5(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__5); -l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__6 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__6(); -lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920____closed__6); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_920_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_motives_pi = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_motives_pi); +l_Lean_pp_instanceTypes = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_instanceTypes); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__1); @@ -3755,10 +3878,12 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed_ lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__4); l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__5 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__5(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__5); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__6 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__6(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960____closed__6); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_960_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; -l_Lean_pp_motives_nonConst = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_pp_motives_nonConst); +l_Lean_pp_motives_pi = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_motives_pi); lean_dec_ref(res); }l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__1(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__1); @@ -3768,8 +3893,23 @@ l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__3); l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__4 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__4(); lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__4); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__5 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__5(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000____closed__5); if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1000_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; +l_Lean_pp_motives_nonConst = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_pp_motives_nonConst); +lean_dec_ref(res); +}l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__1 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__1(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__1); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__2 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__2(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__2); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__3 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__3(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__3); +l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__4 = _init_l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__4(); +lean_mark_persistent(l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040____closed__4); +if (builtin) {res = l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_Options___hyg_1040_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; l_Lean_pp_motives_all = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_pp_motives_all); lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c index 61c73cb9ed0f..0e6647cec9d9 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/TopDownAnalyze.c @@ -293,6 +293,7 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_PrettyPrinter_Delaborator_topDownAnalyze___spec__2___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_52____closed__3; +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_hasLevelMVarAtCurrDepth___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_isFOLike___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__26; @@ -513,7 +514,6 @@ lean_object* l_Lean_SubExpr_Pos_push(lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_92____closed__5; uint8_t l_Lean_Expr_binderInfo(lean_object*); LEAN_EXPORT uint8_t l_Lean_getPPAnalyzeTrustSubtypeMk(lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_inspectOutParams_inspectAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_TopDownAnalyze___hyg_12884____closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_isHBinOp___lambda__1___closed__28; @@ -3503,7 +3503,7 @@ lean_inc(x_4); lean_dec(x_1); x_5 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_3, x_5); +x_6 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_3, x_5); lean_dec(x_5); lean_dec(x_3); return x_6; diff --git a/stage0/stdlib/Lean/Server/FileWorker.c b/stage0/stdlib/Lean/Server/FileWorker.c index 3e62912f9a75..c86580231602 100644 --- a/stage0/stdlib/Lean/Server/FileWorker.c +++ b/stage0/stdlib/Lean/Server/FileWorker.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Server.FileWorker -// Imports: Init Init.System.IO Lean.Data.RBMap Lean.Environment Lean.Data.Lsp Lean.Data.Json.FromToJson Lean.Util.Paths Lean.LoadDynlib Lean.Server.Utils Lean.Server.Snapshots Lean.Server.AsyncList Lean.Server.References Lean.Server.FileWorker.Utils Lean.Server.FileWorker.RequestHandling Lean.Server.FileWorker.WidgetRequests Lean.Server.Rpc.Basic Lean.Widget.InteractiveDiagnostic +// Imports: Init Init.System.IO Lean.Data.RBMap Lean.Environment Lean.Data.Lsp Lean.Data.Json.FromToJson Lean.Util.FileSetupInfo Lean.LoadDynlib Lean.Server.Utils Lean.Server.Snapshots Lean.Server.AsyncList Lean.Server.References Lean.Server.FileWorker.Utils Lean.Server.FileWorker.RequestHandling Lean.Server.FileWorker.WidgetRequests Lean.Server.FileWorker.SetupFile Lean.Server.Rpc.Basic Lean.Widget.InteractiveDiagnostic Lean.Server.ImportCompletion #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -15,151 +15,137 @@ extern "C" { #endif lean_object* l_Lean_Server_FileWorker_RpcSession_new(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_buildHeaderEnv___lambda__1(lean_object*, lean_object*, lean_object*); +lean_object* l_ImportCompletion_collectAvailableImports(lean_object*); static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__3; -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_updateDocument___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__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*); uint8_t lean_uint32_to_uint8(uint32_t); LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Server_FileWorker_setupFile(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EIO_toBaseIO___rarg(lean_object*, lean_object*); lean_object* l_Lean_Json_compress(lean_object*); lean_object* l_List_getLast___rarg(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__12; -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__1; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__30; LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_IO_throwServerError___rarg(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__4; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_toString(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_buildCommandState___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__43; LEAN_EXPORT lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Server_FileWorker_RpcSession_keepAliveTimeMs; -lean_object* l_IO_ofExcept___at_IO_Process_output___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___boxed(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__6; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_unfoldCmdSnaps___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l_System_FilePath_join(lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_msgLog(lean_object*); -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4; LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Server_FileWorker_mainLoop___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__33; static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__6; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__25; lean_object* l_Lean_PersistentArray_toArray___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_has_finished(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_takeWhile___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(lean_object*, uint64_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__2; +static lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__4; +LEAN_EXPORT lean_object* l_panic___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__2(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__51; static lean_object* l_panic___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_updateDocument___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__6; +static lean_object* l_Lean_Server_FileWorker_buildHeaderEnv___closed__1; static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfoUpdate___closed__1; lean_object* lean_io_as_task(lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Server_FileWorker_unfoldCmdSnaps___spec__1___closed__1; -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__2; uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(lean_object*, lean_object*); -lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1___closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5(lean_object*, lean_object*); uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); static lean_object* l_Lean_Server_FileWorker_workerMain___closed__1; lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__3; lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8; LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspNotification___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__55; static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__1(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Server_FileWorker_mainLoop___spec__3(uint64_t, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6(lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__1; lean_object* l_IO_FS_Stream_writeLspResponseError___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_uint64_dec_lt(uint64_t, uint64_t); -uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__35; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__39; lean_object* l_Lean_Elab_Command_mkState(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_rpcReleaseRef(size_t, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__61; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleNotification(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t l_Lean_Server_FileWorker_handleDidChange___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcRelease___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__1___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_String_trim(lean_object*); +static lean_object* l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updatePendingRequests___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__21; lean_object* lean_array_fget(lean_object*, lean_object*); -extern lean_object* l_System_FilePath_exeExtension; -static lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__1; static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_System_FilePath_withExtension(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_io_getenv(lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_compileNextCmd(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__69; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_balLeft___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_instMonadEStateM(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_mainLoop___spec__4___at_Lean_Server_FileWorker_mainLoop___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_determineValidSnapshots(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__2; lean_object* l_Lean_Elab_headerToImports(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_buildHeaderEnv(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_AsyncList_waitFind_x3f___rarg(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__17; static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__5; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__19; +LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Server_FileWorker_handleImportCompletionRequest___spec__2(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__40; lean_object* lean_module_name_of_file(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__9; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__3___boxed(lean_object*, lean_object*); lean_object* l_List_get___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_processHeader(lean_object*, lean_object*, lean_object*, lean_object*, uint32_t, uint8_t, lean_object*); -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__8; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__53; LEAN_EXPORT lean_object* l_panic___at_Lean_Server_FileWorker_unfoldCmdSnaps___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__1(lean_object*, lean_object*); lean_object* l_Lean_RBNode_balRight___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__37; -LEAN_EXPORT lean_object* l_panic___at_Lean_Server_FileWorker_updateDocument___spec__3(lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepth; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__1(size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__10(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_server_worker_main(lean_object*, lean_object*); -lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__23; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__2(uint8_t, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__2; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2___closed__1; +static lean_object* l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__64; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_updateDocument___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__49; LEAN_EXPORT lean_object* l_IO_FS_Stream_readLspNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__2(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__58; lean_object* l_Lean_HashMap_ofList___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__5(lean_object*); -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__2; -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_mainLoop(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__34; static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__1; @@ -169,7 +155,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleNotification___boxed(lea static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__18; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcKeepAlive(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__73; -lean_object* lean_io_process_child_wait(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__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_Lean_Server_FileWorker_handleRequest___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__10; LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_mainLoop___spec__4___at_Lean_Server_FileWorker_mainLoop___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -178,51 +164,53 @@ static lean_object* l_panic___at___private_Lean_Server_FileWorker_0__Lean_Server lean_object* l_Lean_Server_findModuleRefs(lean_object*, lean_object*, uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDidChange___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); -lean_object* l_Lean_initSearchPath(lean_object*, lean_object*, lean_object*); -static lean_object* l_panic___at_Lean_Server_FileWorker_updateDocument___spec__3___closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_unfoldCmdSnaps___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_parseNextCmd(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCancelRequest(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readLspNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfoFinal___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__2; lean_object* lean_io_mono_ms_now(lean_object*); lean_object* l_IO_AsyncList_cancel___rarg(lean_object*, lean_object*); lean_object* lean_task_pure(lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCancelRequest___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__14; lean_object* l_Lean_RBNode_appendTrees___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__1; uint8_t l_instDecidableNot___rarg(uint8_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__9(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__36; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* l_EStateM_instInhabitedEStateM___rarg(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__11; static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__3; +LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_determineValidSnapshots___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__5; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__2; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_buildCommandState(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__1; static lean_object* l_Lean_Server_FileWorker_parseParams___rarg___closed__2; -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__15; +static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__1; +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__9; lean_object* l_IO_AsyncList_unfoldAsync___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__7; lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); lean_object* lean_nat_to_int(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__5___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_Server_FileWorker_compileHeader___lambda__1(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_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_uint32_of_nat(lean_object*); +static lean_object* l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__2; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toPArray_x27___rarg(lean_object*); lean_object* l_IO_FS_Stream_readLspMessage(lean_object*, lean_object*); lean_object* l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(lean_object*, lean_object*); @@ -230,8 +218,8 @@ lean_object* l_Lean_Server_Snapshots_Snapshot_diagnostics(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updatePendingRequests(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfoFinal(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_ImportCompletion_isImportCompletionRequest(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__3; -LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfoUpdate(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_handleCancelRequest___spec__1(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__47; @@ -241,70 +229,70 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest___lambda__1(lean_ static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__16; lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_144_(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__13; +lean_object* l_Lean_PersistentArray_append___rarg(lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__2; +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__8; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_unfoldCmdSnaps(lean_object*, lean_object*, lean_object*, uint32_t, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__38; lean_object* l_Array_back_x3f___rarg(lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__7; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__4(lean_object*, lean_object*); lean_object* l_String_firstDiffPos(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_updateDocument___closed__1; lean_object* l_IO_AsyncList_append___rarg(lean_object*, lean_object*); lean_object* l_IO_sleep(uint32_t, lean_object*); -lean_object* l_IO_FS_Handle_readToEnd_loop(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__15; lean_object* l_Lean_FileMap_ofString(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -lean_object* l_System_FilePath_fileName(lean_object*); -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5; lean_object* lean_array_to_list(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_mainLoop___closed__1; +LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleImportCompletionRequest___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_publishProgressAtPos(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -static lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__2; -lean_object* l_IO_appDir(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__59; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcConnectParams____x40_Lean_Data_Lsp_Extra___hyg_1853_(lean_object*); lean_object* l_Lean_Server_DocumentMeta_mkInputContext(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__2___closed__1; lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcReleaseParams____x40_Lean_Data_Lsp_Extra___hyg_2464_(lean_object*); lean_object* l_Lean_Server_FileWorker_CancelToken_new(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__1(lean_object*, lean_object*); -lean_object* lean_io_process_spawn(lean_object*, lean_object*); lean_object* l_Array_toPArray_x27___rarg(lean_object*); static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__4; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__48; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(lean_object*, uint64_t); lean_object* lean_io_map_task(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_mainLoop___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__6(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__5; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_determineValidSnapshots___lambda__2(lean_object*, lean_object*, lean_object*); lean_object* lean_get_stdin(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_dropLast___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(lean_object*, uint8_t, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_queueRequest___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__32; static lean_object* l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__1; lean_object* lean_get_stderr(lean_object*); lean_object* lean_environment_set_main_module(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__45; -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__9; lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__2(lean_object*, lean_object*, lean_object*); extern lean_object* l_Task_Priority_default; extern lean_object* l_IO_instInhabitedError; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_unfoldCmdSnaps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__70; lean_object* l_StateT_instMonadStateT___rarg(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__46; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageLog_empty; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_RequestError_toLspResponseError(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcRelease(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__74; @@ -312,91 +300,78 @@ static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed_ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__67; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__22; -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_determineValidSnapshots___lambda__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__2; lean_object* l_Lean_Lsp_InitializeParams_editDelay(lean_object*); lean_object* lean_get_set_stderr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDidChange(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__3; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__44; -static lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__5(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_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_task_get_own(lean_object*); static lean_object* l_Lean_Server_FileWorker_parseParams___rarg___closed__1; +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Server_FileWorker_handleRequest___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__4(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_determineValidSnapshots___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__27; static lean_object* l_Lean_Server_FileWorker_handleRequest___closed__1; -lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135_(lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__10; -lean_object* l_Array_append___rarg(lean_object*, lean_object*); -lean_object* lean_io_prim_handle_get_line(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__2; +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__1; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__68; lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_handleDocumentHighlight___spec__1(size_t, size_t, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__2; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__20; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__4; static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__10; uint8_t l_Lean_PersistentArray_anyM___at_Lean_MessageLog_hasErrors___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__11; +lean_object* l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__1; static lean_object* l_panic___at_Lean_Server_FileWorker_unfoldCmdSnaps___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__13; +static lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__4___closed__1; LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__1; lean_object* l_Lean_Server_FileWorker_CancelToken_set(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_updateDocument___spec__2___boxed(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__5; uint8_t l_Lean_Server_Snapshots_Snapshot_isAtEnd(lean_object*); lean_object* l_IO_FS_Stream_readMessage(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__3; +lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2224_(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__9; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__52; lean_object* l_IO_FS_Stream_writeLspMessage(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__7; -lean_object* lean_get_prefix(lean_object*); -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6; -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__1; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__7(uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcConnected____x40_Lean_Data_Lsp_Extra___hyg_2036_(uint64_t); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__66; lean_object* l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_588____spec__1(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Server_publishDiagnostics(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__11(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Server_publishProgressDone(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__41; -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_FileWorker_RpcSession_hasExpired(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__11; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__3; extern lean_object* l_Task_Priority_dedicated; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__26; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__31; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__24; -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__14; +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__2; +static lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_mainLoop___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams(lean_object*); lean_object* lean_io_exit(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__2; -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__7; lean_object* l_Lean_Server_foldDocumentChanges(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__2___boxed(lean_object*, lean_object*, lean_object*); @@ -406,31 +381,27 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect(lean_object*, LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(lean_object*, lean_object*); lean_object* l_System_Uri_fileUriToPath_x3f(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__2; -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__4; uint8_t l_Lean_RBNode_isBlack___rarg(lean_object*); lean_object* lean_io_bind_task(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Internal_0__Lean_Lsp_toJsonLeanIleanInfoParams____x40_Lean_Data_Lsp_Internal___hyg_1395_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__8(uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(lean_object*, uint8_t, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__60; -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__3; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__8; -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2159_(lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_IO_AsyncList_waitHead_x3f___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_writeLspResponseError(lean_object*, lean_object*, lean_object*); uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanDidOpenTextDocumentParams____x40_Lean_Data_Lsp_Extra___hyg_221_(lean_object*); extern lean_object* l_Lean_firstFrontendMacroScope; -lean_object* l_String_intercalate(lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__29; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_unfoldCmdSnaps___lambda__1(uint32_t, lean_object*); uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__4; static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_unfoldCmdSnaps___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__28; @@ -438,9 +409,9 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handle LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__2___closed__1; size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__1(size_t, size_t, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__63; +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__13; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__3(lean_object*, uint8_t, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__72; LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__3(lean_object*); @@ -457,37 +428,33 @@ lean_object* l_IO_AsyncList_getFinishedPrefix___rarg(lean_object*, lean_object*) lean_object* l_List_redLength___rarg(lean_object*); lean_object* l_IO_FS_Stream_putStrLn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___rarg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__2___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_determineValidSnapshots___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_HashMap_toList___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__1(lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__56; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_workerMain___boxed__const__1; lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_709_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2(uint64_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_mainLoop___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_load_dynlib(lean_object*, lean_object*); -static lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__1; -LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_updateDocument___lambda__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_eprint___at_IO_eprintln___spec__1(lean_object*, lean_object*); lean_object* lean_int_neg(lean_object*); +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__12; lean_object* l_Lean_Parser_parseHeader(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__12; -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__7; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__71; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__4; static lean_object* l_Lean_Server_FileWorker_handleNotification___closed__2; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__65; lean_object* lean_mk_empty_environment(uint32_t, lean_object*); -lean_object* l_Lean_Json_parse(lean_object*); -static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__1; LEAN_EXPORT lean_object* l_IO_eprintln___at_Lean_Server_FileWorker_initAndRunWorker___spec__5(lean_object*, lean_object*); lean_object* l_Lean_Widget_msgToInteractiveDiagnostic(lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__1(lean_object*, lean_object*, lean_object*); @@ -496,25 +463,22 @@ static lean_object* l_IO_FS_Stream_readNotificationAs___at_Lean_Server_FileWorke lean_object* l_EStateM_bind___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__57; LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initAndRunWorker(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ImportCompletion_find(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_buildCommandState___closed__4; lean_object* l___private_Lean_Data_Lsp_Communication_0__IO_FS_Stream_readLspHeader(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__4; static lean_object* l_Lean_Server_FileWorker_initAndRunWorker___closed__6; static lean_object* l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__3___closed__1; static lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__54; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__3(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_handleLspRequest(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_Snapshots_Snapshot_endPos(lean_object*); lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcKeepAliveParams____x40_Lean_Data_Lsp_Extra___hyg_2703_(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initSrcSearchPath___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcKeepAlive___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__42; lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3(lean_object*, lean_object*); @@ -522,7 +486,6 @@ lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* l_Lean_Server_maybeTee(lean_object*, uint8_t, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_realPathNormalized(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__1(size_t x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1438,7 +1401,7 @@ static lean_object* _init_l___private_Lean_Server_FileWorker_0__Lean_Server_File lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__1; x_2 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__2; -x_3 = lean_unsigned_to_nat(93u); +x_3 = lean_unsigned_to_nat(94u); x_4 = lean_unsigned_to_nat(42u); x_5 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -1983,7 +1946,7 @@ static lean_object* _init_l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__2() lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__1; x_2 = l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__1; -x_3 = lean_unsigned_to_nat(126u); +x_3 = lean_unsigned_to_nat(127u); x_4 = lean_unsigned_to_nat(39u); x_5 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -2264,15 +2227,7 @@ x_8 = l_Lean_Server_FileWorker_unfoldCmdSnaps(x_1, x_2, x_3, x_7, x_5, x_6); return x_8; } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("", 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -2283,486 +2238,451 @@ lean_ctor_set(x_2, 1, x_1); return x_2; } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__2; -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 9); +return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5() { +static lean_object* _init_l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3() { _start: { -uint8_t x_1; lean_object* x_2; lean_object* x_3; -x_1 = 2; -x_2 = lean_box(x_1); -x_3 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_3, 0, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_5, 2); -x_9 = lean_io_prim_handle_get_line(x_8, x_7); -if (lean_obj_tag(x_9) == 0) -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_ctor_get(x_9, 1); -x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_14 = lean_string_dec_eq(x_11, x_13); -if (x_14 == 0) +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint32_t x_14; lean_object* x_15; +x_3 = lean_box(0); +x_4 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_4, 0, x_1); +x_5 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_5, 0, x_4); +x_6 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__2; +x_7 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__1; +x_8 = 0; +x_9 = 2; +x_10 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; +x_11 = lean_alloc_ctor(0, 5, 2); +lean_ctor_set(x_11, 0, x_6); +lean_ctor_set(x_11, 1, x_7); +lean_ctor_set(x_11, 2, x_3); +lean_ctor_set(x_11, 3, x_10); +lean_ctor_set(x_11, 4, x_5); +lean_ctor_set_uint8(x_11, sizeof(void*)*5, x_8); +lean_ctor_set_uint8(x_11, sizeof(void*)*5 + 1, x_9); +x_12 = l_Lean_MessageLog_empty; +x_13 = l_Lean_PersistentArray_push___rarg(x_12, x_11); +x_14 = 0; +x_15 = lean_mk_empty_environment(x_14, x_2); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_free_object(x_9); -x_15 = lean_box(0); -x_16 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; -x_17 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4; -x_18 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5; -lean_inc(x_11); -x_19 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_17); -lean_ctor_set(x_19, 2, x_18); -lean_ctor_set(x_19, 3, x_15); -lean_ctor_set(x_19, 4, x_15); -lean_ctor_set(x_19, 5, x_11); -lean_ctor_set(x_19, 6, x_15); -lean_ctor_set(x_19, 7, x_15); -lean_ctor_set(x_19, 8, x_15); -x_20 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_21 = lean_array_push(x_20, x_19); -lean_inc(x_3); -lean_inc(x_2); -x_22 = l_Lean_Server_publishDiagnostics(x_2, x_21, x_3, x_12); -if (lean_obj_tag(x_22) == 0) +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) { -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_string_append(x_6, x_11); -lean_dec(x_11); -x_6 = x_24; -x_7 = x_23; -goto _start; +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_13); +lean_ctor_set(x_15, 0, x_18); +return x_15; } else { -uint8_t x_26; -lean_dec(x_11); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_26 = !lean_is_exclusive(x_22); -if (x_26 == 0) -{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_15); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_13); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); return x_22; } +} else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_22, 0); -x_28 = lean_ctor_get(x_22, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_22); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} +uint8_t x_23; +lean_dec(x_13); +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) +{ +return x_15; } else { -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_ctor_set(x_9, 0, x_6); -return x_9; +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_15, 0); +x_25 = lean_ctor_get(x_15, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_15); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } -else +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_buildHeaderEnv___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: { -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_ctor_get(x_9, 0); -x_31 = lean_ctor_get(x_9, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_9); -x_32 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_33 = lean_string_dec_eq(x_30, x_32); -if (x_33 == 0) +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_34 = lean_box(0); -x_35 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; -x_36 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4; -x_37 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5; -lean_inc(x_30); -x_38 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_38, 0, x_35); -lean_ctor_set(x_38, 1, x_36); -lean_ctor_set(x_38, 2, x_37); -lean_ctor_set(x_38, 3, x_34); -lean_ctor_set(x_38, 4, x_34); -lean_ctor_set(x_38, 5, x_30); -lean_ctor_set(x_38, 6, x_34); -lean_ctor_set(x_38, 7, x_34); -lean_ctor_set(x_38, 8, x_34); -x_39 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_40 = lean_array_push(x_39, x_38); -lean_inc(x_3); -lean_inc(x_2); -x_41 = l_Lean_Server_publishDiagnostics(x_2, x_40, x_3, x_31); -if (lean_obj_tag(x_41) == 0) +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = l_System_Uri_fileUriToPath_x3f(x_6); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_string_append(x_6, x_30); -lean_dec(x_30); -x_6 = x_43; -x_7 = x_42; -goto _start; +lean_object* x_8; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_3); +return x_8; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_30); -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_45 = lean_ctor_get(x_41, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_41, 1); -lean_inc(x_46); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_47 = x_41; -} else { - lean_dec_ref(x_41); - x_47 = lean_box(0); -} -if (lean_is_scalar(x_47)) { - x_48 = lean_alloc_ctor(1, 2, 0); -} else { - x_48 = x_47; -} -lean_ctor_set(x_48, 0, x_45); -lean_ctor_set(x_48, 1, x_46); -return x_48; -} +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_box(0); +x_11 = lean_module_name_of_file(x_9, x_10, x_3); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_environment_set_main_module(x_5, x_13); +lean_ctor_set(x_2, 0, x_14); +lean_ctor_set(x_11, 0, x_2); +return x_11; } else { -lean_object* x_49; -lean_dec(x_30); -lean_dec(x_3); -lean_dec(x_2); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_6); -lean_ctor_set(x_49, 1, x_31); -return x_49; -} +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +x_16 = lean_ctor_get(x_11, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_11); +x_17 = lean_environment_set_main_module(x_5, x_15); +lean_ctor_set(x_2, 0, x_17); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_16); +return x_18; } } else { -uint8_t x_50; -lean_dec(x_6); -lean_dec(x_3); -lean_dec(x_2); -x_50 = !lean_is_exclusive(x_9); -if (x_50 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_11); +if (x_19 == 0) { -return x_9; +lean_object* x_20; +x_20 = lean_ctor_get(x_11, 0); +lean_dec(x_20); +lean_ctor_set_tag(x_11, 0); +lean_ctor_set(x_11, 0, x_2); +return x_11; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_9, 0); -x_52 = lean_ctor_get(x_9, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_9); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_dec(x_11); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_2); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: +else { -lean_object* x_8; -x_8 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_5); -lean_dec(x_4); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_2, 0); +x_24 = lean_ctor_get(x_2, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_2); +x_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) +x_26 = l_System_Uri_fileUriToPath_x3f(x_25); +if (lean_obj_tag(x_26) == 0) { -return x_3; +lean_object* x_27; lean_object* x_28; +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +return x_28; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = lean_ctor_get(x_5, 0); -lean_inc(x_8); -lean_dec(x_5); -x_9 = 1; -x_10 = l_Lean_Name_toString(x_8, x_9); -x_11 = 1; -x_12 = lean_usize_add(x_2, x_11); -x_13 = lean_array_uset(x_7, x_2, x_10); -x_2 = x_12; -x_3 = x_13; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_26, 0); +lean_inc(x_29); +lean_dec(x_26); +x_30 = lean_box(0); +x_31 = lean_module_name_of_file(x_29, x_30, x_3); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_4; lean_object* x_5; -x_4 = l_List_reverse___rarg(x_2); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -return x_5; +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_34 = x_31; +} else { + lean_dec_ref(x_31); + x_34 = lean_box(0); +} +x_35 = lean_environment_set_main_module(x_23, x_32); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_24); +if (lean_is_scalar(x_34)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_34; +} +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_33); +return x_37; } else { -uint8_t x_6; -x_6 = !lean_is_exclusive(x_1); -if (x_6 == 0) +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_39 = x_31; +} else { + lean_dec_ref(x_31); + x_39 = lean_box(0); +} +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_24); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; + lean_ctor_set_tag(x_41, 0); +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +} +} +} +} +static lean_object* _init_l_Lean_Server_FileWorker_buildHeaderEnv___closed__1() { +_start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_1, 0); -x_8 = lean_ctor_get(x_1, 1); -x_9 = l_Lean_realPathNormalized(x_7, x_3); -if (lean_obj_tag(x_9) == 0) +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Imports are out of date and must be rebuilt; use the \"Restart File\" command in your editor.", 91); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_buildHeaderEnv(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set(x_1, 0, x_10); +lean_object* x_5; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +switch (lean_obj_tag(x_5)) { +case 2: { -lean_object* _tmp_0 = x_8; -lean_object* _tmp_1 = x_1; -lean_object* _tmp_2 = x_11; -x_1 = _tmp_0; -x_2 = _tmp_1; -x_3 = _tmp_2; -} -goto _start; +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +x_6 = l_Lean_Server_FileWorker_buildHeaderEnv___closed__1; +x_7 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment(x_6, x_4); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Server_FileWorker_buildHeaderEnv___lambda__1(x_1, x_8, x_9); +return x_10; } else { -uint8_t x_13; -lean_free_object(x_1); -lean_dec(x_8); -lean_dec(x_2); -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) +uint8_t x_11; +lean_dec(x_1); +x_11 = !lean_is_exclusive(x_7); +if (x_11 == 0) { -return x_9; +return x_7; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_9, 0); -x_15 = lean_ctor_get(x_9, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_9); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +return x_14; } } } -else +case 3: +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +lean_dec(x_2); +x_15 = lean_ctor_get(x_5, 0); +lean_inc(x_15); +lean_dec(x_5); +x_16 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment(x_15, x_4); +if (lean_obj_tag(x_16) == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_1, 0); -x_18 = lean_ctor_get(x_1, 1); -lean_inc(x_18); +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Server_FileWorker_buildHeaderEnv___lambda__1(x_1, x_17, x_18); +return x_19; +} +else +{ +uint8_t x_20; lean_dec(x_1); -x_19 = l_Lean_realPathNormalized(x_17, x_3); -if (lean_obj_tag(x_19) == 0) +x_20 = !lean_is_exclusive(x_16); +if (x_20 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_2); -x_1 = x_18; -x_2 = x_22; -x_3 = x_21; -goto _start; +return x_16; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_dec(x_18); -lean_dec(x_2); -x_24 = lean_ctor_get(x_19, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_19, 1); -lean_inc(x_25); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_26 = x_19; -} else { - lean_dec_ref(x_19); - x_26 = lean_box(0); -} -if (lean_is_scalar(x_26)) { - x_27 = lean_alloc_ctor(1, 2, 0); -} else { - x_27 = x_26; -} -lean_ctor_set(x_27, 0, x_24); -lean_ctor_set(x_27, 1, x_25); -return x_27; -} -} +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_16); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; -x_6 = lean_usize_dec_eq(x_2, x_3); -if (x_6 == 0) +default: { -lean_object* x_7; lean_object* x_8; -lean_dec(x_4); -x_7 = lean_array_uget(x_1, x_2); -x_8 = lean_load_dynlib(x_7, x_5); -lean_dec(x_7); -if (lean_obj_tag(x_8) == 0) +lean_object* x_24; lean_object* x_25; uint32_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; +lean_dec(x_5); +x_24 = lean_ctor_get(x_3, 2); +lean_inc(x_24); +lean_dec(x_3); +lean_inc(x_1); +x_25 = l_Lean_Server_DocumentMeta_mkInputContext(x_1); +x_26 = 0; +x_27 = l_Lean_MessageLog_empty; +x_28 = 1; +x_29 = l_Lean_Elab_processHeader(x_2, x_24, x_27, x_25, x_26, x_28, x_4); +lean_dec(x_25); +lean_dec(x_2); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = 1; -x_12 = lean_usize_add(x_2, x_11); -x_2 = x_12; -x_4 = x_9; -x_5 = x_10; -goto _start; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_Server_FileWorker_buildHeaderEnv___lambda__1(x_1, x_30, x_31); +return x_32; } else { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_8); -if (x_14 == 0) +uint8_t x_33; +lean_dec(x_1); +x_33 = !lean_is_exclusive(x_29); +if (x_33 == 0) { -return x_8; +return x_29; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_8, 0); -x_16 = lean_ctor_get(x_8, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_8); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_29, 0); +x_35 = lean_ctor_get(x_29, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_29); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } -else -{ -lean_object* x_18; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_4); -lean_ctor_set(x_18, 1, x_5); -return x_18; } } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__1() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" ", 1); +x_1 = lean_mk_string_from_bytes("import", 6); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__2() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__2() { _start: { -uint8_t x_1; uint8_t x_2; lean_object* x_3; -x_1 = 2; -x_2 = 0; -x_3 = lean_alloc_ctor(0, 0, 3); -lean_ctor_set_uint8(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, 1, x_2); -lean_ctor_set_uint8(x_3, 2, x_2); +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__3() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -2771,7210 +2691,5780 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__4() { +static lean_object* _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__4() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("`", 1); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__3; +x_2 = l_Array_toPArray_x27___rarg(x_1); +return x_2; } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__5() { +LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("` failed:\n", 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6() { -_start: +if (lean_obj_tag(x_1) == 0) { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("\nstderr:\n", 9); -return x_1; -} +lean_object* x_3; +x_3 = l_List_reverse___rarg(x_2); +return x_3; } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__7() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Imports are out of date and must be rebuilt; use the \"Restart File\" command in your editor.\n\n", 93); -return x_1; +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__2; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +x_9 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__4; +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_11); +{ +lean_object* _tmp_0 = x_6; +lean_object* _tmp_1 = x_1; +x_1 = _tmp_0; +x_2 = _tmp_1; } +goto _start; } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__8() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("invalid output from `", 21); -return x_1; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_1); +x_15 = l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__2; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +x_17 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__4; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_2); +x_1 = x_14; +x_2 = x_20; +goto _start; +} +} } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__9() { +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("`:\n", 3); +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__2() { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; -lean_inc(x_5); -x_8 = lean_array_to_list(lean_box(0), x_5); -lean_inc(x_1); -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_8); -x_10 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__1; -x_11 = l_String_intercalate(x_10, x_9); -x_12 = lean_box(0); -x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__2; -x_14 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__3; -x_15 = 0; -lean_inc(x_5); -lean_inc(x_1); -x_16 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_1); -lean_ctor_set(x_16, 2, x_5); -lean_ctor_set(x_16, 3, x_12); -lean_ctor_set(x_16, 4, x_14); -lean_ctor_set_uint8(x_16, sizeof(void*)*5, x_15); -x_17 = lean_io_process_spawn(x_16, x_7); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -lean_inc(x_18); -x_21 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___boxed), 7, 6); -lean_closure_set(x_21, 0, x_1); -lean_closure_set(x_21, 1, x_2); -lean_closure_set(x_21, 2, x_3); -lean_closure_set(x_21, 3, x_5); -lean_closure_set(x_21, 4, x_18); -lean_closure_set(x_21, 5, x_20); -x_22 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); -lean_closure_set(x_22, 0, x_21); -x_23 = l_Task_Priority_dedicated; -x_24 = lean_io_as_task(x_22, x_23, x_19); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_ctor_get(x_18, 1); -lean_inc(x_27); -x_28 = l_IO_FS_Handle_readToEnd_loop(x_27, x_20, x_26); -lean_dec(x_27); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = l_String_trim(x_29); -lean_dec(x_29); -x_32 = lean_task_get_own(x_25); -x_33 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_32, x_30); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_io_process_child_wait(x_13, x_18, x_35); -lean_dec(x_18); -if (lean_obj_tag(x_36) == 0) -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) -{ -lean_object* x_38; lean_object* x_39; uint32_t x_40; uint32_t x_41; uint8_t x_42; -x_38 = lean_ctor_get(x_36, 0); -x_39 = lean_ctor_get(x_36, 1); -x_40 = 0; -x_41 = lean_unbox_uint32(x_38); -x_42 = lean_uint32_dec_eq(x_41, x_40); -if (x_42 == 0) -{ -uint32_t x_43; uint32_t x_44; uint8_t x_45; -x_43 = 2; -x_44 = lean_unbox_uint32(x_38); -x_45 = lean_uint32_dec_eq(x_44, x_43); -if (x_45 == 0) -{ -uint32_t x_46; uint32_t x_47; uint8_t x_48; -lean_free_object(x_36); -x_46 = 3; -x_47 = lean_unbox_uint32(x_38); -lean_dec(x_38); -x_48 = lean_uint32_dec_eq(x_47, x_46); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_49 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__4; -x_50 = lean_string_append(x_49, x_11); -lean_dec(x_11); -x_51 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__5; -x_52 = lean_string_append(x_50, x_51); -x_53 = lean_string_append(x_52, x_31); -lean_dec(x_31); -x_54 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6; -x_55 = lean_string_append(x_53, x_54); -x_56 = lean_string_append(x_55, x_34); -lean_dec(x_34); -x_57 = lean_string_append(x_56, x_20); -x_58 = l_IO_throwServerError___rarg(x_57, x_39); -return x_58; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -lean_dec(x_34); -lean_dec(x_11); -x_59 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__7; -x_60 = lean_string_append(x_59, x_31); -lean_dec(x_31); -x_61 = lean_string_append(x_60, x_20); -x_62 = l_IO_throwServerError___rarg(x_61, x_39); -return x_62; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Server_FileWorker_buildCommandState___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } -else +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__3() { +_start: { -lean_object* x_63; -lean_dec(x_38); -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_11); -x_63 = lean_box(0); -lean_ctor_set(x_36, 0, x_63); -return x_36; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Server_FileWorker_buildCommandState___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } -else -{ -lean_object* x_64; -lean_free_object(x_36); -lean_dec(x_38); -lean_inc(x_31); -x_64 = l_Lean_Json_parse(x_31); -if (lean_obj_tag(x_64) == 0) +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__4() { +_start: { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -lean_dec(x_64); -x_65 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__8; -x_66 = lean_string_append(x_65, x_11); -lean_dec(x_11); -x_67 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__9; -x_68 = lean_string_append(x_66, x_67); -x_69 = lean_string_append(x_68, x_31); -lean_dec(x_31); -x_70 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6; -x_71 = lean_string_append(x_69, x_70); -x_72 = lean_string_append(x_71, x_34); -lean_dec(x_34); -x_73 = lean_string_append(x_72, x_20); -x_74 = l_IO_throwServerError___rarg(x_73, x_39); -return x_74; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Server_FileWorker_buildCommandState___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } -else -{ -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_64, 0); -lean_inc(x_75); -lean_dec(x_64); -x_76 = l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135_(x_75); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_76); -x_77 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__8; -x_78 = lean_string_append(x_77, x_11); -lean_dec(x_11); -x_79 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__9; -x_80 = lean_string_append(x_78, x_79); -x_81 = lean_string_append(x_80, x_31); -lean_dec(x_31); -x_82 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6; -x_83 = lean_string_append(x_81, x_82); -x_84 = lean_string_append(x_83, x_34); -lean_dec(x_34); -x_85 = lean_string_append(x_84, x_20); -x_86 = l_IO_throwServerError___rarg(x_85, x_39); -return x_86; } -else -{ -lean_object* x_87; lean_object* x_88; -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_11); -x_87 = lean_ctor_get(x_76, 0); -lean_inc(x_87); -lean_dec(x_76); -x_88 = lean_get_prefix(x_39); -if (lean_obj_tag(x_88) == 0) -{ -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_89 = lean_ctor_get(x_88, 0); -lean_inc(x_89); -x_90 = lean_ctor_get(x_88, 1); -lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_ctor_get(x_87, 0); -lean_inc(x_91); -x_92 = l_Lean_initSearchPath(x_89, x_91, x_90); -if (lean_obj_tag(x_92) == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_94 = lean_ctor_get(x_87, 2); -lean_inc(x_94); -x_95 = lean_array_get_size(x_94); -x_96 = lean_unsigned_to_nat(0u); -x_97 = lean_nat_dec_lt(x_96, x_95); -if (x_97 == 0) +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__5() { +_start: { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_95); -lean_dec(x_94); -x_98 = lean_ctor_get(x_87, 1); -lean_inc(x_98); -lean_dec(x_87); -x_99 = lean_box(0); -x_100 = l_List_mapM_loop___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__2(x_98, x_99, x_93); -return x_100; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Server_FileWorker_buildCommandState___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } -else -{ -uint8_t x_101; -x_101 = lean_nat_dec_le(x_95, x_95); -if (x_101 == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_95); -lean_dec(x_94); -x_102 = lean_ctor_get(x_87, 1); -lean_inc(x_102); -lean_dec(x_87); -x_103 = lean_box(0); -x_104 = l_List_mapM_loop___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__2(x_102, x_103, x_93); -return x_104; } -else -{ -size_t x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_usize_of_nat(x_95); -lean_dec(x_95); -x_106 = lean_box(0); -x_107 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__3(x_94, x_4, x_105, x_106, x_93); -lean_dec(x_94); -if (lean_obj_tag(x_107) == 0) +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__6() { +_start: { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_109 = lean_ctor_get(x_87, 1); -lean_inc(x_109); -lean_dec(x_87); -x_110 = lean_box(0); -x_111 = l_List_mapM_loop___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__2(x_109, x_110, x_108); -return x_111; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_Server_FileWorker_buildCommandState___closed__3; +x_3 = l_Lean_Server_FileWorker_buildCommandState___closed__4; +x_4 = l_Lean_Server_FileWorker_buildCommandState___closed__5; +x_5 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 2, x_1); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set(x_5, 4, x_3); +lean_ctor_set(x_5, 5, x_4); +lean_ctor_set(x_5, 6, x_2); +lean_ctor_set(x_5, 7, x_3); +lean_ctor_set(x_5, 8, x_3); +return x_5; } -else -{ -uint8_t x_112; -lean_dec(x_87); -x_112 = !lean_is_exclusive(x_107); -if (x_112 == 0) -{ -return x_107; } -else +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__7() { +_start: { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_107, 0); -x_114 = lean_ctor_get(x_107, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_107); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -} +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_worker", 7); +return x_1; } } -else -{ -uint8_t x_116; -lean_dec(x_87); -x_116 = !lean_is_exclusive(x_92); -if (x_116 == 0) +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__8() { +_start: { -return x_92; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Server_FileWorker_buildCommandState___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } -else -{ -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_92, 0); -x_118 = lean_ctor_get(x_92, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_92); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; } +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Server_FileWorker_buildCommandState___closed__8; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } -else -{ -uint8_t x_120; -lean_dec(x_87); -x_120 = !lean_is_exclusive(x_88); -if (x_120 == 0) +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__10() { +_start: { -return x_88; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("header", 6); +return x_1; } -else +} +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__11() { +_start: { -lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_121 = lean_ctor_get(x_88, 0); -x_122 = lean_ctor_get(x_88, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_88); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_121); -lean_ctor_set(x_123, 1, x_122); -return x_123; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Server_FileWorker_buildCommandState___closed__10; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_firstFrontendMacroScope; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_nat_add(x_1, x_2); +return x_3; } } +static lean_object* _init_l_Lean_Server_FileWorker_buildCommandState___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_maxRecDepth; +return x_1; } } -else -{ -lean_object* x_124; lean_object* x_125; uint32_t x_126; uint32_t x_127; uint8_t x_128; -x_124 = lean_ctor_get(x_36, 0); -x_125 = lean_ctor_get(x_36, 1); -lean_inc(x_125); -lean_inc(x_124); -lean_dec(x_36); -x_126 = 0; -x_127 = lean_unbox_uint32(x_124); -x_128 = lean_uint32_dec_eq(x_127, x_126); -if (x_128 == 0) -{ -uint32_t x_129; uint32_t x_130; uint8_t x_131; -x_129 = 2; -x_130 = lean_unbox_uint32(x_124); -x_131 = lean_uint32_dec_eq(x_130, x_129); -if (x_131 == 0) +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_buildCommandState(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: { -uint32_t x_132; uint32_t x_133; uint8_t x_134; -x_132 = 3; -x_133 = lean_unbox_uint32(x_124); -lean_dec(x_124); -x_134 = lean_uint32_dec_eq(x_133, x_132); -if (x_134 == 0) +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_6 = lean_ctor_get(x_1, 2); +x_7 = lean_box(0); +x_8 = l_Lean_Server_FileWorker_buildCommandState___closed__6; +x_9 = lean_box(0); +x_10 = l_Lean_Server_FileWorker_buildCommandState___closed__9; +lean_inc(x_6); +lean_inc(x_3); +x_11 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_11, 0, x_3); +lean_ctor_set(x_11, 1, x_6); +lean_ctor_set(x_11, 2, x_8); +lean_ctor_set(x_11, 3, x_7); +lean_ctor_set(x_11, 4, x_9); +lean_ctor_set(x_11, 5, x_7); +lean_ctor_set(x_11, 6, x_10); +x_12 = l_Lean_Server_FileWorker_buildCommandState___closed__11; +lean_inc(x_2); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_2); +x_14 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_2, x_15); +lean_dec(x_2); +x_17 = l_Lean_Syntax_getArgs(x_16); +lean_dec(x_16); +x_18 = lean_array_to_list(lean_box(0), x_17); +x_19 = l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1(x_18, x_7); +x_20 = l_List_toPArray_x27___rarg(x_19); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_21); +x_23 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; +x_24 = lean_array_push(x_23, x_22); +x_25 = l_Array_toPArray_x27___rarg(x_24); +lean_dec(x_24); +x_26 = 1; +x_27 = l_Lean_Server_FileWorker_buildCommandState___closed__4; +x_28 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_25); +lean_ctor_set_uint8(x_28, sizeof(void*)*2, x_26); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_29 = l_Lean_Elab_Command_mkState(x_3, x_4, x_5); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_135 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__4; -x_136 = lean_string_append(x_135, x_11); -lean_dec(x_11); -x_137 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__5; -x_138 = lean_string_append(x_136, x_137); -x_139 = lean_string_append(x_138, x_31); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_31 = lean_ctor_get(x_29, 7); lean_dec(x_31); -x_140 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6; -x_141 = lean_string_append(x_139, x_140); -x_142 = lean_string_append(x_141, x_34); +x_32 = lean_ctor_get(x_29, 5); +lean_dec(x_32); +x_33 = lean_ctor_get(x_29, 4); +lean_dec(x_33); +x_34 = lean_ctor_get(x_29, 3); lean_dec(x_34); -x_143 = lean_string_append(x_142, x_20); -x_144 = l_IO_throwServerError___rarg(x_143, x_125); -return x_144; +x_35 = lean_ctor_get(x_29, 1); +lean_dec(x_35); +x_36 = lean_ctor_get(x_29, 0); +lean_dec(x_36); +x_37 = l_Lean_Server_FileWorker_buildCommandState___closed__13; +x_38 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_5, x_37); +lean_dec(x_5); +x_39 = l_Lean_Server_FileWorker_buildCommandState___closed__12; +lean_ctor_set(x_29, 7, x_28); +lean_ctor_set(x_29, 5, x_15); +lean_ctor_set(x_29, 4, x_38); +lean_ctor_set(x_29, 3, x_39); +lean_ctor_set(x_29, 1, x_4); +lean_ctor_set(x_29, 0, x_3); +return x_29; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -lean_dec(x_34); -lean_dec(x_11); -x_145 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__7; -x_146 = lean_string_append(x_145, x_31); -lean_dec(x_31); -x_147 = lean_string_append(x_146, x_20); -x_148 = l_IO_throwServerError___rarg(x_147, x_125); -return x_148; +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_40 = lean_ctor_get(x_29, 2); +x_41 = lean_ctor_get(x_29, 6); +x_42 = lean_ctor_get(x_29, 8); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_29); +x_43 = l_Lean_Server_FileWorker_buildCommandState___closed__13; +x_44 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_5, x_43); +lean_dec(x_5); +x_45 = l_Lean_Server_FileWorker_buildCommandState___closed__12; +x_46 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_46, 0, x_3); +lean_ctor_set(x_46, 1, x_4); +lean_ctor_set(x_46, 2, x_40); +lean_ctor_set(x_46, 3, x_45); +lean_ctor_set(x_46, 4, x_44); +lean_ctor_set(x_46, 5, x_15); +lean_ctor_set(x_46, 6, x_41); +lean_ctor_set(x_46, 7, x_28); +lean_ctor_set(x_46, 8, x_42); +return x_46; } } -else +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_buildCommandState___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: { -lean_object* x_149; lean_object* x_150; -lean_dec(x_124); -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_11); -x_149 = lean_box(0); -x_150 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_150, 0, x_149); -lean_ctor_set(x_150, 1, x_125); -return x_150; +lean_object* x_6; +x_6 = l_Lean_Server_FileWorker_buildCommandState(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; } } -else +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__3(lean_object* x_1, uint8_t x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { +_start: { -lean_object* x_151; -lean_dec(x_124); -lean_inc(x_31); -x_151 = l_Lean_Json_parse(x_31); -if (lean_obj_tag(x_151) == 0) +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_4, x_3); +if (x_7 == 0) { -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -lean_dec(x_151); -x_152 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__8; -x_153 = lean_string_append(x_152, x_11); -lean_dec(x_11); -x_154 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__9; -x_155 = lean_string_append(x_153, x_154); -x_156 = lean_string_append(x_155, x_31); -lean_dec(x_31); -x_157 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6; -x_158 = lean_string_append(x_156, x_157); -x_159 = lean_string_append(x_158, x_34); -lean_dec(x_34); -x_160 = lean_string_append(x_159, x_20); -x_161 = l_IO_throwServerError___rarg(x_160, x_125); -return x_161; +lean_object* x_8; +lean_dec(x_1); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_6); +return x_8; } else { -lean_object* x_162; lean_object* x_163; -x_162 = lean_ctor_get(x_151, 0); -lean_inc(x_162); -lean_dec(x_151); -x_163 = l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135_(x_162); -if (lean_obj_tag(x_163) == 0) -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -lean_dec(x_163); -x_164 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__8; -x_165 = lean_string_append(x_164, x_11); -lean_dec(x_11); -x_166 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__9; -x_167 = lean_string_append(x_165, x_166); -x_168 = lean_string_append(x_167, x_31); -lean_dec(x_31); -x_169 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6; -x_170 = lean_string_append(x_168, x_169); -x_171 = lean_string_append(x_170, x_34); -lean_dec(x_34); -x_172 = lean_string_append(x_171, x_20); -x_173 = l_IO_throwServerError___rarg(x_172, x_125); -return x_173; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_9 = lean_array_uget(x_5, x_4); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_5, x_4, x_10); +lean_inc(x_1); +x_12 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__2(x_1, x_2, x_9, x_6); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = 1; +x_16 = lean_usize_add(x_4, x_15); +x_17 = lean_array_uset(x_11, x_4, x_13); +x_4 = x_16; +x_5 = x_17; +x_6 = x_14; +goto _start; } -else -{ -lean_object* x_174; lean_object* x_175; -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_11); -x_174 = lean_ctor_get(x_163, 0); -lean_inc(x_174); -lean_dec(x_163); -x_175 = lean_get_prefix(x_125); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -lean_dec(x_175); -x_178 = lean_ctor_get(x_174, 0); -lean_inc(x_178); -x_179 = l_Lean_initSearchPath(x_176, x_178, x_177); -if (lean_obj_tag(x_179) == 0) -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; -x_180 = lean_ctor_get(x_179, 1); -lean_inc(x_180); -lean_dec(x_179); -x_181 = lean_ctor_get(x_174, 2); -lean_inc(x_181); -x_182 = lean_array_get_size(x_181); -x_183 = lean_unsigned_to_nat(0u); -x_184 = lean_nat_dec_lt(x_183, x_182); -if (x_184 == 0) -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; -lean_dec(x_182); -lean_dec(x_181); -x_185 = lean_ctor_get(x_174, 1); -lean_inc(x_185); -lean_dec(x_174); -x_186 = lean_box(0); -x_187 = l_List_mapM_loop___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__2(x_185, x_186, x_180); -return x_187; } -else -{ -uint8_t x_188; -x_188 = lean_nat_dec_le(x_182, x_182); -if (x_188 == 0) -{ -lean_object* x_189; lean_object* x_190; lean_object* x_191; -lean_dec(x_182); -lean_dec(x_181); -x_189 = lean_ctor_get(x_174, 1); -lean_inc(x_189); -lean_dec(x_174); -x_190 = lean_box(0); -x_191 = l_List_mapM_loop___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__2(x_189, x_190, x_180); -return x_191; } -else +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(lean_object* x_1, uint8_t x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { +_start: { -size_t x_192; lean_object* x_193; lean_object* x_194; -x_192 = lean_usize_of_nat(x_182); -lean_dec(x_182); -x_193 = lean_box(0); -x_194 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__3(x_181, x_4, x_192, x_193, x_180); -lean_dec(x_181); -if (lean_obj_tag(x_194) == 0) +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_4, x_3); +if (x_7 == 0) { -lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_195 = lean_ctor_get(x_194, 1); -lean_inc(x_195); -lean_dec(x_194); -x_196 = lean_ctor_get(x_174, 1); -lean_inc(x_196); -lean_dec(x_174); -x_197 = lean_box(0); -x_198 = l_List_mapM_loop___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__2(x_196, x_197, x_195); -return x_198; +lean_object* x_8; +lean_dec(x_1); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_6); +return x_8; } else { -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; -lean_dec(x_174); -x_199 = lean_ctor_get(x_194, 0); -lean_inc(x_199); -x_200 = lean_ctor_get(x_194, 1); -lean_inc(x_200); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - x_201 = x_194; -} else { - lean_dec_ref(x_194); - x_201 = lean_box(0); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_9 = lean_array_uget(x_5, x_4); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_5, x_4, x_10); +x_12 = lean_ctor_get(x_1, 2); +lean_inc(x_12); +x_13 = l_Lean_Widget_msgToInteractiveDiagnostic(x_12, x_9, x_2, x_6); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = lean_usize_add(x_4, x_16); +x_18 = lean_array_uset(x_11, x_4, x_14); +x_4 = x_17; +x_5 = x_18; +x_6 = x_15; +goto _start; } -if (lean_is_scalar(x_201)) { - x_202 = lean_alloc_ctor(1, 2, 0); -} else { - x_202 = x_201; } -lean_ctor_set(x_202, 0, x_199); -lean_ctor_set(x_202, 1, x_200); -return x_202; } +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_array_get_size(x_6); +x_8 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_9 = 0; +x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__3(x_1, x_2, x_8, x_9, x_6, x_4); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; +x_12 = lean_ctor_get(x_10, 0); +lean_ctor_set(x_3, 0, x_12); +lean_ctor_set(x_10, 0, x_3); +return x_10; } +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_10, 0); +x_14 = lean_ctor_get(x_10, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_10); +lean_ctor_set(x_3, 0, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_3); +lean_ctor_set(x_15, 1, x_14); +return x_15; } } else { -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -lean_dec(x_174); -x_203 = lean_ctor_get(x_179, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_179, 1); -lean_inc(x_204); -if (lean_is_exclusive(x_179)) { - lean_ctor_release(x_179, 0); - lean_ctor_release(x_179, 1); - x_205 = x_179; +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_16 = lean_ctor_get(x_3, 0); +lean_inc(x_16); +lean_dec(x_3); +x_17 = lean_array_get_size(x_16); +x_18 = lean_usize_of_nat(x_17); +lean_dec(x_17); +x_19 = 0; +x_20 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__3(x_1, x_2, x_18, x_19, x_16, x_4); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_23 = x_20; } else { - lean_dec_ref(x_179); - x_205 = lean_box(0); + lean_dec_ref(x_20); + x_23 = lean_box(0); } -if (lean_is_scalar(x_205)) { - x_206 = lean_alloc_ctor(1, 2, 0); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_21); +if (lean_is_scalar(x_23)) { + x_25 = lean_alloc_ctor(0, 2, 0); } else { - x_206 = x_205; + x_25 = x_23; } -lean_ctor_set(x_206, 0, x_203); -lean_ctor_set(x_206, 1, x_204); -return x_206; +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_22); +return x_25; } } else { -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; -lean_dec(x_174); -x_207 = lean_ctor_get(x_175, 0); -lean_inc(x_207); -x_208 = lean_ctor_get(x_175, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_209 = x_175; -} else { - lean_dec_ref(x_175); - x_209 = lean_box(0); -} -if (lean_is_scalar(x_209)) { - x_210 = lean_alloc_ctor(1, 2, 0); -} else { - x_210 = x_209; -} -lean_ctor_set(x_210, 0, x_207); -lean_ctor_set(x_210, 1, x_208); -return x_210; -} -} -} -} -} -} -else +uint8_t x_26; +x_26 = !lean_is_exclusive(x_3); +if (x_26 == 0) { -uint8_t x_211; -lean_dec(x_34); -lean_dec(x_31); -lean_dec(x_11); -x_211 = !lean_is_exclusive(x_36); -if (x_211 == 0) +lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; uint8_t x_32; +x_27 = lean_ctor_get(x_3, 0); +x_28 = lean_array_get_size(x_27); +x_29 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_30 = 0; +x_31 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(x_1, x_2, x_29, x_30, x_27, x_4); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -return x_36; +lean_object* x_33; +x_33 = lean_ctor_get(x_31, 0); +lean_ctor_set(x_3, 0, x_33); +lean_ctor_set(x_31, 0, x_3); +return x_31; } else { -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_36, 0); -x_213 = lean_ctor_get(x_36, 1); -lean_inc(x_213); -lean_inc(x_212); -lean_dec(x_36); -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_212); -lean_ctor_set(x_214, 1, x_213); -return x_214; -} +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_31, 0); +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_31); +lean_ctor_set(x_3, 0, x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_3); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } else { -uint8_t x_215; -lean_dec(x_31); -lean_dec(x_18); -lean_dec(x_11); -x_215 = !lean_is_exclusive(x_33); -if (x_215 == 0) -{ -return x_33; +lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_37 = lean_ctor_get(x_3, 0); +lean_inc(x_37); +lean_dec(x_3); +x_38 = lean_array_get_size(x_37); +x_39 = lean_usize_of_nat(x_38); +lean_dec(x_38); +x_40 = 0; +x_41 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(x_1, x_2, x_39, x_40, x_37, x_4); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; +} else { + lean_dec_ref(x_41); + x_44 = lean_box(0); } -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_216 = lean_ctor_get(x_33, 0); -x_217 = lean_ctor_get(x_33, 1); -lean_inc(x_217); -lean_inc(x_216); -lean_dec(x_33); -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_216); -lean_ctor_set(x_218, 1, x_217); -return x_218; +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_42); +if (lean_is_scalar(x_44)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_44; } +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +return x_46; } } -else +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(lean_object* x_1, uint8_t x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { +_start: { -uint8_t x_219; -lean_dec(x_25); -lean_dec(x_18); -lean_dec(x_11); -x_219 = !lean_is_exclusive(x_28); -if (x_219 == 0) +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_4, x_3); +if (x_7 == 0) { -return x_28; +lean_object* x_8; +lean_dec(x_1); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_6); +return x_8; } else { -lean_object* x_220; lean_object* x_221; lean_object* x_222; -x_220 = lean_ctor_get(x_28, 0); -x_221 = lean_ctor_get(x_28, 1); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_28); -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_220); -lean_ctor_set(x_222, 1, x_221); -return x_222; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_9 = lean_array_uget(x_5, x_4); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_5, x_4, x_10); +x_12 = lean_ctor_get(x_1, 2); +lean_inc(x_12); +x_13 = l_Lean_Widget_msgToInteractiveDiagnostic(x_12, x_9, x_2, x_6); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = 1; +x_17 = lean_usize_add(x_4, x_16); +x_18 = lean_array_uset(x_11, x_4, x_14); +x_4 = x_17; +x_5 = x_18; +x_6 = x_15; +goto _start; } } } -else +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) { -uint8_t x_223; +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; uint8_t x_15; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +lean_inc(x_1); +x_8 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__2(x_1, x_2, x_6, x_4); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_array_get_size(x_7); +x_12 = lean_usize_of_nat(x_11); lean_dec(x_11); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_223 = !lean_is_exclusive(x_17); -if (x_223 == 0) +x_13 = 0; +x_14 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(x_1, x_2, x_12, x_13, x_7, x_10); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) { -return x_17; +lean_object* x_16; +x_16 = lean_ctor_get(x_14, 0); +lean_ctor_set(x_3, 1, x_16); +lean_ctor_set(x_3, 0, x_9); +lean_ctor_set(x_14, 0, x_3); +return x_14; } else { -lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_224 = lean_ctor_get(x_17, 0); -x_225 = lean_ctor_get(x_17, 1); -lean_inc(x_225); -lean_inc(x_224); -lean_dec(x_17); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_224); -lean_ctor_set(x_226, 1, x_225); -return x_226; -} -} +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_14, 0); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_14); +lean_ctor_set(x_3, 1, x_17); +lean_ctor_set(x_3, 0, x_9); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_3); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__1() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("print-paths", 11); -return x_1; -} +lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_20 = lean_ctor_get(x_3, 0); +x_21 = lean_ctor_get(x_3, 1); +x_22 = lean_ctor_get(x_3, 2); +x_23 = lean_ctor_get_usize(x_3, 4); +x_24 = lean_ctor_get(x_3, 3); +lean_inc(x_24); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_3); +lean_inc(x_1); +x_25 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__2(x_1, x_2, x_20, x_4); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_array_get_size(x_21); +x_29 = lean_usize_of_nat(x_28); +lean_dec(x_28); +x_30 = 0; +x_31 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(x_1, x_2, x_29, x_30, x_21, x_27); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_34 = x_31; +} else { + lean_dec_ref(x_31); + x_34 = lean_box(0); } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_2 = l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__1; -x_3 = lean_array_push(x_1, x_2); -return x_3; +x_35 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 1, x_32); +lean_ctor_set(x_35, 2, x_22); +lean_ctor_set(x_35, 3, x_24); +lean_ctor_set_usize(x_35, 4, x_23); +if (lean_is_scalar(x_34)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { + x_36 = x_34; } +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +return x_36; } -static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("--no-build", 10); -return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1() { _start: { -lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; -x_6 = lean_array_get_size(x_3); -x_7 = lean_usize_of_nat(x_6); -lean_dec(x_6); -x_8 = 0; -x_9 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__1(x_7, x_8, x_3); -x_10 = l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__2; -x_11 = l_Array_append___rarg(x_10, x_9); -x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); -x_13 = lean_box(x_12); -if (lean_obj_tag(x_13) == 2) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__3; -x_15 = lean_array_push(x_11, x_14); -x_16 = lean_box(0); -x_17 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1(x_1, x_2, x_4, x_8, x_15, x_16, x_5); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_13); -x_18 = lean_box(0); -x_19 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1(x_1, x_2, x_4, x_8, x_11, x_18, x_5); -return x_19; -} +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2() { _start: { -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__1(x_4, x_5, x_3); -return x_6; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__3() { _start: { -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_lakeSetupSearchPath___spec__3(x_1, x_6, x_7, x_4, x_5); -lean_dec(x_1); -return x_8; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4() { _start: { -size_t x_8; lean_object* x_9; -x_8 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_9 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1(x_1, x_2, x_3, x_8, x_5, x_6, x_7); -lean_dec(x_6); -return x_9; +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 2; +x_2 = lean_box(x_1); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; } } -static lean_object* _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("import", 6); -return x_1; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_box(0); +x_6 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2; +x_7 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__3; +x_8 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4; +x_9 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_7); +lean_ctor_set(x_9, 2, x_8); +lean_ctor_set(x_9, 3, x_5); +lean_ctor_set(x_9, 4, x_5); +lean_ctor_set(x_9, 5, x_3); +lean_ctor_set(x_9, 6, x_5); +lean_ctor_set(x_9, 7, x_5); +lean_ctor_set(x_9, 8, x_5); +x_10 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; +x_11 = lean_array_push(x_10, x_9); +x_12 = l_Lean_Server_publishDiagnostics(x_1, x_11, x_2, x_4); +return x_12; } } -static lean_object* _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_1 = l_Lean_Server_FileWorker_buildCommandState___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__3() { +static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__3; -x_2 = l_Array_toPArray_x27___rarg(x_1); +x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; -x_3 = l_List_reverse___rarg(x_2); -return x_3; -} -else +lean_object* x_10; lean_object* x_11; +lean_inc(x_8); +x_10 = l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions(x_8, x_1); +lean_inc(x_10); +lean_inc(x_3); +lean_inc(x_2); +x_11 = l_Lean_Server_FileWorker_buildHeaderEnv(x_2, x_3, x_10, x_9); +if (lean_obj_tag(x_11) == 0) { -uint8_t x_4; -x_4 = !lean_is_exclusive(x_1); -if (x_4 == 0) +lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__2; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_5); -x_9 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_9, 0, x_8); -x_10 = l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__3; -x_11 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_11, 0, x_9); -lean_ctor_set(x_11, 1, x_10); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set(x_1, 0, x_11); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_15 = lean_ctor_get(x_12, 0); +x_16 = lean_ctor_get(x_12, 1); +x_17 = l_Lean_PersistentArray_append___rarg(x_4, x_16); +x_18 = lean_ctor_get(x_10, 2); +lean_inc(x_18); +lean_dec(x_10); +lean_inc(x_17); +lean_inc(x_3); +x_19 = l_Lean_Server_FileWorker_buildCommandState(x_2, x_3, x_15, x_17, x_18); +lean_inc(x_2); +x_20 = l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__1(x_2, x_5, x_17, x_13); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__2; +x_24 = lean_st_mk_ref(x_23, x_22); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = lean_unsigned_to_nat(0u); +x_28 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_3); +lean_ctor_set(x_28, 2, x_6); +lean_ctor_set(x_28, 3, x_19); +lean_ctor_set(x_28, 4, x_21); +lean_ctor_set(x_28, 5, x_25); +lean_inc(x_28); +x_29 = l_Lean_Server_Snapshots_Snapshot_diagnostics(x_28); +x_30 = l_Lean_PersistentArray_toArray___rarg(x_29); +x_31 = l_Lean_Server_publishDiagnostics(x_2, x_30, x_7, x_26); +if (lean_obj_tag(x_31) == 0) { -lean_object* _tmp_0 = x_6; -lean_object* _tmp_1 = x_1; -x_1 = _tmp_0; -x_2 = _tmp_1; -} -goto _start; +uint8_t x_32; +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_8, 1); +lean_inc(x_34); +lean_dec(x_8); +lean_ctor_set(x_12, 1, x_34); +lean_ctor_set(x_12, 0, x_28); +lean_ctor_set(x_31, 0, x_12); +return x_31; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_13 = lean_ctor_get(x_1, 0); -x_14 = lean_ctor_get(x_1, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_1); -x_15 = l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__2; -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_13); -x_17 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_17, 0, x_16); -x_18 = l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__3; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_2); -x_1 = x_14; -x_2 = x_20; -goto _start; -} -} +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_ctor_get(x_8, 1); +lean_inc(x_36); +lean_dec(x_8); +lean_ctor_set(x_12, 1, x_36); +lean_ctor_set(x_12, 0, x_28); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_12); +lean_ctor_set(x_37, 1, x_35); +return x_37; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { -_start: +else { -uint8_t x_7; -x_7 = lean_usize_dec_lt(x_4, x_3); -if (x_7 == 0) +uint8_t x_38; +lean_dec(x_28); +lean_free_object(x_12); +lean_dec(x_8); +x_38 = !lean_is_exclusive(x_31); +if (x_38 == 0) { -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_6); -return x_8; +return x_31; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_9 = lean_array_uget(x_5, x_4); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_5, x_4, x_10); -lean_inc(x_2); -x_12 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__3(x_1, x_2, x_9, x_6); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = 1; -x_16 = lean_usize_add(x_4, x_15); -x_17 = lean_array_uset(x_11, x_4, x_13); -x_4 = x_16; -x_5 = x_17; -x_6 = x_14; -goto _start; -} +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_31, 0); +x_40 = lean_ctor_get(x_31, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_31); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; -x_7 = lean_usize_dec_lt(x_4, x_3); -if (x_7 == 0) -{ -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_6); -return x_8; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_9 = lean_array_uget(x_5, x_4); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_5, x_4, x_10); -lean_inc(x_2); -x_12 = l_Lean_Widget_msgToInteractiveDiagnostic(x_2, x_9, x_1, x_6); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_42 = lean_ctor_get(x_12, 0); +x_43 = lean_ctor_get(x_12, 1); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_12); -x_15 = 1; -x_16 = lean_usize_add(x_4, x_15); -x_17 = lean_array_uset(x_11, x_4, x_13); -x_4 = x_16; -x_5 = x_17; -x_6 = x_14; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; -x_6 = lean_ctor_get(x_3, 0); -x_7 = lean_array_get_size(x_6); -x_8 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_9 = 0; -x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(x_1, x_2, x_8, x_9, x_6, x_4); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) +x_44 = l_Lean_PersistentArray_append___rarg(x_4, x_43); +x_45 = lean_ctor_get(x_10, 2); +lean_inc(x_45); +lean_dec(x_10); +lean_inc(x_44); +lean_inc(x_3); +x_46 = l_Lean_Server_FileWorker_buildCommandState(x_2, x_3, x_42, x_44, x_45); +lean_inc(x_2); +x_47 = l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__1(x_2, x_5, x_44, x_13); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__2; +x_51 = lean_st_mk_ref(x_50, x_49); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_unsigned_to_nat(0u); +x_55 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_3); +lean_ctor_set(x_55, 2, x_6); +lean_ctor_set(x_55, 3, x_46); +lean_ctor_set(x_55, 4, x_48); +lean_ctor_set(x_55, 5, x_52); +lean_inc(x_55); +x_56 = l_Lean_Server_Snapshots_Snapshot_diagnostics(x_55); +x_57 = l_Lean_PersistentArray_toArray___rarg(x_56); +x_58 = l_Lean_Server_publishDiagnostics(x_2, x_57, x_7, x_53); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_12; -x_12 = lean_ctor_get(x_10, 0); -lean_ctor_set(x_3, 0, x_12); -lean_ctor_set(x_10, 0, x_3); -return x_10; +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; +} else { + lean_dec_ref(x_58); + x_60 = lean_box(0); } -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_10, 0); -x_14 = lean_ctor_get(x_10, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_10); -lean_ctor_set(x_3, 0, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_3); -lean_ctor_set(x_15, 1, x_14); -return x_15; +x_61 = lean_ctor_get(x_8, 1); +lean_inc(x_61); +lean_dec(x_8); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_55); +lean_ctor_set(x_62, 1, x_61); +if (lean_is_scalar(x_60)) { + x_63 = lean_alloc_ctor(0, 2, 0); +} else { + x_63 = x_60; } +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_59); +return x_63; } else { -lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_16 = lean_ctor_get(x_3, 0); -lean_inc(x_16); -lean_dec(x_3); -x_17 = lean_array_get_size(x_16); -x_18 = lean_usize_of_nat(x_17); -lean_dec(x_17); -x_19 = 0; -x_20 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(x_1, x_2, x_18, x_19, x_16, x_4); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_23 = x_20; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_55); +lean_dec(x_8); +x_64 = lean_ctor_get(x_58, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_58, 1); +lean_inc(x_65); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_66 = x_58; } else { - lean_dec_ref(x_20); - x_23 = lean_box(0); + lean_dec_ref(x_58); + x_66 = lean_box(0); } -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_21); -if (lean_is_scalar(x_23)) { - x_25 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_66)) { + x_67 = lean_alloc_ctor(1, 2, 0); } else { - x_25 = x_23; + x_67 = x_66; +} +lean_ctor_set(x_67, 0, x_64); +lean_ctor_set(x_67, 1, x_65); +return x_67; } -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_22); -return x_25; } } else { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_3); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; uint8_t x_32; -x_27 = lean_ctor_get(x_3, 0); -x_28 = lean_array_get_size(x_27); -x_29 = lean_usize_of_nat(x_28); -lean_dec(x_28); -x_30 = 0; -x_31 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(x_1, x_2, x_29, x_30, x_27, x_4); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) -{ -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_ctor_set(x_3, 0, x_33); -lean_ctor_set(x_31, 0, x_3); -return x_31; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_31, 0); -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_31); -lean_ctor_set(x_3, 0, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_3); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -else -{ -lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_37 = lean_ctor_get(x_3, 0); -lean_inc(x_37); +uint8_t x_68; +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); lean_dec(x_3); -x_38 = lean_array_get_size(x_37); -x_39 = lean_usize_of_nat(x_38); -lean_dec(x_38); -x_40 = 0; -x_41 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(x_1, x_2, x_39, x_40, x_37, x_4); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_44 = x_41; -} else { - lean_dec_ref(x_41); - x_44 = lean_box(0); -} -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_42); -if (lean_is_scalar(x_44)) { - x_46 = lean_alloc_ctor(0, 2, 0); -} else { - x_46 = x_44; -} -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_43); -return x_46; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__6(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; -x_7 = lean_usize_dec_lt(x_4, x_3); -if (x_7 == 0) -{ -lean_object* x_8; lean_dec(x_2); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_6); -return x_8; +x_68 = !lean_is_exclusive(x_11); +if (x_68 == 0) +{ +return x_11; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_9 = lean_array_uget(x_5, x_4); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_5, x_4, x_10); -lean_inc(x_2); -x_12 = l_Lean_Widget_msgToInteractiveDiagnostic(x_2, x_9, x_1, x_6); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = 1; -x_16 = lean_usize_add(x_4, x_15); -x_17 = lean_array_uset(x_11, x_4, x_13); -x_4 = x_16; -x_5 = x_17; -x_6 = x_14; -goto _start; +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_11, 0); +x_70 = lean_ctor_get(x_11, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_11); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} } } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { _start: { -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) +lean_object* x_6; lean_object* x_7; +lean_inc(x_1); +x_6 = l_Lean_Server_DocumentMeta_mkInputContext(x_1); +x_7 = l_Lean_Parser_parseHeader(x_6, x_5); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; uint8_t x_15; -x_6 = lean_ctor_get(x_3, 0); -x_7 = lean_ctor_get(x_3, 1); -lean_inc(x_2); -x_8 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__3(x_1, x_2, x_6, x_4); -x_9 = lean_ctor_get(x_8, 0); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); +x_10 = lean_ctor_get(x_7, 1); lean_inc(x_10); +lean_dec(x_7); +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); lean_dec(x_8); -x_11 = lean_array_get_size(x_7); -x_12 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_13 = 0; -x_14 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__6(x_1, x_2, x_12, x_13, x_7, x_10); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) { -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_ctor_set(x_3, 1, x_16); -lean_ctor_set(x_3, 0, x_9); -lean_ctor_set(x_14, 0, x_3); -return x_14; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_13 = lean_ctor_get(x_9, 0); +x_14 = lean_ctor_get(x_9, 1); +x_15 = l_Lean_Elab_headerToImports(x_11); +lean_inc(x_2); +lean_inc(x_1); +x_16 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_compileHeader___lambda__1), 4, 2); +lean_closure_set(x_16, 0, x_1); +lean_closure_set(x_16, 1, x_2); +lean_inc(x_1); +x_17 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_setupFile), 4, 3); +lean_closure_set(x_17, 0, x_1); +lean_closure_set(x_17, 1, x_15); +lean_closure_set(x_17, 2, x_16); +x_18 = lean_box(x_4); +lean_inc(x_11); +x_19 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_compileHeader___lambda__2___boxed), 9, 7); +lean_closure_set(x_19, 0, x_3); +lean_closure_set(x_19, 1, x_1); +lean_closure_set(x_19, 2, x_11); +lean_closure_set(x_19, 3, x_14); +lean_closure_set(x_19, 4, x_18); +lean_closure_set(x_19, 5, x_13); +lean_closure_set(x_19, 6, x_2); +x_20 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); +lean_closure_set(x_20, 0, x_17); +lean_closure_set(x_20, 1, x_19); +x_21 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_21, 0, x_20); +x_22 = l_Task_Priority_default; +x_23 = lean_io_as_task(x_21, x_22, x_10); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_ctor_set(x_9, 1, x_25); +lean_ctor_set(x_9, 0, x_11); +lean_ctor_set(x_23, 0, x_9); +return x_23; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_14, 0); -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_14); -lean_ctor_set(x_3, 1, x_17); -lean_ctor_set(x_3, 0, x_9); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_3); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_23, 0); +x_27 = lean_ctor_get(x_23, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_23); +lean_ctor_set(x_9, 1, x_26); +lean_ctor_set(x_9, 0, x_11); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_9); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_20 = lean_ctor_get(x_3, 0); -x_21 = lean_ctor_get(x_3, 1); -x_22 = lean_ctor_get(x_3, 2); -x_23 = lean_ctor_get_usize(x_3, 4); -x_24 = lean_ctor_get(x_3, 3); -lean_inc(x_24); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_3); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_29 = lean_ctor_get(x_9, 0); +x_30 = lean_ctor_get(x_9, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_9); +x_31 = l_Lean_Elab_headerToImports(x_11); lean_inc(x_2); -x_25 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__3(x_1, x_2, x_20, x_4); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_array_get_size(x_21); -x_29 = lean_usize_of_nat(x_28); -lean_dec(x_28); -x_30 = 0; -x_31 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__6(x_1, x_2, x_29, x_30, x_21, x_27); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_34 = x_31; +lean_inc(x_1); +x_32 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_compileHeader___lambda__1), 4, 2); +lean_closure_set(x_32, 0, x_1); +lean_closure_set(x_32, 1, x_2); +lean_inc(x_1); +x_33 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_setupFile), 4, 3); +lean_closure_set(x_33, 0, x_1); +lean_closure_set(x_33, 1, x_31); +lean_closure_set(x_33, 2, x_32); +x_34 = lean_box(x_4); +lean_inc(x_11); +x_35 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_compileHeader___lambda__2___boxed), 9, 7); +lean_closure_set(x_35, 0, x_3); +lean_closure_set(x_35, 1, x_1); +lean_closure_set(x_35, 2, x_11); +lean_closure_set(x_35, 3, x_30); +lean_closure_set(x_35, 4, x_34); +lean_closure_set(x_35, 5, x_29); +lean_closure_set(x_35, 6, x_2); +x_36 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); +lean_closure_set(x_36, 0, x_33); +lean_closure_set(x_36, 1, x_35); +x_37 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_37, 0, x_36); +x_38 = l_Task_Priority_default; +x_39 = lean_io_as_task(x_37, x_38, x_10); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_42 = x_39; } else { - lean_dec_ref(x_31); - x_34 = lean_box(0); + lean_dec_ref(x_39); + x_42 = lean_box(0); } -x_35 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_35, 0, x_26); -lean_ctor_set(x_35, 1, x_32); -lean_ctor_set(x_35, 2, x_22); -lean_ctor_set(x_35, 3, x_24); -lean_ctor_set_usize(x_35, 4, x_23); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_11); +lean_ctor_set(x_43, 1, x_40); +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(0, 2, 0); } else { - x_36 = x_34; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; -} + x_44 = x_42; } +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_41); +return x_44; } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__9(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; -x_7 = lean_usize_dec_lt(x_4, x_3); -if (x_7 == 0) -{ -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_6); -return x_8; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_9 = lean_array_uget(x_5, x_4); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_5, x_4, x_10); -lean_inc(x_2); -x_12 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__8(x_1, x_2, x_9, x_6); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = 1; -x_16 = lean_usize_add(x_4, x_15); -x_17 = lean_array_uset(x_11, x_4, x_13); -x_4 = x_16; -x_5 = x_17; -x_6 = x_14; -goto _start; +uint8_t x_45; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_7); +if (x_45 == 0) +{ +return x_7; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_7, 0); +x_47 = lean_ctor_get(x_7, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_7); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__10(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; -x_7 = lean_usize_dec_lt(x_4, x_3); -if (x_7 == 0) +uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_7 = lean_unbox(x_2); +lean_dec(x_2); +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__3(x_1, x_7, x_8, x_9, x_5, x_6); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: { -lean_object* x_8; +uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_7 = lean_unbox(x_2); lean_dec(x_2); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_6); -return x_8; +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(x_1, x_7, x_8, x_9, x_5, x_6); +return x_10; } -else +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_9 = lean_array_uget(x_5, x_4); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_5, x_4, x_10); -lean_inc(x_2); -x_12 = l_Lean_Widget_msgToInteractiveDiagnostic(x_2, x_9, x_1, x_6); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = 1; -x_16 = lean_usize_add(x_4, x_15); -x_17 = lean_array_uset(x_11, x_4, x_13); -x_4 = x_16; -x_5 = x_17; -x_6 = x_14; -goto _start; +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__2(x_1, x_5, x_3, x_4); +return x_6; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; +x_7 = lean_unbox(x_2); +lean_dec(x_2); +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(x_1, x_7, x_8, x_9, x_5, x_6); +return x_10; +} } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -if (lean_obj_tag(x_3) == 0) +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__1(x_1, x_5, x_3, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: { -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_5); +lean_dec(x_5); +x_11 = l_Lean_Server_FileWorker_compileHeader___lambda__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: { -lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; uint8_t x_11; -x_6 = lean_ctor_get(x_3, 0); -x_7 = lean_array_get_size(x_6); -x_8 = lean_usize_of_nat(x_7); -lean_dec(x_7); -x_9 = 0; -x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__9(x_1, x_2, x_8, x_9, x_6, x_4); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_4); +lean_dec(x_4); +x_7 = l_Lean_Server_FileWorker_compileHeader(x_1, x_2, x_3, x_6, x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: { -lean_object* x_12; -x_12 = lean_ctor_get(x_10, 0); -lean_ctor_set(x_3, 0, x_12); -lean_ctor_set(x_10, 0, x_3); -return x_10; +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_6; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_4, 0); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_4, 0, x_8); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_5); +return x_9; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_10, 0); -x_14 = lean_ctor_get(x_10, 1); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_10); -lean_ctor_set(x_3, 0, x_13); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_3); -lean_ctor_set(x_15, 1, x_14); -return x_15; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_4, 0); +lean_inc(x_10); +lean_dec(x_4); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_5); +return x_13; } } else { -lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_16 = lean_ctor_get(x_3, 0); +uint8_t x_14; +x_14 = !lean_is_exclusive(x_4); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint32_t x_19; lean_object* x_20; +x_15 = lean_ctor_get(x_4, 0); +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_3); -x_17 = lean_array_get_size(x_16); -x_18 = lean_usize_of_nat(x_17); -lean_dec(x_17); +lean_dec(x_15); +x_17 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; +x_18 = lean_array_push(x_17, x_16); x_19 = 0; -x_20 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__9(x_1, x_2, x_18, x_19, x_16, x_4); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -if (lean_is_exclusive(x_20)) { - lean_ctor_release(x_20, 0); - lean_ctor_release(x_20, 1); - x_23 = x_20; -} else { - lean_dec_ref(x_20); - x_23 = lean_box(0); -} -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_21); -if (lean_is_scalar(x_23)) { - x_25 = lean_alloc_ctor(0, 2, 0); -} else { - x_25 = x_23; +x_20 = l_Lean_Server_FileWorker_unfoldCmdSnaps(x_1, x_18, x_2, x_19, x_3, x_5); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_ctor_set(x_4, 0, x_22); +lean_ctor_set(x_20, 0, x_4); +return x_20; } -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_22); +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_20, 0); +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_20); +lean_ctor_set(x_4, 0, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_4); +lean_ctor_set(x_25, 1, x_24); return x_25; } } else { uint8_t x_26; -x_26 = !lean_is_exclusive(x_3); +x_26 = !lean_is_exclusive(x_20); if (x_26 == 0) { -lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; uint8_t x_32; -x_27 = lean_ctor_get(x_3, 0); -x_28 = lean_array_get_size(x_27); -x_29 = lean_usize_of_nat(x_28); -lean_dec(x_28); -x_30 = 0; -x_31 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__10(x_1, x_2, x_29, x_30, x_27, x_4); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_20, 0); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set_tag(x_4, 0); +lean_ctor_set(x_4, 0, x_28); +lean_ctor_set_tag(x_20, 0); +lean_ctor_set(x_20, 0, x_4); +return x_20; +} +else { -lean_object* x_33; -x_33 = lean_ctor_get(x_31, 0); -lean_ctor_set(x_3, 0, x_33); -lean_ctor_set(x_31, 0, x_3); -return x_31; +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_29 = lean_ctor_get(x_20, 0); +x_30 = lean_ctor_get(x_20, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_20); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set_tag(x_4, 0); +lean_ctor_set(x_4, 0, x_31); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_4); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +} } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_31, 0); -x_35 = lean_ctor_get(x_31, 1); -lean_inc(x_35); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint32_t x_37; lean_object* x_38; +x_33 = lean_ctor_get(x_4, 0); +lean_inc(x_33); +lean_dec(x_4); +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec(x_31); -lean_ctor_set(x_3, 0, x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_3); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_dec(x_33); +x_35 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; +x_36 = lean_array_push(x_35, x_34); +x_37 = 0; +x_38 = l_Lean_Server_FileWorker_unfoldCmdSnaps(x_1, x_36, x_2, x_37, x_3, x_5); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_41 = x_38; +} else { + lean_dec_ref(x_38); + x_41 = lean_box(0); +} +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_39); +if (lean_is_scalar(x_41)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_41; } +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +return x_43; } else { -lean_object* x_37; lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_37 = lean_ctor_get(x_3, 0); -lean_inc(x_37); -lean_dec(x_3); -x_38 = lean_array_get_size(x_37); -x_39 = lean_usize_of_nat(x_38); -lean_dec(x_38); -x_40 = 0; -x_41 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__10(x_1, x_2, x_39, x_40, x_37, x_4); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_44 = x_41; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_44 = lean_ctor_get(x_38, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_38, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_46 = x_38; } else { - lean_dec_ref(x_41); - x_44 = lean_box(0); + lean_dec_ref(x_38); + x_46 = lean_box(0); } -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_42); -if (lean_is_scalar(x_44)) { - x_46 = lean_alloc_ctor(0, 2, 0); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_44); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +if (lean_is_scalar(x_46)) { + x_49 = lean_alloc_ctor(0, 2, 0); } else { - x_46 = x_44; + x_49 = x_46; + lean_ctor_set_tag(x_49, 0); } -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_43); -return x_46; +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_45); +return x_49; } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__11(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_7; -x_7 = lean_usize_dec_lt(x_4, x_3); -if (x_7 == 0) +uint8_t x_8; lean_object* x_61; +x_61 = lean_ctor_get(x_5, 3); +lean_inc(x_61); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_6); -return x_8; +uint8_t x_62; +x_62 = 0; +x_8 = x_62; +goto block_60; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_9 = lean_array_uget(x_5, x_4); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_array_uset(x_5, x_4, x_10); -lean_inc(x_2); -x_12 = l_Lean_Widget_msgToInteractiveDiagnostic(x_2, x_9, x_1, x_6); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = 1; -x_16 = lean_usize_add(x_4, x_15); -x_17 = lean_array_uset(x_11, x_4, x_13); -x_4 = x_16; -x_5 = x_17; -x_6 = x_14; -goto _start; +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_61, 0); +lean_inc(x_63); +lean_dec(x_61); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +lean_dec(x_63); +if (lean_obj_tag(x_64) == 0) +{ +uint8_t x_65; +x_65 = 0; +x_8 = x_65; +goto block_60; } +else +{ +lean_object* x_66; uint8_t x_67; +x_66 = lean_ctor_get(x_64, 0); +lean_inc(x_66); +lean_dec(x_64); +x_67 = lean_unbox(x_66); +lean_dec(x_66); +x_8 = x_67; +goto block_60; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__7(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +block_60: { -uint8_t x_5; -x_5 = !lean_is_exclusive(x_3); -if (x_5 == 0) +lean_object* x_9; +lean_inc(x_3); +lean_inc(x_1); +x_9 = l_Lean_Server_FileWorker_compileHeader(x_1, x_3, x_6, x_8, x_7); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; uint8_t x_15; -x_6 = lean_ctor_get(x_3, 0); -x_7 = lean_ctor_get(x_3, 1); -lean_inc(x_2); -x_8 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__8(x_1, x_2, x_6, x_4); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_array_get_size(x_7); -x_12 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_13 = 0; -x_14 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__11(x_1, x_2, x_12, x_13, x_7, x_10); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_ctor_set(x_3, 1, x_16); -lean_ctor_set(x_3, 0, x_9); -lean_ctor_set(x_14, 0, x_3); -return x_14; -} -else +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_14, 0); -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_13 = lean_ctor_get(x_10, 0); +x_14 = lean_ctor_get(x_10, 1); +x_15 = l_Lean_Server_FileWorker_CancelToken_new(x_11); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -lean_dec(x_14); -lean_ctor_set(x_3, 1, x_17); -lean_ctor_set(x_3, 0, x_9); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_3); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} +lean_dec(x_15); +lean_inc(x_14); +x_18 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_18, 0, x_2); +lean_ctor_set(x_18, 1, x_3); +lean_ctor_set(x_18, 2, x_4); +lean_ctor_set(x_18, 3, x_14); +lean_ctor_set(x_18, 4, x_5); +lean_ctor_set_uint8(x_18, sizeof(void*)*5, x_8); +lean_inc(x_18); +lean_inc(x_16); +lean_inc(x_1); +x_19 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_initializeWorker___lambda__1), 5, 3); +lean_closure_set(x_19, 0, x_1); +lean_closure_set(x_19, 1, x_16); +lean_closure_set(x_19, 2, x_18); +x_20 = l_Task_Priority_default; +x_21 = lean_io_map_task(x_19, x_14, x_20, x_17); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_16); +x_26 = lean_box(0); +x_27 = lean_box(0); +lean_inc(x_13); +x_28 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_28, 0, x_25); +lean_ctor_set(x_28, 1, x_13); +lean_ctor_set(x_28, 2, x_13); +lean_ctor_set(x_28, 3, x_26); +lean_ctor_set(x_28, 4, x_27); +lean_ctor_set(x_28, 5, x_27); +lean_ctor_set(x_10, 1, x_28); +lean_ctor_set(x_10, 0, x_18); +lean_ctor_set(x_21, 0, x_10); +return x_21; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_20 = lean_ctor_get(x_3, 0); -x_21 = lean_ctor_get(x_3, 1); -x_22 = lean_ctor_get(x_3, 2); -x_23 = lean_ctor_get_usize(x_3, 4); -x_24 = lean_ctor_get(x_3, 3); -lean_inc(x_24); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_3); -lean_inc(x_2); -x_25 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__8(x_1, x_2, x_20, x_4); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = lean_array_get_size(x_21); -x_29 = lean_usize_of_nat(x_28); -lean_dec(x_28); -x_30 = 0; -x_31 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__11(x_1, x_2, x_29, x_30, x_21, x_27); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_31)) { - lean_ctor_release(x_31, 0); - lean_ctor_release(x_31, 1); - x_34 = x_31; -} else { - lean_dec_ref(x_31); - x_34 = lean_box(0); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_ctor_get(x_21, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_21); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_29); +x_32 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_32, 0, x_1); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 2, x_16); +x_33 = lean_box(0); +x_34 = lean_box(0); +lean_inc(x_13); +x_35 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_13); +lean_ctor_set(x_35, 2, x_13); +lean_ctor_set(x_35, 3, x_33); +lean_ctor_set(x_35, 4, x_34); +lean_ctor_set(x_35, 5, x_34); +lean_ctor_set(x_10, 1, x_35); +lean_ctor_set(x_10, 0, x_18); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_10); +lean_ctor_set(x_36, 1, x_30); +return x_36; } -x_35 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_35, 0, x_26); -lean_ctor_set(x_35, 1, x_32); -lean_ctor_set(x_35, 2, x_22); -lean_ctor_set(x_35, 3, x_24); -lean_ctor_set_usize(x_35, 4, x_23); -if (lean_is_scalar(x_34)) { - x_36 = lean_alloc_ctor(0, 2, 0); +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_37 = lean_ctor_get(x_10, 0); +x_38 = lean_ctor_get(x_10, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_10); +x_39 = l_Lean_Server_FileWorker_CancelToken_new(x_11); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +lean_inc(x_38); +x_42 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_42, 0, x_2); +lean_ctor_set(x_42, 1, x_3); +lean_ctor_set(x_42, 2, x_4); +lean_ctor_set(x_42, 3, x_38); +lean_ctor_set(x_42, 4, x_5); +lean_ctor_set_uint8(x_42, sizeof(void*)*5, x_8); +lean_inc(x_42); +lean_inc(x_40); +lean_inc(x_1); +x_43 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_initializeWorker___lambda__1), 5, 3); +lean_closure_set(x_43, 0, x_1); +lean_closure_set(x_43, 1, x_40); +lean_closure_set(x_43, 2, x_42); +x_44 = l_Task_Priority_default; +x_45 = lean_io_map_task(x_43, x_38, x_44, x_41); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_48 = x_45; } else { - x_36 = x_34; + lean_dec_ref(x_45); + x_48 = lean_box(0); } -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_46); +x_50 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_50, 0, x_1); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_40); +x_51 = lean_box(0); +x_52 = lean_box(0); +lean_inc(x_37); +x_53 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_37); +lean_ctor_set(x_53, 2, x_37); +lean_ctor_set(x_53, 3, x_51); +lean_ctor_set(x_53, 4, x_52); +lean_ctor_set(x_53, 5, x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_42); +lean_ctor_set(x_54, 1, x_53); +if (lean_is_scalar(x_48)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_48; } +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_47); +return x_55; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1() { -_start: +else { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_firstFrontendMacroScope; -x_2 = lean_unsigned_to_nat(1u); -x_3 = lean_nat_add(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2() { -_start: +uint8_t x_56; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_56 = !lean_is_exclusive(x_9); +if (x_56 == 0) { -lean_object* x_1; -x_1 = l_Lean_maxRecDepth; -return x_1; -} +return x_9; } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__3() { -_start: +else { -lean_object* x_1; -x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return x_1; +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_9, 0); +x_58 = lean_ctor_get(x_9, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_9); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__3; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5() { +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updatePendingRequests(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_st_ref_take(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_6, 4); +x_10 = lean_apply_1(x_1, x_9); +lean_ctor_set(x_6, 4, x_10); +x_11 = lean_st_ref_set(x_3, x_6, x_7); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_dec(x_13); +x_14 = lean_box(0); +lean_ctor_set(x_11, 0, x_14); +return x_11; } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__6() { -_start: +else { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__7() { -_start: +else { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_18 = lean_ctor_get(x_6, 0); +x_19 = lean_ctor_get(x_6, 1); +x_20 = lean_ctor_get(x_6, 2); +x_21 = lean_ctor_get(x_6, 3); +x_22 = lean_ctor_get(x_6, 4); +x_23 = lean_ctor_get(x_6, 5); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_6); +x_24 = lean_apply_1(x_1, x_22); +x_25 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_25, 0, x_18); +lean_ctor_set(x_25, 1, x_19); +lean_ctor_set(x_25, 2, x_20); +lean_ctor_set(x_25, 3, x_21); +lean_ctor_set(x_25, 4, x_24); +lean_ctor_set(x_25, 5, x_23); +x_26 = lean_st_ref_set(x_3, x_25, x_7); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_28 = x_26; +} else { + lean_dec_ref(x_26); + x_28 = lean_box(0); } +x_29 = lean_box(0); +if (lean_is_scalar(x_28)) { + x_30 = lean_alloc_ctor(0, 2, 0); +} else { + x_30 = x_28; +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_27); +return x_30; } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__6; -x_3 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5; -x_4 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__7; -x_5 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_1); -lean_ctor_set(x_5, 2, x_1); -lean_ctor_set(x_5, 3, x_2); -lean_ctor_set(x_5, 4, x_3); -lean_ctor_set(x_5, 5, x_4); -lean_ctor_set(x_5, 6, x_2); -lean_ctor_set(x_5, 7, x_3); -lean_ctor_set(x_5, 8, x_3); -return x_5; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__9() { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updatePendingRequests___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("_worker", 7); -return x_1; +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_updatePendingRequests(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__10() { +LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_determineValidSnapshots___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__9; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +lean_object* x_3; uint8_t x_4; +x_3 = l_Lean_Server_Snapshots_Snapshot_endPos(x_2); +x_4 = lean_nat_dec_lt(x_3, x_1); +lean_dec(x_3); +return x_4; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__11() { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_determineValidSnapshots___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__10; -x_2 = lean_unsigned_to_nat(1u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_4; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__12() { +static lean_object* _init_l_Lean_Server_FileWorker_determineValidSnapshots___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("header", 6); +x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_determineValidSnapshots___lambda__2___boxed), 3, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__12; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__14() { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_determineValidSnapshots(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__14; -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_122; lean_object* x_123; -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); -if (lean_is_exclusive(x_9)) { - lean_ctor_release(x_9, 0); - lean_ctor_release(x_9, 1); - x_13 = x_9; -} else { - lean_dec_ref(x_9); - x_13 = lean_box(0); -} -x_122 = lean_ctor_get(x_2, 0); -lean_inc(x_122); -x_123 = l_System_Uri_fileUriToPath_x3f(x_122); -if (lean_obj_tag(x_123) == 0) -{ -lean_object* x_124; uint8_t x_125; -lean_dec(x_13); -lean_inc(x_1); -lean_inc(x_12); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_5, 2); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_ctor_get(x_2, 2); +lean_inc(x_8); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l_String_firstDiffPos(x_7, x_9); +lean_dec(x_9); +lean_dec(x_7); +x_11 = lean_ctor_get(x_1, 1); lean_inc(x_11); -x_124 = l_Lean_Elab_Command_mkState(x_11, x_12, x_1); -x_125 = !lean_is_exclusive(x_124); -if (x_125 == 0) -{ -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_126 = lean_ctor_get(x_124, 7); -lean_dec(x_126); -x_127 = lean_ctor_get(x_124, 5); -lean_dec(x_127); -x_128 = lean_ctor_get(x_124, 4); -lean_dec(x_128); -x_129 = lean_ctor_get(x_124, 3); -lean_dec(x_129); -x_130 = lean_ctor_get(x_124, 1); -lean_dec(x_130); -x_131 = lean_ctor_get(x_124, 0); -lean_dec(x_131); -x_132 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2; -x_133 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_1, x_132); lean_dec(x_1); -x_134 = lean_ctor_get(x_2, 2); -lean_inc(x_134); -x_135 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8; -x_136 = lean_box(0); -x_137 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__11; -lean_inc_n(x_3, 2); -lean_inc(x_134); lean_inc(x_11); -x_138 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_138, 0, x_11); -lean_ctor_set(x_138, 1, x_134); -lean_ctor_set(x_138, 2, x_135); -lean_ctor_set(x_138, 3, x_3); -lean_ctor_set(x_138, 4, x_136); -lean_ctor_set(x_138, 5, x_3); -lean_ctor_set(x_138, 6, x_137); -x_139 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__13; -lean_inc(x_4); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_4); -x_141 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_141, 0, x_140); -x_142 = lean_unsigned_to_nat(1u); -x_143 = l_Lean_Syntax_getArg(x_4, x_142); -x_144 = l_Lean_Syntax_getArgs(x_143); -lean_dec(x_143); -x_145 = lean_array_to_list(lean_box(0), x_144); -x_146 = l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1(x_145, x_3); -x_147 = l_List_toPArray_x27___rarg(x_146); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_141); -lean_ctor_set(x_148, 1, x_147); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_138); -lean_ctor_set(x_149, 1, x_148); -x_150 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_151 = lean_array_push(x_150, x_149); -x_152 = l_Array_toPArray_x27___rarg(x_151); -lean_dec(x_151); -x_153 = 1; -x_154 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5; -x_155 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_152); -lean_ctor_set_uint8(x_155, sizeof(void*)*2, x_153); -x_156 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1; -lean_inc(x_12); -lean_ctor_set(x_124, 7, x_155); -lean_ctor_set(x_124, 5, x_142); -lean_ctor_set(x_124, 4, x_133); -lean_ctor_set(x_124, 3, x_156); -lean_ctor_set(x_124, 1, x_12); -lean_ctor_set(x_124, 0, x_11); -x_157 = l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__7(x_5, x_134, x_12, x_10); -x_158 = lean_ctor_get(x_157, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_157, 1); -lean_inc(x_159); -lean_dec(x_157); -x_160 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__15; -x_161 = lean_st_mk_ref(x_160, x_159); -x_162 = lean_ctor_get(x_161, 0); -lean_inc(x_162); -x_163 = lean_ctor_get(x_161, 1); -lean_inc(x_163); -lean_dec(x_161); -x_164 = lean_unsigned_to_nat(0u); -x_165 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_4); -lean_ctor_set(x_165, 2, x_6); -lean_ctor_set(x_165, 3, x_124); -lean_ctor_set(x_165, 4, x_158); -lean_ctor_set(x_165, 5, x_162); -lean_inc(x_165); -x_166 = l_Lean_Server_Snapshots_Snapshot_diagnostics(x_165); -x_167 = l_Lean_PersistentArray_toArray___rarg(x_166); -x_168 = l_Lean_Server_publishDiagnostics(x_2, x_167, x_7, x_163); -if (lean_obj_tag(x_168) == 0) +x_12 = l_IO_AsyncList_getFinishedPrefix___rarg(x_11, x_4); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l_IO_AsyncList_cancel___rarg(x_11, x_14); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_determineValidSnapshots___lambda__1___boxed), 2, 1); +lean_closure_set(x_18, 0, x_10); +x_19 = l_List_takeWhile___rarg(x_18, x_15); +x_20 = l_Lean_Server_FileWorker_determineValidSnapshots___closed__1; +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_List_lengthTRAux___rarg(x_19, x_21); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_dec_le(x_22, x_23); +if (x_24 == 0) { -uint8_t x_169; -x_169 = !lean_is_exclusive(x_168); -if (x_169 == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +lean_dec(x_3); +lean_inc(x_19); +x_25 = l_List_getLast___rarg(x_19, lean_box(0)); +x_26 = lean_unsigned_to_nat(2u); +x_27 = lean_nat_sub(x_22, x_26); +lean_dec(x_22); +x_28 = l_List_get___rarg(x_19, x_27); +x_29 = l_Lean_Server_DocumentMeta_mkInputContext(x_2); +x_30 = l_Lean_Server_Snapshots_parseNextCmd(x_29, x_28, x_17); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = lean_ctor_get(x_25, 1); +lean_inc(x_33); +lean_dec(x_25); +x_34 = l_Lean_Syntax_structEq(x_31, x_33); +if (x_34 == 0) { -lean_object* x_170; lean_object* x_171; -x_170 = lean_ctor_get(x_168, 0); -lean_dec(x_170); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_165); -lean_ctor_set(x_171, 1, x_8); -lean_ctor_set(x_168, 0, x_171); -return x_168; -} -else -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_168, 1); -lean_inc(x_172); -lean_dec(x_168); -x_173 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_173, 0, x_165); -lean_ctor_set(x_173, 1, x_8); -x_174 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -return x_174; -} +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = l_List_dropLast___rarg(x_19); +x_36 = lean_box(0); +x_37 = lean_apply_3(x_20, x_35, x_36, x_32); +return x_37; } else { -uint8_t x_175; -lean_dec(x_165); -lean_dec(x_8); -x_175 = !lean_is_exclusive(x_168); -if (x_175 == 0) -{ -return x_168; +lean_object* x_38; lean_object* x_39; +x_38 = lean_box(0); +x_39 = lean_apply_3(x_20, x_19, x_38, x_32); +return x_39; +} } else { -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_168, 0); -x_177 = lean_ctor_get(x_168, 1); -lean_inc(x_177); -lean_inc(x_176); -lean_dec(x_168); -x_178 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_178, 0, x_176); -lean_ctor_set(x_178, 1, x_177); -return x_178; +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_2); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_3); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_box(0); +x_43 = lean_apply_3(x_20, x_41, x_42, x_17); +return x_43; } } } -else +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_determineValidSnapshots___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_179 = lean_ctor_get(x_124, 2); -x_180 = lean_ctor_get(x_124, 6); -x_181 = lean_ctor_get(x_124, 8); -lean_inc(x_181); -lean_inc(x_180); -lean_inc(x_179); -lean_dec(x_124); -x_182 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2; -x_183 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_1, x_182); +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Server_FileWorker_determineValidSnapshots___lambda__1(x_1, x_2); +lean_dec(x_2); lean_dec(x_1); -x_184 = lean_ctor_get(x_2, 2); -lean_inc(x_184); -x_185 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8; -x_186 = lean_box(0); -x_187 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__11; -lean_inc_n(x_3, 2); -lean_inc(x_184); -lean_inc(x_11); -x_188 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_188, 0, x_11); -lean_ctor_set(x_188, 1, x_184); -lean_ctor_set(x_188, 2, x_185); -lean_ctor_set(x_188, 3, x_3); -lean_ctor_set(x_188, 4, x_186); -lean_ctor_set(x_188, 5, x_3); -lean_ctor_set(x_188, 6, x_187); -x_189 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__13; -lean_inc(x_4); -x_190 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_4); -x_191 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_191, 0, x_190); -x_192 = lean_unsigned_to_nat(1u); -x_193 = l_Lean_Syntax_getArg(x_4, x_192); -x_194 = l_Lean_Syntax_getArgs(x_193); -lean_dec(x_193); -x_195 = lean_array_to_list(lean_box(0), x_194); -x_196 = l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1(x_195, x_3); -x_197 = l_List_toPArray_x27___rarg(x_196); -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_191); -lean_ctor_set(x_198, 1, x_197); -x_199 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_199, 0, x_188); -lean_ctor_set(x_199, 1, x_198); -x_200 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_201 = lean_array_push(x_200, x_199); -x_202 = l_Array_toPArray_x27___rarg(x_201); -lean_dec(x_201); -x_203 = 1; -x_204 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5; -x_205 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_202); -lean_ctor_set_uint8(x_205, sizeof(void*)*2, x_203); -x_206 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1; -lean_inc(x_12); -x_207 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_207, 0, x_11); -lean_ctor_set(x_207, 1, x_12); -lean_ctor_set(x_207, 2, x_179); -lean_ctor_set(x_207, 3, x_206); -lean_ctor_set(x_207, 4, x_183); -lean_ctor_set(x_207, 5, x_192); -lean_ctor_set(x_207, 6, x_180); -lean_ctor_set(x_207, 7, x_205); -lean_ctor_set(x_207, 8, x_181); -x_208 = l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__7(x_5, x_184, x_12, x_10); -x_209 = lean_ctor_get(x_208, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_208, 1); -lean_inc(x_210); -lean_dec(x_208); -x_211 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__15; -x_212 = lean_st_mk_ref(x_211, x_210); -x_213 = lean_ctor_get(x_212, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_212, 1); -lean_inc(x_214); -lean_dec(x_212); -x_215 = lean_unsigned_to_nat(0u); -x_216 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_4); -lean_ctor_set(x_216, 2, x_6); -lean_ctor_set(x_216, 3, x_207); -lean_ctor_set(x_216, 4, x_209); -lean_ctor_set(x_216, 5, x_213); -lean_inc(x_216); -x_217 = l_Lean_Server_Snapshots_Snapshot_diagnostics(x_216); -x_218 = l_Lean_PersistentArray_toArray___rarg(x_217); -x_219 = l_Lean_Server_publishDiagnostics(x_2, x_218, x_7, x_214); -if (lean_obj_tag(x_219) == 0) +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_determineValidSnapshots___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_220 = lean_ctor_get(x_219, 1); -lean_inc(x_220); -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - x_221 = x_219; -} else { - lean_dec_ref(x_219); - x_221 = lean_box(0); +lean_object* x_4; +x_4 = l_Lean_Server_FileWorker_determineValidSnapshots___lambda__2(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; } -x_222 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_222, 0, x_216); -lean_ctor_set(x_222, 1, x_8); -if (lean_is_scalar(x_221)) { - x_223 = lean_alloc_ctor(0, 2, 0); -} else { - x_223 = x_221; } -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_220); -return x_223; +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +return x_4; } else { -lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; -lean_dec(x_216); -lean_dec(x_8); -x_224 = lean_ctor_get(x_219, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_219, 1); -lean_inc(x_225); -if (lean_is_exclusive(x_219)) { - lean_ctor_release(x_219, 0); - lean_ctor_release(x_219, 1); - x_226 = x_219; -} else { - lean_dec_ref(x_219); - x_226 = lean_box(0); -} -if (lean_is_scalar(x_226)) { - x_227 = lean_alloc_ctor(1, 2, 0); -} else { - x_227 = x_226; -} -lean_ctor_set(x_227, 0, x_224); -lean_ctor_set(x_227, 1, x_225); -return x_227; +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; } } } -else -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_228 = lean_ctor_get(x_123, 0); -lean_inc(x_228); -lean_dec(x_123); -x_229 = lean_box(0); -x_230 = lean_module_name_of_file(x_228, x_229, x_10); -if (lean_obj_tag(x_230) == 0) +static lean_object* _init_l_panic___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__2___closed__1() { +_start: { -lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -x_231 = lean_ctor_get(x_230, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_230, 1); -lean_inc(x_232); -lean_dec(x_230); -x_233 = lean_environment_set_main_module(x_11, x_231); -x_234 = lean_box(0); -x_235 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_235, 0, x_234); -lean_ctor_set(x_235, 1, x_233); -x_14 = x_235; -x_15 = x_232; -goto block_121; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l_panic___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__2___closed__1; +x_3 = l_instInhabited___rarg(x_2, x_1); +return x_3; } -else +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__2(lean_object* x_1, lean_object* x_2) { +_start: { -lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_236 = lean_ctor_get(x_230, 1); -lean_inc(x_236); -lean_dec(x_230); -x_237 = lean_box(0); -x_238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_11); -x_14 = x_238; -x_15 = x_236; -goto block_121; +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_panic___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__2___closed__1; +x_4 = lean_panic_fn(x_3, x_1); +x_5 = lean_apply_1(x_4, x_2); +return x_5; } } -block_121: -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -lean_inc(x_1); -lean_inc(x_12); -lean_inc(x_16); -x_17 = l_Lean_Elab_Command_mkState(x_16, x_12, x_1); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__3(lean_object* x_1, lean_object* x_2) { +_start: { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_19 = lean_ctor_get(x_17, 7); -lean_dec(x_19); -x_20 = lean_ctor_get(x_17, 5); -lean_dec(x_20); -x_21 = lean_ctor_get(x_17, 4); -lean_dec(x_21); -x_22 = lean_ctor_get(x_17, 3); -lean_dec(x_22); -x_23 = lean_ctor_get(x_17, 1); -lean_dec(x_23); -x_24 = lean_ctor_get(x_17, 0); -lean_dec(x_24); -x_25 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2; -x_26 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_1, x_25); -lean_dec(x_1); -x_27 = lean_ctor_get(x_2, 2); -lean_inc(x_27); -x_28 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8; -x_29 = lean_box(0); -x_30 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__11; -lean_inc_n(x_3, 2); -lean_inc(x_27); -lean_inc(x_16); -x_31 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_31, 0, x_16); -lean_ctor_set(x_31, 1, x_27); -lean_ctor_set(x_31, 2, x_28); -lean_ctor_set(x_31, 3, x_3); -lean_ctor_set(x_31, 4, x_29); -lean_ctor_set(x_31, 5, x_3); -lean_ctor_set(x_31, 6, x_30); -x_32 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__13; +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_st_ref_get(x_1, x_2); +x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_4); -x_34 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_34, 0, x_33); -x_35 = lean_unsigned_to_nat(1u); -x_36 = l_Lean_Syntax_getArg(x_4, x_35); -x_37 = l_Lean_Syntax_getArgs(x_36); -lean_dec(x_36); -x_38 = lean_array_to_list(lean_box(0), x_37); -x_39 = l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1(x_38, x_3); -x_40 = l_List_toPArray_x27___rarg(x_39); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_34); -lean_ctor_set(x_41, 1, x_40); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_31); -lean_ctor_set(x_42, 1, x_41); -x_43 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_44 = lean_array_push(x_43, x_42); -x_45 = l_Array_toPArray_x27___rarg(x_44); -lean_dec(x_44); -x_46 = 1; -x_47 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5; -x_48 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_45); -lean_ctor_set_uint8(x_48, sizeof(void*)*2, x_46); -x_49 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1; -lean_inc(x_12); -lean_ctor_set(x_17, 7, x_48); -lean_ctor_set(x_17, 5, x_35); -lean_ctor_set(x_17, 4, x_26); -lean_ctor_set(x_17, 3, x_49); -lean_ctor_set(x_17, 1, x_12); -lean_ctor_set(x_17, 0, x_16); -x_50 = l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__2(x_5, x_27, x_12, x_15); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__15; -x_54 = lean_st_mk_ref(x_53, x_52); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -lean_dec(x_54); -x_57 = lean_unsigned_to_nat(0u); -x_58 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_4); -lean_ctor_set(x_58, 2, x_6); -lean_ctor_set(x_58, 3, x_17); -lean_ctor_set(x_58, 4, x_51); -lean_ctor_set(x_58, 5, x_55); -lean_inc(x_58); -x_59 = l_Lean_Server_Snapshots_Snapshot_diagnostics(x_58); -x_60 = l_Lean_PersistentArray_toArray___rarg(x_59); -x_61 = l_Lean_Server_publishDiagnostics(x_2, x_60, x_7, x_56); -if (lean_obj_tag(x_61) == 0) +x_5 = lean_unbox(x_4); +lean_dec(x_4); +if (x_5 == 0) { -uint8_t x_62; -x_62 = !lean_is_exclusive(x_61); -if (x_62 == 0) +uint8_t x_6; +x_6 = !lean_is_exclusive(x_3); +if (x_6 == 0) { -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_61, 0); -lean_dec(x_63); -if (lean_is_scalar(x_13)) { - x_64 = lean_alloc_ctor(0, 2, 0); -} else { - x_64 = x_13; -} -lean_ctor_set(x_64, 0, x_58); -lean_ctor_set(x_64, 1, x_8); -lean_ctor_set(x_61, 0, x_64); -return x_61; +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_3, 0); +lean_dec(x_7); +x_8 = lean_box(0); +lean_ctor_set(x_3, 0, x_8); +return x_3; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_61, 1); -lean_inc(x_65); -lean_dec(x_61); -if (lean_is_scalar(x_13)) { - x_66 = lean_alloc_ctor(0, 2, 0); -} else { - x_66 = x_13; -} -lean_ctor_set(x_66, 0, x_58); -lean_ctor_set(x_66, 1, x_8); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -return x_67; +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_3, 1); +lean_inc(x_9); +lean_dec(x_3); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; } } else { -uint8_t x_68; -lean_dec(x_58); -lean_dec(x_13); -lean_dec(x_8); -x_68 = !lean_is_exclusive(x_61); -if (x_68 == 0) -{ -return x_61; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_61, 0); -x_70 = lean_ctor_get(x_61, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_61); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; -} -} -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_72 = lean_ctor_get(x_17, 2); -x_73 = lean_ctor_get(x_17, 6); -x_74 = lean_ctor_get(x_17, 8); -lean_inc(x_74); -lean_inc(x_73); -lean_inc(x_72); -lean_dec(x_17); -x_75 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2; -x_76 = l_Lean_Option_get___at_Lean_profiler_threshold_getSecs___spec__1(x_1, x_75); -lean_dec(x_1); -x_77 = lean_ctor_get(x_2, 2); -lean_inc(x_77); -x_78 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8; -x_79 = lean_box(0); -x_80 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__11; -lean_inc_n(x_3, 2); -lean_inc(x_77); -lean_inc(x_16); -x_81 = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(x_81, 0, x_16); -lean_ctor_set(x_81, 1, x_77); -lean_ctor_set(x_81, 2, x_78); -lean_ctor_set(x_81, 3, x_3); -lean_ctor_set(x_81, 4, x_79); -lean_ctor_set(x_81, 5, x_3); -lean_ctor_set(x_81, 6, x_80); -x_82 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__13; -lean_inc(x_4); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_4); -x_84 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_85 = lean_unsigned_to_nat(1u); -x_86 = l_Lean_Syntax_getArg(x_4, x_85); -x_87 = l_Lean_Syntax_getArgs(x_86); -lean_dec(x_86); -x_88 = lean_array_to_list(lean_box(0), x_87); -x_89 = l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1(x_88, x_3); -x_90 = l_List_toPArray_x27___rarg(x_89); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_84); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_81); -lean_ctor_set(x_92, 1, x_91); -x_93 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_94 = lean_array_push(x_93, x_92); -x_95 = l_Array_toPArray_x27___rarg(x_94); -lean_dec(x_94); -x_96 = 1; -x_97 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5; -x_98 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_95); -lean_ctor_set_uint8(x_98, sizeof(void*)*2, x_96); -x_99 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1; -lean_inc(x_12); -x_100 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_100, 0, x_16); -lean_ctor_set(x_100, 1, x_12); -lean_ctor_set(x_100, 2, x_72); -lean_ctor_set(x_100, 3, x_99); -lean_ctor_set(x_100, 4, x_76); -lean_ctor_set(x_100, 5, x_85); -lean_ctor_set(x_100, 6, x_73); -lean_ctor_set(x_100, 7, x_98); -lean_ctor_set(x_100, 8, x_74); -x_101 = l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__2(x_5, x_77, x_12, x_15); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__15; -x_105 = lean_st_mk_ref(x_104, x_103); -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_unsigned_to_nat(0u); -x_109 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_4); -lean_ctor_set(x_109, 2, x_6); -lean_ctor_set(x_109, 3, x_100); -lean_ctor_set(x_109, 4, x_102); -lean_ctor_set(x_109, 5, x_106); -lean_inc(x_109); -x_110 = l_Lean_Server_Snapshots_Snapshot_diagnostics(x_109); -x_111 = l_Lean_PersistentArray_toArray___rarg(x_110); -x_112 = l_Lean_Server_publishDiagnostics(x_2, x_111, x_7, x_107); -if (lean_obj_tag(x_112) == 0) -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_114 = x_112; -} else { - lean_dec_ref(x_112); - x_114 = lean_box(0); -} -if (lean_is_scalar(x_13)) { - x_115 = lean_alloc_ctor(0, 2, 0); -} else { - x_115 = x_13; -} -lean_ctor_set(x_115, 0, x_109); -lean_ctor_set(x_115, 1, x_8); -if (lean_is_scalar(x_114)) { - x_116 = lean_alloc_ctor(0, 2, 0); -} else { - x_116 = x_114; -} -lean_ctor_set(x_116, 0, x_115); -lean_ctor_set(x_116, 1, x_113); -return x_116; -} -else +uint8_t x_12; +x_12 = !lean_is_exclusive(x_3); +if (x_12 == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_109); +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_3, 0); lean_dec(x_13); -lean_dec(x_8); -x_117 = lean_ctor_get(x_112, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_112, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_112)) { - lean_ctor_release(x_112, 0); - lean_ctor_release(x_112, 1); - x_119 = x_112; -} else { - lean_dec_ref(x_112); - x_119 = lean_box(0); -} -if (lean_is_scalar(x_119)) { - x_120 = lean_alloc_ctor(1, 2, 0); -} else { - x_120 = x_119; -} -lean_ctor_set(x_120, 0, x_117); -lean_ctor_set(x_120, 1, x_118); -return x_120; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint32_t x_8; uint8_t x_9; lean_object* x_10; -x_8 = 0; -x_9 = 1; -x_10 = l_Lean_Elab_processHeader(x_1, x_2, x_3, x_4, x_8, x_9, x_7); -if (lean_obj_tag(x_10) == 0) -{ -uint8_t x_11; -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_5); -lean_ctor_set(x_10, 0, x_13); -return x_10; +x_14 = lean_box(0); +lean_ctor_set_tag(x_3, 1); +lean_ctor_set(x_3, 0, x_14); +return x_3; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = lean_ctor_get(x_10, 0); -x_15 = lean_ctor_get(x_10, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_3, 1); lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_10); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_5); -x_17 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_3); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); return x_17; } } -else -{ -uint8_t x_18; -lean_dec(x_5); -x_18 = !lean_is_exclusive(x_10); -if (x_18 == 0) -{ -return x_10; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_10, 0); -x_20 = lean_ctor_get(x_10, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_10); -x_21 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -return x_21; -} -} -} -} -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__2() { +static lean_object* _init_l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("", 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("lakefile.lean", 13); +x_1 = lean_mk_string_from_bytes("Lean.Server.FileWorker.startNewSnapshotTasks", 44); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__4() { +static lean_object* _init_l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__3; -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__1; +x_2 = l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__1; +x_3 = lean_unsigned_to_nat(322u); +x_4 = lean_unsigned_to_nat(60u); +x_5 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_13; lean_object* x_24; lean_object* x_25; lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_2, 0); -lean_inc(x_49); -x_50 = l_System_Uri_fileUriToPath_x3f(x_49); -if (lean_obj_tag(x_50) == 0) +lean_object* x_9; +x_9 = l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__1(x_7, x_8); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_51; lean_object* x_52; -lean_dec(x_11); -x_51 = lean_box(0); +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -lean_inc(x_1); -x_52 = l_Lean_Server_FileWorker_compileHeader___lambda__2(x_4, x_1, x_8, x_9, x_10, x_51, x_12); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); lean_dec(x_9); -if (lean_obj_tag(x_52) == 0) +x_12 = l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__2; +x_13 = l_panic___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__2(x_12, x_11); +if (lean_obj_tag(x_13) == 0) { -lean_dec(x_10); -x_13 = x_52; -goto block_23; +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_13, 0, x_16); +return x_13; } else { -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_24 = x_53; -x_25 = x_54; -goto block_48; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_13, 0); +x_18 = lean_ctor_get(x_13, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_13); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +return x_20; } } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_55 = lean_ctor_get(x_50, 0); -lean_inc(x_55); -lean_dec(x_50); -x_56 = l_System_FilePath_pathExists(x_11, x_12); -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -x_58 = lean_ctor_get(x_56, 1); -lean_inc(x_58); -lean_dec(x_56); -x_59 = l_System_FilePath_fileName(x_55); -x_60 = l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__4; -x_61 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1(x_59, x_60); -lean_dec(x_59); -if (x_61 == 0) -{ -uint8_t x_62; -x_62 = lean_unbox(x_57); -lean_dec(x_57); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; -lean_dec(x_11); -x_63 = lean_box(0); -lean_inc(x_10); -lean_inc(x_1); -x_64 = l_Lean_Server_FileWorker_compileHeader___lambda__2(x_4, x_1, x_8, x_9, x_10, x_63, x_58); -lean_dec(x_9); -if (lean_obj_tag(x_64) == 0) +uint8_t x_21; +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) { -lean_dec(x_10); -x_13 = x_64; -goto block_23; +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set_tag(x_13, 0); +lean_ctor_set(x_13, 0, x_23); +return x_13; } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_24 = x_65; -x_25 = x_66; -goto block_48; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_13, 0); +x_25 = lean_ctor_get(x_13, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_13); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; +} } } else { -lean_object* x_67; lean_object* x_68; -x_67 = l_Lean_Elab_headerToImports(x_4); -lean_inc(x_7); -lean_inc(x_2); -x_68 = l_Lean_Server_FileWorker_lakeSetupSearchPath(x_11, x_2, x_67, x_7, x_58); -if (lean_obj_tag(x_68) == 0) +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_10, 0); +lean_inc(x_28); +lean_dec(x_10); +x_29 = lean_ctor_get(x_9, 1); +lean_inc(x_29); +lean_dec(x_9); +x_30 = !lean_is_exclusive(x_28); +if (x_30 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_get_prefix(x_70); -if (lean_obj_tag(x_71) == 0) +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_28, 2); +lean_dec(x_31); +x_32 = lean_ctor_get(x_28, 1); +lean_dec(x_32); +lean_ctor_set(x_28, 2, x_2); +lean_ctor_set(x_28, 1, x_1); +lean_inc(x_4); +x_33 = l_Lean_Server_FileWorker_determineValidSnapshots(x_3, x_4, x_28, x_29); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_72; lean_object* x_73; -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -lean_dec(x_71); -x_73 = l_Lean_initSrcSearchPath___rarg(x_69, x_72); -if (lean_obj_tag(x_73) == 0) +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint32_t x_41; lean_object* x_42; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = l_List_redLength___rarg(x_34); +x_37 = lean_mk_empty_array_with_capacity(x_36); +lean_dec(x_36); +x_38 = l_List_toArrayAux___rarg(x_34, x_37); +x_39 = lean_ctor_get(x_5, 4); +lean_inc(x_39); +x_40 = l_Lean_Lsp_InitializeParams_editDelay(x_39); +lean_dec(x_39); +x_41 = lean_uint32_of_nat(x_40); +lean_dec(x_40); +x_42 = l_Lean_Server_FileWorker_unfoldCmdSnaps(x_4, x_38, x_6, x_41, x_5, x_35); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_box(0); -lean_inc(x_1); -x_77 = l_Lean_Server_FileWorker_compileHeader___lambda__2(x_4, x_1, x_8, x_9, x_74, x_76, x_75); -lean_dec(x_9); -if (lean_obj_tag(x_77) == 0) +uint8_t x_43; +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -lean_dec(x_10); -x_13 = x_77; -goto block_23; +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_42, 0); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_42, 0, x_45); +return x_42; } else { -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_24 = x_78; -x_25 = x_79; -goto block_48; +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_42, 0); +x_47 = lean_ctor_get(x_42, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_42); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_46); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +return x_49; } } else { -lean_object* x_80; lean_object* x_81; -lean_dec(x_9); -lean_dec(x_8); -x_80 = lean_ctor_get(x_73, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_73, 1); -lean_inc(x_81); -lean_dec(x_73); -x_24 = x_80; -x_25 = x_81; -goto block_48; -} +uint8_t x_50; +x_50 = !lean_is_exclusive(x_42); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_42, 0); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set_tag(x_42, 0); +lean_ctor_set(x_42, 0, x_53); +return x_42; } else { -lean_object* x_82; lean_object* x_83; -lean_dec(x_69); -lean_dec(x_9); -lean_dec(x_8); -x_82 = lean_ctor_get(x_71, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_71, 1); -lean_inc(x_83); -lean_dec(x_71); -x_24 = x_82; -x_25 = x_83; -goto block_48; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_54 = lean_ctor_get(x_42, 0); +x_55 = lean_ctor_get(x_42, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_42); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_54); +x_57 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_55); +return x_58; +} } } else { -lean_object* x_84; lean_object* x_85; -lean_dec(x_9); -lean_dec(x_8); -x_84 = lean_ctor_get(x_68, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_68, 1); -lean_inc(x_85); -lean_dec(x_68); -x_24 = x_84; -x_25 = x_85; -goto block_48; +uint8_t x_59; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_59 = !lean_is_exclusive(x_33); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_33, 0); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_62 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set_tag(x_33, 0); +lean_ctor_set(x_33, 0, x_62); +return x_33; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_63 = lean_ctor_get(x_33, 0); +x_64 = lean_ctor_get(x_33, 1); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_33); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_63); +x_66 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_64); +return x_67; } } } else { -lean_object* x_86; lean_object* x_87; -lean_dec(x_57); -lean_dec(x_11); -x_86 = lean_box(0); -lean_inc(x_10); -lean_inc(x_1); -x_87 = l_Lean_Server_FileWorker_compileHeader___lambda__2(x_4, x_1, x_8, x_9, x_10, x_86, x_58); -lean_dec(x_9); -if (lean_obj_tag(x_87) == 0) +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_68 = lean_ctor_get(x_28, 0); +x_69 = lean_ctor_get(x_28, 3); +x_70 = lean_ctor_get(x_28, 4); +x_71 = lean_ctor_get(x_28, 5); +lean_inc(x_71); +lean_inc(x_70); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_28); +x_72 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_72, 0, x_68); +lean_ctor_set(x_72, 1, x_1); +lean_ctor_set(x_72, 2, x_2); +lean_ctor_set(x_72, 3, x_69); +lean_ctor_set(x_72, 4, x_70); +lean_ctor_set(x_72, 5, x_71); +lean_inc(x_4); +x_73 = l_Lean_Server_FileWorker_determineValidSnapshots(x_3, x_4, x_72, x_29); +if (lean_obj_tag(x_73) == 0) { -lean_dec(x_10); -x_13 = x_87; -goto block_23; +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint32_t x_81; lean_object* x_82; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_List_redLength___rarg(x_74); +x_77 = lean_mk_empty_array_with_capacity(x_76); +lean_dec(x_76); +x_78 = l_List_toArrayAux___rarg(x_74, x_77); +x_79 = lean_ctor_get(x_5, 4); +lean_inc(x_79); +x_80 = l_Lean_Lsp_InitializeParams_editDelay(x_79); +lean_dec(x_79); +x_81 = lean_uint32_of_nat(x_80); +lean_dec(x_80); +x_82 = l_Lean_Server_FileWorker_unfoldCmdSnaps(x_4, x_78, x_6, x_81, x_5, x_75); +if (lean_obj_tag(x_82) == 0) +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +x_84 = lean_ctor_get(x_82, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_85 = x_82; +} else { + lean_dec_ref(x_82); + x_85 = lean_box(0); +} +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_83); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_85; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_84); +return x_87; } else { -lean_object* x_88; lean_object* x_89; -x_88 = lean_ctor_get(x_87, 0); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_88 = lean_ctor_get(x_82, 0); lean_inc(x_88); -x_89 = lean_ctor_get(x_87, 1); +x_89 = lean_ctor_get(x_82, 1); lean_inc(x_89); -lean_dec(x_87); -x_24 = x_88; -x_25 = x_89; -goto block_48; +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_90 = x_82; +} else { + lean_dec_ref(x_82); + x_90 = lean_box(0); } +x_91 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_91, 0, x_88); +x_92 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_92, 0, x_91); +if (lean_is_scalar(x_90)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_90; + lean_ctor_set_tag(x_93, 0); } +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_89); +return x_93; } -block_23: -{ -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_14, 0); -lean_inc(x_17); -lean_dec(x_14); -x_18 = l_Lean_Server_FileWorker_compileHeader___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16, x_17, x_15); -return x_18; } else { -uint8_t x_19; -lean_dec(x_7); +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_19 = !lean_is_exclusive(x_13); -if (x_19 == 0) -{ -return x_13; +x_94 = lean_ctor_get(x_73, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_73, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_96 = x_73; +} else { + lean_dec_ref(x_73); + x_96 = lean_box(0); } -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_13, 0); -x_21 = lean_ctor_get(x_13, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_13); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_94); +x_98 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_98, 0, x_97); +if (lean_is_scalar(x_96)) { + x_99 = lean_alloc_ctor(0, 2, 0); +} else { + x_99 = x_96; + lean_ctor_set_tag(x_99, 0); +} +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_95); +return x_99; } } } -block_48: -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint32_t x_38; lean_object* x_39; -x_26 = lean_box(0); -x_27 = lean_io_error_to_string(x_24); -x_28 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_28, 0, x_27); -x_29 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_29, 0, x_28); -x_30 = l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__2; -x_31 = l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__1; -x_32 = 0; -x_33 = 2; -x_34 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_35 = lean_alloc_ctor(0, 5, 2); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_31); -lean_ctor_set(x_35, 2, x_26); -lean_ctor_set(x_35, 3, x_34); -lean_ctor_set(x_35, 4, x_29); -lean_ctor_set_uint8(x_35, sizeof(void*)*5, x_32); -lean_ctor_set_uint8(x_35, sizeof(void*)*5 + 1, x_33); -x_36 = l_Lean_MessageLog_empty; -x_37 = l_Lean_PersistentArray_push___rarg(x_36, x_35); -x_38 = 0; -x_39 = lean_mk_empty_environment(x_38, x_25); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_37); -x_43 = l_Lean_Server_FileWorker_compileHeader___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_10, x_42, x_41); -return x_43; } else { -uint8_t x_44; -lean_dec(x_37); -lean_dec(x_10); -lean_dec(x_7); +uint8_t x_100; lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_44 = !lean_is_exclusive(x_39); -if (x_44 == 0) +x_100 = !lean_is_exclusive(x_9); +if (x_100 == 0) { -return x_39; +lean_object* x_101; lean_object* x_102; +x_101 = lean_ctor_get(x_9, 0); +x_102 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set_tag(x_9, 0); +lean_ctor_set(x_9, 0, x_102); +return x_9; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_39, 0); -x_46 = lean_ctor_get(x_39, 1); -lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_39); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; -} -} -} +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_103 = lean_ctor_get(x_9, 0); +x_104 = lean_ctor_get(x_9, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_9); +x_105 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_105, 0, x_103); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +return x_106; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = l_System_FilePath_exeExtension; -x_6 = l_System_FilePath_withExtension(x_3, x_5); -x_7 = lean_apply_3(x_1, x_2, x_6, x_4); -return x_7; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__1() { +static lean_object* _init_l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("LAKE", 4); +x_1 = lean_alloc_closure((void*)(l_IO_AsyncList_waitHead_x3f___rarg___lambda__1___boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__2() { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("LEAN_SYSROOT", 12); -return x_1; -} +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_11 = lean_ctor_get(x_1, 1); +lean_inc(x_11); +x_12 = l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2___closed__1; +x_13 = l_IO_AsyncList_waitFind_x3f___rarg(x_12, x_11); +lean_inc(x_6); +x_14 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___boxed), 8, 6); +lean_closure_set(x_14, 0, x_2); +lean_closure_set(x_14, 1, x_3); +lean_closure_set(x_14, 2, x_1); +lean_closure_set(x_14, 3, x_4); +lean_closure_set(x_14, 4, x_5); +lean_closure_set(x_14, 5, x_6); +x_15 = l_Task_Priority_dedicated; +x_16 = lean_io_map_task(x_14, x_13, x_15, x_10); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_6); +lean_ctor_set(x_16, 0, x_20); +return x_16; } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__3() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("lake", 4); -return x_1; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_16, 0); +x_22 = lean_ctor_get(x_16, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_16); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_21); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_6); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_22); +return x_25; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__4() { +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("bin", 3); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -lean_dec(x_9); -x_11 = lean_box(0); -x_12 = l_Lean_initSrcSearchPath___rarg(x_11, x_10); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__1; -x_16 = lean_io_getenv(x_15, x_14); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_box(x_4); -x_20 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_compileHeader___lambda__3___boxed), 12, 9); -lean_closure_set(x_20, 0, x_1); -lean_closure_set(x_20, 1, x_2); -lean_closure_set(x_20, 2, x_11); -lean_closure_set(x_20, 3, x_3); -lean_closure_set(x_20, 4, x_19); -lean_closure_set(x_20, 5, x_5); -lean_closure_set(x_20, 6, x_6); -lean_closure_set(x_20, 7, x_7); -lean_closure_set(x_20, 8, x_8); -x_21 = l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__2; -x_22 = lean_io_getenv(x_21, x_18); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_IO_appDir(x_24); -if (lean_obj_tag(x_25) == 0) +lean_object* x_4; +x_4 = l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__3(x_1, x_3); +if (lean_obj_tag(x_4) == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__3; -x_29 = l_System_FilePath_join(x_26, x_28); -x_30 = l_Lean_Server_FileWorker_compileHeader___lambda__4(x_20, x_13, x_29, x_27); -return x_30; -} -else +lean_object* x_5; uint8_t x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_4, 1); +lean_inc(x_5); +lean_dec(x_4); +x_6 = 2; +x_7 = lean_io_exit(x_6, x_5); +if (lean_obj_tag(x_7) == 0) { -uint8_t x_31; -lean_dec(x_20); -lean_dec(x_13); -x_31 = !lean_is_exclusive(x_25); -if (x_31 == 0) +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) { -return x_25; +return x_7; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_25, 0); -x_33 = lean_ctor_get(x_25, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_25); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; -} +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +return x_11; } } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_35 = lean_ctor_get(x_22, 1); -lean_inc(x_35); -lean_dec(x_22); -x_36 = lean_ctor_get(x_23, 0); -lean_inc(x_36); -lean_dec(x_23); -x_37 = l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__4; -x_38 = l_System_FilePath_join(x_36, x_37); -x_39 = l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__3; -x_40 = l_System_FilePath_join(x_38, x_39); -x_41 = l_Lean_Server_FileWorker_compileHeader___lambda__4(x_20, x_13, x_40, x_35); -return x_41; -} +uint8_t x_12; +x_12 = !lean_is_exclusive(x_7); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_7, 0); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_7, 0, x_14); +return x_7; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_16, 1); -lean_inc(x_42); -lean_dec(x_16); -x_43 = lean_ctor_get(x_17, 0); -lean_inc(x_43); -lean_dec(x_17); -x_44 = l_Lean_Server_FileWorker_compileHeader___lambda__3(x_1, x_2, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_13, x_43, x_42); -return x_44; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_7, 0); +x_16 = lean_ctor_get(x_7, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_7); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} } } else { -uint8_t x_45; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_45 = !lean_is_exclusive(x_12); -if (x_45 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_4); +if (x_19 == 0) { -return x_12; +return x_4; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_12, 0); -x_47 = lean_ctor_get(x_12, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_12); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_4, 0); +x_21 = lean_ctor_get(x_4, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_4); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } -static lean_object* _init_l_Lean_Server_FileWorker_compileHeader___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(lean_get_prefix), 1, 0); -return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_6; lean_object* x_7; -lean_inc(x_1); -x_6 = l_Lean_Server_DocumentMeta_mkInputContext(x_1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); lean_inc(x_6); -x_7 = l_Lean_Parser_parseHeader(x_6, x_5); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_8 = lean_ctor_get(x_7, 0); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); lean_inc(x_8); -x_9 = lean_ctor_get(x_8, 1); +lean_dec(x_6); +x_9 = lean_ctor_get(x_8, 2); lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_ctor_get(x_8, 0); +x_10 = l_Lean_Server_FileWorker_CancelToken_set(x_9, x_7); +lean_dec(x_9); +x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); -lean_dec(x_8); -x_12 = !lean_is_exclusive(x_9); -if (x_12 == 0) +lean_dec(x_10); +x_12 = lean_st_ref_get(x_3, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +lean_inc(x_1); +x_16 = l_Lean_Server_DocumentMeta_mkInputContext(x_1); +x_17 = l_Lean_Parser_parseHeader(x_16, x_14); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_13 = lean_ctor_get(x_9, 0); -x_14 = lean_ctor_get(x_9, 1); -x_15 = lean_box(x_4); -lean_inc(x_11); -x_16 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_compileHeader___lambda__5___boxed), 10, 8); -lean_closure_set(x_16, 0, x_3); -lean_closure_set(x_16, 1, x_1); -lean_closure_set(x_16, 2, x_11); -lean_closure_set(x_16, 3, x_15); -lean_closure_set(x_16, 4, x_13); -lean_closure_set(x_16, 5, x_2); -lean_closure_set(x_16, 6, x_14); -lean_closure_set(x_16, 7, x_6); -x_17 = l_Lean_Server_FileWorker_compileHeader___closed__1; -x_18 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); -lean_closure_set(x_18, 0, x_17); -lean_closure_set(x_18, 1, x_16); -x_19 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); -lean_closure_set(x_19, 0, x_18); -x_20 = l_Task_Priority_default; -x_21 = lean_io_as_task(x_19, x_20, x_10); -x_22 = !lean_is_exclusive(x_21); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_17, 1); +lean_inc(x_20); +lean_dec(x_17); +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +lean_dec(x_18); +x_22 = !lean_is_exclusive(x_19); if (x_22 == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_ctor_set(x_9, 1, x_23); -lean_ctor_set(x_9, 0, x_11); -lean_ctor_set(x_21, 0, x_9); -return x_21; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_23 = lean_ctor_get(x_19, 0); +x_24 = lean_ctor_get(x_19, 1); +lean_dec(x_24); +x_25 = l_Lean_Server_FileWorker_CancelToken_new(x_20); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +lean_inc(x_21); +x_28 = l_Lean_Syntax_structEq(x_15, x_21); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_dec(x_23); +lean_dec(x_8); +lean_dec(x_1); +x_29 = lean_st_ref_get(x_3, x_27); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = !lean_is_exclusive(x_30); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint32_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_33 = lean_ctor_get(x_30, 2); +lean_dec(x_33); +lean_ctor_set(x_30, 2, x_21); +x_34 = lean_st_ref_set(x_3, x_30, x_31); +lean_dec(x_3); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_ctor_get(x_2, 4); +lean_inc(x_36); +lean_dec(x_2); +x_37 = l_Lean_Lsp_InitializeParams_editDelay(x_36); +lean_dec(x_36); +x_38 = lean_uint32_of_nat(x_37); +lean_dec(x_37); +x_39 = lean_box_uint32(x_38); +x_40 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_unfoldCmdSnaps___lambda__1___boxed), 2, 1); +lean_closure_set(x_40, 0, x_39); +lean_inc(x_26); +x_41 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__3___boxed), 3, 1); +lean_closure_set(x_41, 0, x_26); +x_42 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); +lean_closure_set(x_42, 0, x_40); +lean_closure_set(x_42, 1, x_41); +x_43 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_43, 0, x_42); +x_44 = l_Task_Priority_dedicated; +x_45 = lean_io_as_task(x_43, x_44, x_35); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_45, 0); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_19, 1, x_26); +lean_ctor_set(x_19, 0, x_48); +lean_ctor_set(x_45, 0, x_19); +return x_45; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_21, 0); -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_21); -lean_ctor_set(x_9, 1, x_24); -lean_ctor_set(x_9, 0, x_11); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_9); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_45, 0); +x_50 = lean_ctor_get(x_45, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_45); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_19, 1, x_26); +lean_ctor_set(x_19, 0, x_51); +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_19); +lean_ctor_set(x_52, 1, x_50); +return x_52; } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_27 = lean_ctor_get(x_9, 0); -x_28 = lean_ctor_get(x_9, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_9); -x_29 = lean_box(x_4); -lean_inc(x_11); -x_30 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_compileHeader___lambda__5___boxed), 10, 8); -lean_closure_set(x_30, 0, x_3); -lean_closure_set(x_30, 1, x_1); -lean_closure_set(x_30, 2, x_11); -lean_closure_set(x_30, 3, x_29); -lean_closure_set(x_30, 4, x_27); -lean_closure_set(x_30, 5, x_2); -lean_closure_set(x_30, 6, x_28); -lean_closure_set(x_30, 7, x_6); -x_31 = l_Lean_Server_FileWorker_compileHeader___closed__1; -x_32 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); -lean_closure_set(x_32, 0, x_31); -lean_closure_set(x_32, 1, x_30); -x_33 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); -lean_closure_set(x_33, 0, x_32); -x_34 = l_Task_Priority_default; -x_35 = lean_io_as_task(x_33, x_34, x_10); -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_38 = x_35; +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint32_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_53 = lean_ctor_get(x_30, 0); +x_54 = lean_ctor_get(x_30, 1); +x_55 = lean_ctor_get(x_30, 3); +x_56 = lean_ctor_get(x_30, 4); +x_57 = lean_ctor_get(x_30, 5); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_30); +x_58 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_58, 0, x_53); +lean_ctor_set(x_58, 1, x_54); +lean_ctor_set(x_58, 2, x_21); +lean_ctor_set(x_58, 3, x_55); +lean_ctor_set(x_58, 4, x_56); +lean_ctor_set(x_58, 5, x_57); +x_59 = lean_st_ref_set(x_3, x_58, x_31); +lean_dec(x_3); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = lean_ctor_get(x_2, 4); +lean_inc(x_61); +lean_dec(x_2); +x_62 = l_Lean_Lsp_InitializeParams_editDelay(x_61); +lean_dec(x_61); +x_63 = lean_uint32_of_nat(x_62); +lean_dec(x_62); +x_64 = lean_box_uint32(x_63); +x_65 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_unfoldCmdSnaps___lambda__1___boxed), 2, 1); +lean_closure_set(x_65, 0, x_64); +lean_inc(x_26); +x_66 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__3___boxed), 3, 1); +lean_closure_set(x_66, 0, x_26); +x_67 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); +lean_closure_set(x_67, 0, x_65); +lean_closure_set(x_67, 1, x_66); +x_68 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_68, 0, x_67); +x_69 = l_Task_Priority_dedicated; +x_70 = lean_io_as_task(x_68, x_69, x_60); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_73 = x_70; } else { - lean_dec_ref(x_35); - x_38 = lean_box(0); + lean_dec_ref(x_70); + x_73 = lean_box(0); } -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_11); -lean_ctor_set(x_39, 1, x_36); -if (lean_is_scalar(x_38)) { - x_40 = lean_alloc_ctor(0, 2, 0); +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_71); +lean_ctor_set(x_19, 1, x_26); +lean_ctor_set(x_19, 0, x_74); +if (lean_is_scalar(x_73)) { + x_75 = lean_alloc_ctor(0, 2, 0); } else { - x_40 = x_38; + x_75 = x_73; } -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_37); -return x_40; +lean_ctor_set(x_75, 0, x_19); +lean_ctor_set(x_75, 1, x_72); +return x_75; } } else { -uint8_t x_41; -lean_dec(x_6); +lean_object* x_76; lean_object* x_77; +lean_free_object(x_19); +x_76 = lean_box(0); +lean_inc(x_2); +x_77 = l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2(x_8, x_21, x_23, x_1, x_2, x_26, x_76, x_2, x_3, x_27); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_41 = !lean_is_exclusive(x_7); -if (x_41 == 0) -{ -return x_7; +return x_77; +} } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_7, 0); -x_43 = lean_ctor_get(x_7, 1); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_7); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_78 = lean_ctor_get(x_19, 0); +lean_inc(x_78); +lean_dec(x_19); +x_79 = l_Lean_Server_FileWorker_CancelToken_new(x_20); +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_79, 1); +lean_inc(x_81); +lean_dec(x_79); +lean_inc(x_21); +x_82 = l_Lean_Syntax_structEq(x_15, x_21); +if (x_82 == 0) { -uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_7 = lean_unbox(x_1); +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; uint32_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_78); +lean_dec(x_8); lean_dec(x_1); -x_8 = lean_unbox_usize(x_3); +x_83 = lean_st_ref_get(x_3, x_81); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_ctor_get(x_84, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_84, 1); +lean_inc(x_87); +x_88 = lean_ctor_get(x_84, 3); +lean_inc(x_88); +x_89 = lean_ctor_get(x_84, 4); +lean_inc(x_89); +x_90 = lean_ctor_get(x_84, 5); +lean_inc(x_90); +if (lean_is_exclusive(x_84)) { + lean_ctor_release(x_84, 0); + lean_ctor_release(x_84, 1); + lean_ctor_release(x_84, 2); + lean_ctor_release(x_84, 3); + lean_ctor_release(x_84, 4); + lean_ctor_release(x_84, 5); + x_91 = x_84; +} else { + lean_dec_ref(x_84); + x_91 = lean_box(0); +} +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(0, 6, 0); +} else { + x_92 = x_91; +} +lean_ctor_set(x_92, 0, x_86); +lean_ctor_set(x_92, 1, x_87); +lean_ctor_set(x_92, 2, x_21); +lean_ctor_set(x_92, 3, x_88); +lean_ctor_set(x_92, 4, x_89); +lean_ctor_set(x_92, 5, x_90); +x_93 = lean_st_ref_set(x_3, x_92, x_85); lean_dec(x_3); -x_9 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__4(x_7, x_2, x_8, x_9, x_5, x_6); -return x_10; +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +lean_dec(x_93); +x_95 = lean_ctor_get(x_2, 4); +lean_inc(x_95); +lean_dec(x_2); +x_96 = l_Lean_Lsp_InitializeParams_editDelay(x_95); +lean_dec(x_95); +x_97 = lean_uint32_of_nat(x_96); +lean_dec(x_96); +x_98 = lean_box_uint32(x_97); +x_99 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_unfoldCmdSnaps___lambda__1___boxed), 2, 1); +lean_closure_set(x_99, 0, x_98); +lean_inc(x_80); +x_100 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__3___boxed), 3, 1); +lean_closure_set(x_100, 0, x_80); +x_101 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); +lean_closure_set(x_101, 0, x_99); +lean_closure_set(x_101, 1, x_100); +x_102 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_102, 0, x_101); +x_103 = l_Task_Priority_dedicated; +x_104 = lean_io_as_task(x_102, x_103, x_94); +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_107 = x_104; +} else { + lean_dec_ref(x_104); + x_107 = lean_box(0); } +x_108 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_108, 0, x_105); +x_109 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_80); +if (lean_is_scalar(x_107)) { + x_110 = lean_alloc_ctor(0, 2, 0); +} else { + x_110 = x_107; } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_106); +return x_110; +} +else { -uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_7 = lean_unbox(x_1); -lean_dec(x_1); -x_8 = lean_unbox_usize(x_3); +lean_object* x_111; lean_object* x_112; +x_111 = lean_box(0); +lean_inc(x_2); +x_112 = l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2(x_8, x_21, x_78, x_1, x_2, x_80, x_111, x_2, x_3, x_81); lean_dec(x_3); -x_9 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__5(x_7, x_2, x_8, x_9, x_5, x_6); -return x_10; +lean_dec(x_2); +return x_112; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +} +else { -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); +uint8_t x_113; +lean_dec(x_15); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_6 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__3(x_5, x_2, x_3, x_4); -return x_6; -} +x_113 = !lean_is_exclusive(x_17); +if (x_113 == 0) +{ +return x_17; } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +else { -uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_7 = lean_unbox(x_1); -lean_dec(x_1); -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__6(x_7, x_2, x_8, x_9, x_5, x_6); -return x_10; +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_17, 0); +x_115 = lean_ctor_get(x_17, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_17); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); -lean_dec(x_1); -x_6 = l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__2(x_5, x_2, x_3, x_4); -return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_7 = lean_unbox(x_1); +lean_object* x_3; +x_3 = l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__1(x_1, x_2); lean_dec(x_1); -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__9(x_7, x_2, x_8, x_9, x_5, x_6); -return x_10; +return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { -uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_7 = lean_unbox(x_1); +lean_object* x_3; +x_3 = l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__3(x_1, x_2); lean_dec(x_1); -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__10(x_7, x_2, x_8, x_9, x_5, x_6); -return x_10; +return x_3; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); -lean_dec(x_1); -x_6 = l_Lean_PersistentArray_mapMAux___at_Lean_Server_FileWorker_compileHeader___spec__8(x_5, x_2, x_3, x_4); -return x_6; +lean_object* x_9; +x_9 = l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +return x_9; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_7; size_t x_8; size_t x_9; lean_object* x_10; -x_7 = lean_unbox(x_1); -lean_dec(x_1); -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__11(x_7, x_2, x_8, x_9, x_5, x_6); -return x_10; +lean_object* x_11; +x_11 = l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_5; lean_object* x_6; -x_5 = lean_unbox(x_1); +lean_object* x_4; +x_4 = l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__3(x_1, x_2, x_3); +lean_dec(x_2); lean_dec(x_1); -x_6 = l_Lean_PersistentArray_mapM___at_Lean_Server_FileWorker_compileHeader___spec__7(x_5, x_2, x_3, x_4); -return x_6; +return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l_Lean_Server_FileWorker_compileHeader___lambda__1(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: +lean_object* x_5; +lean_inc(x_3); +lean_inc(x_1); +x_5 = l_Lean_Server_FileWorker_startNewSnapshotTasks(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_8; -x_8 = l_Lean_Server_FileWorker_compileHeader___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_8; -} +x_10 = lean_st_ref_take(x_3, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_8); +lean_ctor_set(x_13, 2, x_9); +x_14 = !lean_is_exclusive(x_11); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_11, 0); +lean_dec(x_15); +lean_ctor_set(x_11, 0, x_13); +x_16 = lean_st_ref_set(x_3, x_11, x_12); +lean_dec(x_3); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_16, 0, x_19); +return x_16; } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: +else { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_5); -lean_dec(x_5); -x_14 = l_Lean_Server_FileWorker_compileHeader___lambda__3(x_1, x_2, x_3, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +else { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_4); -lean_dec(x_4); -x_12 = l_Lean_Server_FileWorker_compileHeader___lambda__5(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9, x_10); -return x_12; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_23 = lean_ctor_get(x_11, 1); +x_24 = lean_ctor_get(x_11, 2); +x_25 = lean_ctor_get(x_11, 3); +x_26 = lean_ctor_get(x_11, 4); +x_27 = lean_ctor_get(x_11, 5); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_11); +x_28 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_28, 0, x_13); +lean_ctor_set(x_28, 1, x_23); +lean_ctor_set(x_28, 2, x_24); +lean_ctor_set(x_28, 3, x_25); +lean_ctor_set(x_28, 4, x_26); +lean_ctor_set(x_28, 5, x_27); +x_29 = lean_st_ref_set(x_3, x_28, x_12); +lean_dec(x_3); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_31 = x_29; +} else { + lean_dec_ref(x_29); + x_31 = lean_box(0); } +x_32 = lean_box(0); +if (lean_is_scalar(x_31)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_31; } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_compileHeader___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_4); -lean_dec(x_4); -x_7 = l_Lean_Server_FileWorker_compileHeader(x_1, x_2, x_3, x_6, x_5); -return x_7; +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_30); +return x_33; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -if (lean_obj_tag(x_4) == 0) +else { -uint8_t x_6; +uint8_t x_34; lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -x_6 = !lean_is_exclusive(x_4); -if (x_6 == 0) +x_34 = !lean_is_exclusive(x_5); +if (x_34 == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_4, 0); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_4, 0, x_8); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_4); -lean_ctor_set(x_9, 1, x_5); -return x_9; +return x_5; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_4, 0); -lean_inc(x_10); -lean_dec(x_4); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_5); -return x_13; +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_5, 0); +x_36 = lean_ctor_get(x_5, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_5); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } -else +} +} +static uint8_t _init_l_Lean_Server_FileWorker_handleDidChange___closed__1() { +_start: { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_4); -if (x_14 == 0) +uint8_t x_1; uint8_t x_2; +x_1 = 0; +x_2 = l_instDecidableNot___rarg(x_1); +return x_2; +} +} +static uint8_t _init_l_Lean_Server_FileWorker_handleDidChange___closed__2() { +_start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint32_t x_19; lean_object* x_20; -x_15 = lean_ctor_get(x_4, 0); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_18 = lean_array_push(x_17, x_16); -x_19 = 0; -x_20 = l_Lean_Server_FileWorker_unfoldCmdSnaps(x_1, x_18, x_2, x_19, x_3, x_5); -if (lean_obj_tag(x_20) == 0) +uint8_t x_1; uint8_t x_2; +x_1 = 1; +x_2 = l_instDecidableNot___rarg(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDidChange(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_st_ref_get(x_3, x_4); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) { -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_ctor_set(x_4, 0, x_22); -lean_ctor_set(x_20, 0, x_4); -return x_20; -} -else +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_ctor_get(x_5, 0); +x_13 = lean_ctor_get(x_5, 1); +x_14 = l_Array_isEmpty___rarg(x_6); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_20, 0); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_4, 0, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_4); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} +if (x_14 == 0) +{ +uint8_t x_15; +x_15 = l_Lean_Server_FileWorker_handleDidChange___closed__1; +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_box(0); +lean_ctor_set(x_7, 0, x_16); +return x_7; } else { -uint8_t x_26; -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) +lean_object* x_17; uint8_t x_18; +lean_free_object(x_7); +x_17 = lean_ctor_get(x_11, 0); +lean_inc(x_17); +lean_dec(x_11); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set_tag(x_4, 0); -lean_ctor_set(x_4, 0, x_28); -lean_ctor_set_tag(x_20, 0); -lean_ctor_set(x_20, 0, x_4); -return x_20; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_19 = lean_ctor_get(x_17, 2); +x_20 = lean_ctor_get(x_17, 1); +lean_dec(x_20); +x_21 = lean_ctor_get(x_17, 0); +lean_dec(x_21); +x_22 = l_Lean_Server_foldDocumentChanges(x_6, x_19); +x_23 = lean_unsigned_to_nat(0u); +lean_inc(x_12); +lean_ctor_set(x_17, 2, x_22); +lean_ctor_set(x_17, 1, x_23); +lean_ctor_set(x_17, 0, x_12); +x_24 = l_Lean_Server_FileWorker_updateDocument(x_17, x_2, x_3, x_10); +return x_24; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_20, 0); -x_30 = lean_ctor_get(x_20, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_20); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set_tag(x_4, 0); -lean_ctor_set(x_4, 0, x_31); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_4); -lean_ctor_set(x_32, 1, x_30); -return x_32; +lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_25 = lean_ctor_get(x_17, 2); +x_26 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); +lean_inc(x_25); +lean_dec(x_17); +x_27 = l_Lean_Server_foldDocumentChanges(x_6, x_25); +x_28 = lean_unsigned_to_nat(0u); +lean_inc(x_12); +x_29 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_29, 0, x_12); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_27); +lean_ctor_set_uint8(x_29, sizeof(void*)*3, x_26); +x_30 = l_Lean_Server_FileWorker_updateDocument(x_29, x_2, x_3, x_10); +return x_30; } } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint32_t x_37; lean_object* x_38; -x_33 = lean_ctor_get(x_4, 0); -lean_inc(x_33); -lean_dec(x_4); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -lean_dec(x_33); -x_35 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_36 = lean_array_push(x_35, x_34); -x_37 = 0; -x_38 = l_Lean_Server_FileWorker_unfoldCmdSnaps(x_1, x_36, x_2, x_37, x_3, x_5); -if (lean_obj_tag(x_38) == 0) +uint8_t x_31; +x_31 = l_Lean_Server_FileWorker_handleDidChange___closed__2; +if (x_31 == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_41 = x_38; -} else { - lean_dec_ref(x_38); - x_41 = lean_box(0); -} -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_39); -if (lean_is_scalar(x_41)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_41; +lean_object* x_32; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +x_32 = lean_box(0); +lean_ctor_set(x_7, 0, x_32); +return x_7; } -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_40); -return x_43; +else +{ +lean_object* x_33; uint8_t x_34; +lean_free_object(x_7); +x_33 = lean_ctor_get(x_11, 0); +lean_inc(x_33); +lean_dec(x_11); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_33, 2); +x_36 = lean_ctor_get(x_33, 1); +lean_dec(x_36); +x_37 = lean_ctor_get(x_33, 0); +lean_dec(x_37); +x_38 = l_Lean_Server_foldDocumentChanges(x_6, x_35); +x_39 = lean_unsigned_to_nat(0u); +lean_inc(x_12); +lean_ctor_set(x_33, 2, x_38); +lean_ctor_set(x_33, 1, x_39); +lean_ctor_set(x_33, 0, x_12); +x_40 = l_Lean_Server_FileWorker_updateDocument(x_33, x_2, x_3, x_10); +return x_40; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_44 = lean_ctor_get(x_38, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_38, 1); -lean_inc(x_45); -if (lean_is_exclusive(x_38)) { - lean_ctor_release(x_38, 0); - lean_ctor_release(x_38, 1); - x_46 = x_38; -} else { - lean_dec_ref(x_38); - x_46 = lean_box(0); -} -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_44); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -if (lean_is_scalar(x_46)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_46; - lean_ctor_set_tag(x_49, 0); -} -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_45); -return x_49; -} +lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_41 = lean_ctor_get(x_33, 2); +x_42 = lean_ctor_get_uint8(x_33, sizeof(void*)*3); +lean_inc(x_41); +lean_dec(x_33); +x_43 = l_Lean_Server_foldDocumentChanges(x_6, x_41); +x_44 = lean_unsigned_to_nat(0u); +lean_inc(x_12); +x_45 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_45, 0, x_12); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +lean_ctor_set_uint8(x_45, sizeof(void*)*3, x_42); +x_46 = l_Lean_Server_FileWorker_updateDocument(x_45, x_2, x_3, x_10); +return x_46; } } } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_initializeWorker(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: +else { -uint8_t x_8; lean_object* x_58; -x_58 = lean_ctor_get(x_5, 3); -lean_inc(x_58); -if (lean_obj_tag(x_58) == 0) +if (x_14 == 0) { -uint8_t x_59; -x_59 = 0; -x_8 = x_59; -goto block_57; +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_13, 0); +x_48 = l_Lean_Server_FileWorker_handleDidChange___closed__1; +if (x_48 == 0) +{ +lean_object* x_49; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +x_49 = lean_box(0); +lean_ctor_set(x_7, 0, x_49); +return x_7; } else { -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_58, 0); -lean_inc(x_60); -lean_dec(x_58); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -if (lean_obj_tag(x_61) == 0) +lean_object* x_50; uint8_t x_51; +lean_free_object(x_7); +x_50 = lean_ctor_get(x_11, 0); +lean_inc(x_50); +lean_dec(x_11); +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) { -uint8_t x_62; -x_62 = 0; -x_8 = x_62; -goto block_57; +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_52 = lean_ctor_get(x_50, 2); +x_53 = lean_ctor_get(x_50, 1); +lean_dec(x_53); +x_54 = lean_ctor_get(x_50, 0); +lean_dec(x_54); +x_55 = l_Lean_Server_foldDocumentChanges(x_6, x_52); +lean_inc(x_47); +lean_inc(x_12); +lean_ctor_set(x_50, 2, x_55); +lean_ctor_set(x_50, 1, x_47); +lean_ctor_set(x_50, 0, x_12); +x_56 = l_Lean_Server_FileWorker_updateDocument(x_50, x_2, x_3, x_10); +return x_56; } else { -lean_object* x_63; uint8_t x_64; -x_63 = lean_ctor_get(x_61, 0); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_unbox(x_63); -lean_dec(x_63); -x_8 = x_64; -goto block_57; +lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_50, 2); +x_58 = lean_ctor_get_uint8(x_50, sizeof(void*)*3); +lean_inc(x_57); +lean_dec(x_50); +x_59 = l_Lean_Server_foldDocumentChanges(x_6, x_57); +lean_inc(x_47); +lean_inc(x_12); +x_60 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_60, 0, x_12); +lean_ctor_set(x_60, 1, x_47); +lean_ctor_set(x_60, 2, x_59); +lean_ctor_set_uint8(x_60, sizeof(void*)*3, x_58); +x_61 = l_Lean_Server_FileWorker_updateDocument(x_60, x_2, x_3, x_10); +return x_61; } } -block_57: -{ -lean_object* x_9; -lean_inc(x_3); -lean_inc(x_1); -x_9 = l_Lean_Server_FileWorker_compileHeader(x_1, x_3, x_6, x_8, x_7); -if (lean_obj_tag(x_9) == 0) -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_9, 0); -lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 1); -lean_inc(x_11); -lean_dec(x_9); -x_12 = !lean_is_exclusive(x_10); -if (x_12 == 0) +} +else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_13 = lean_ctor_get(x_10, 0); -x_14 = lean_ctor_get(x_10, 1); -x_15 = l_Lean_Server_FileWorker_CancelToken_new(x_11); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -lean_inc(x_14); -x_18 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_18, 0, x_2); -lean_ctor_set(x_18, 1, x_3); -lean_ctor_set(x_18, 2, x_4); -lean_ctor_set(x_18, 3, x_14); -lean_ctor_set(x_18, 4, x_5); -lean_ctor_set_uint8(x_18, sizeof(void*)*5, x_8); -lean_inc(x_18); -lean_inc(x_16); -lean_inc(x_1); -x_19 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_initializeWorker___lambda__1), 5, 3); -lean_closure_set(x_19, 0, x_1); -lean_closure_set(x_19, 1, x_16); -lean_closure_set(x_19, 2, x_18); -x_20 = l_Task_Priority_default; -x_21 = lean_io_map_task(x_19, x_14, x_20, x_17); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +lean_object* x_62; uint8_t x_63; +x_62 = lean_ctor_get(x_13, 0); +x_63 = l_Lean_Server_FileWorker_handleDidChange___closed__2; +if (x_63 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_24); -lean_ctor_set(x_25, 2, x_16); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_13); -lean_ctor_set(x_27, 2, x_26); -lean_ctor_set(x_27, 3, x_26); -lean_ctor_set(x_10, 1, x_27); -lean_ctor_set(x_10, 0, x_18); -lean_ctor_set(x_21, 0, x_10); -return x_21; +lean_object* x_64; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +x_64 = lean_box(0); +lean_ctor_set(x_7, 0, x_64); +return x_7; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_28 = lean_ctor_get(x_21, 0); -x_29 = lean_ctor_get(x_21, 1); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_21); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_28); -x_31 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_31, 2, x_16); -x_32 = lean_box(0); -x_33 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_13); -lean_ctor_set(x_33, 2, x_32); -lean_ctor_set(x_33, 3, x_32); -lean_ctor_set(x_10, 1, x_33); -lean_ctor_set(x_10, 0, x_18); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_10); -lean_ctor_set(x_34, 1, x_29); -return x_34; -} +lean_object* x_65; uint8_t x_66; +lean_free_object(x_7); +x_65 = lean_ctor_get(x_11, 0); +lean_inc(x_65); +lean_dec(x_11); +x_66 = !lean_is_exclusive(x_65); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = lean_ctor_get(x_65, 2); +x_68 = lean_ctor_get(x_65, 1); +lean_dec(x_68); +x_69 = lean_ctor_get(x_65, 0); +lean_dec(x_69); +x_70 = l_Lean_Server_foldDocumentChanges(x_6, x_67); +lean_inc(x_62); +lean_inc(x_12); +lean_ctor_set(x_65, 2, x_70); +lean_ctor_set(x_65, 1, x_62); +lean_ctor_set(x_65, 0, x_12); +x_71 = l_Lean_Server_FileWorker_updateDocument(x_65, x_2, x_3, x_10); +return x_71; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_35 = lean_ctor_get(x_10, 0); -x_36 = lean_ctor_get(x_10, 1); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_10); -x_37 = l_Lean_Server_FileWorker_CancelToken_new(x_11); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -lean_inc(x_36); -x_40 = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(x_40, 0, x_2); -lean_ctor_set(x_40, 1, x_3); -lean_ctor_set(x_40, 2, x_4); -lean_ctor_set(x_40, 3, x_36); -lean_ctor_set(x_40, 4, x_5); -lean_ctor_set_uint8(x_40, sizeof(void*)*5, x_8); -lean_inc(x_40); -lean_inc(x_38); -lean_inc(x_1); -x_41 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_initializeWorker___lambda__1), 5, 3); -lean_closure_set(x_41, 0, x_1); -lean_closure_set(x_41, 1, x_38); -lean_closure_set(x_41, 2, x_40); -x_42 = l_Task_Priority_default; -x_43 = lean_io_map_task(x_41, x_36, x_42, x_39); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_46 = x_43; -} else { - lean_dec_ref(x_43); - x_46 = lean_box(0); +lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_72 = lean_ctor_get(x_65, 2); +x_73 = lean_ctor_get_uint8(x_65, sizeof(void*)*3); +lean_inc(x_72); +lean_dec(x_65); +x_74 = l_Lean_Server_foldDocumentChanges(x_6, x_72); +lean_inc(x_62); +lean_inc(x_12); +x_75 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_75, 0, x_12); +lean_ctor_set(x_75, 1, x_62); +lean_ctor_set(x_75, 2, x_74); +lean_ctor_set_uint8(x_75, sizeof(void*)*3, x_73); +x_76 = l_Lean_Server_FileWorker_updateDocument(x_75, x_2, x_3, x_10); +return x_76; } -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_44); -x_48 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_48, 0, x_1); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_38); -x_49 = lean_box(0); -x_50 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_35); -lean_ctor_set(x_50, 2, x_49); -lean_ctor_set(x_50, 3, x_49); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_40); -lean_ctor_set(x_51, 1, x_50); -if (lean_is_scalar(x_46)) { - x_52 = lean_alloc_ctor(0, 2, 0); -} else { - x_52 = x_46; } -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_45); -return x_52; } } -else -{ -uint8_t x_53; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_53 = !lean_is_exclusive(x_9); -if (x_53 == 0) -{ -return x_9; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_9, 0); -x_55 = lean_ctor_get(x_9, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_9); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updatePendingRequests(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_st_ref_take(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = !lean_is_exclusive(x_6); -if (x_8 == 0) +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_77 = lean_ctor_get(x_7, 0); +x_78 = lean_ctor_get(x_7, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_7); +x_79 = lean_ctor_get(x_77, 0); +lean_inc(x_79); +lean_dec(x_77); +x_80 = lean_ctor_get(x_5, 0); +x_81 = lean_ctor_get(x_5, 1); +x_82 = l_Array_isEmpty___rarg(x_6); +if (lean_obj_tag(x_81) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = lean_ctor_get(x_6, 2); -x_10 = lean_apply_1(x_1, x_9); -lean_ctor_set(x_6, 2, x_10); -x_11 = lean_st_ref_set(x_3, x_6, x_7); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +if (x_82 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set(x_11, 0, x_14); -return x_11; -} -else +uint8_t x_83; +x_83 = l_Lean_Server_FileWorker_handleDidChange___closed__1; +if (x_83 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_dec(x_11); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; -} +lean_object* x_84; lean_object* x_85; +lean_dec(x_79); +lean_dec(x_3); +lean_dec(x_2); +x_84 = lean_box(0); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_78); +return x_85; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_18 = lean_ctor_get(x_6, 0); -x_19 = lean_ctor_get(x_6, 1); -x_20 = lean_ctor_get(x_6, 2); -x_21 = lean_ctor_get(x_6, 3); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_6); -x_22 = lean_apply_1(x_1, x_20); -x_23 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_19); -lean_ctor_set(x_23, 2, x_22); -lean_ctor_set(x_23, 3, x_21); -x_24 = lean_st_ref_set(x_3, x_23, x_7); -x_25 = lean_ctor_get(x_24, 1); -lean_inc(x_25); -if (lean_is_exclusive(x_24)) { - lean_ctor_release(x_24, 0); - lean_ctor_release(x_24, 1); - x_26 = x_24; +lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_86 = lean_ctor_get(x_79, 0); +lean_inc(x_86); +lean_dec(x_79); +x_87 = lean_ctor_get(x_86, 2); +lean_inc(x_87); +x_88 = lean_ctor_get_uint8(x_86, sizeof(void*)*3); +if (lean_is_exclusive(x_86)) { + lean_ctor_release(x_86, 0); + lean_ctor_release(x_86, 1); + lean_ctor_release(x_86, 2); + x_89 = x_86; } else { - lean_dec_ref(x_24); - x_26 = lean_box(0); + lean_dec_ref(x_86); + x_89 = lean_box(0); } -x_27 = lean_box(0); -if (lean_is_scalar(x_26)) { - x_28 = lean_alloc_ctor(0, 2, 0); +x_90 = l_Lean_Server_foldDocumentChanges(x_6, x_87); +x_91 = lean_unsigned_to_nat(0u); +lean_inc(x_80); +if (lean_is_scalar(x_89)) { + x_92 = lean_alloc_ctor(0, 3, 1); } else { - x_28 = x_26; -} -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_25); -return x_28; + x_92 = x_89; } +lean_ctor_set(x_92, 0, x_80); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_92, 2, x_90); +lean_ctor_set_uint8(x_92, sizeof(void*)*3, x_88); +x_93 = l_Lean_Server_FileWorker_updateDocument(x_92, x_2, x_3, x_78); +return x_93; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updatePendingRequests___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +else { -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_updatePendingRequests(x_1, x_2, x_3, x_4); +uint8_t x_94; +x_94 = l_Lean_Server_FileWorker_handleDidChange___closed__2; +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; +lean_dec(x_79); lean_dec(x_3); lean_dec(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_updateDocument___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = lean_st_ref_get(x_1, x_2); -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_unbox(x_4); -lean_dec(x_4); -if (x_5 == 0) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_3); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_3, 0); -lean_dec(x_7); -x_8 = lean_box(0); -lean_ctor_set(x_3, 0, x_8); -return x_3; +x_95 = lean_box(0); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_78); +return x_96; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_3, 1); -lean_inc(x_9); -lean_dec(x_3); -x_10 = lean_box(0); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; +lean_object* x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_97 = lean_ctor_get(x_79, 0); +lean_inc(x_97); +lean_dec(x_79); +x_98 = lean_ctor_get(x_97, 2); +lean_inc(x_98); +x_99 = lean_ctor_get_uint8(x_97, sizeof(void*)*3); +if (lean_is_exclusive(x_97)) { + lean_ctor_release(x_97, 0); + lean_ctor_release(x_97, 1); + lean_ctor_release(x_97, 2); + x_100 = x_97; +} else { + lean_dec_ref(x_97); + x_100 = lean_box(0); +} +x_101 = l_Lean_Server_foldDocumentChanges(x_6, x_98); +x_102 = lean_unsigned_to_nat(0u); +lean_inc(x_80); +if (lean_is_scalar(x_100)) { + x_103 = lean_alloc_ctor(0, 3, 1); +} else { + x_103 = x_100; +} +lean_ctor_set(x_103, 0, x_80); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set(x_103, 2, x_101); +lean_ctor_set_uint8(x_103, sizeof(void*)*3, x_99); +x_104 = l_Lean_Server_FileWorker_updateDocument(x_103, x_2, x_3, x_78); +return x_104; +} } } else { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_3); -if (x_12 == 0) +if (x_82 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_3, 0); -lean_dec(x_13); -x_14 = lean_box(0); -lean_ctor_set_tag(x_3, 1); -lean_ctor_set(x_3, 0, x_14); -return x_3; +lean_object* x_105; uint8_t x_106; +x_105 = lean_ctor_get(x_81, 0); +x_106 = l_Lean_Server_FileWorker_handleDidChange___closed__1; +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_79); +lean_dec(x_3); +lean_dec(x_2); +x_107 = lean_box(0); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_78); +return x_108; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_3, 1); -lean_inc(x_15); -lean_dec(x_3); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -return x_17; +lean_object* x_109; lean_object* x_110; uint8_t x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_109 = lean_ctor_get(x_79, 0); +lean_inc(x_109); +lean_dec(x_79); +x_110 = lean_ctor_get(x_109, 2); +lean_inc(x_110); +x_111 = lean_ctor_get_uint8(x_109, sizeof(void*)*3); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + lean_ctor_release(x_109, 2); + x_112 = x_109; +} else { + lean_dec_ref(x_109); + x_112 = lean_box(0); } +x_113 = l_Lean_Server_foldDocumentChanges(x_6, x_110); +lean_inc(x_105); +lean_inc(x_80); +if (lean_is_scalar(x_112)) { + x_114 = lean_alloc_ctor(0, 3, 1); +} else { + x_114 = x_112; } +lean_ctor_set(x_114, 0, x_80); +lean_ctor_set(x_114, 1, x_105); +lean_ctor_set(x_114, 2, x_113); +lean_ctor_set_uint8(x_114, sizeof(void*)*3, x_111); +x_115 = l_Lean_Server_FileWorker_updateDocument(x_114, x_2, x_3, x_78); +return x_115; } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_updateDocument___spec__2(lean_object* x_1, lean_object* x_2) { -_start: +else { -if (lean_obj_tag(x_1) == 0) +lean_object* x_116; uint8_t x_117; +x_116 = lean_ctor_get(x_81, 0); +x_117 = l_Lean_Server_FileWorker_handleDidChange___closed__2; +if (x_117 == 0) { -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -return x_4; +lean_object* x_118; lean_object* x_119; +lean_dec(x_79); +lean_dec(x_3); +lean_dec(x_2); +x_118 = lean_box(0); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_78); +return x_119; } else { -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_2); -return x_6; +lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_120 = lean_ctor_get(x_79, 0); +lean_inc(x_120); +lean_dec(x_79); +x_121 = lean_ctor_get(x_120, 2); +lean_inc(x_121); +x_122 = lean_ctor_get_uint8(x_120, sizeof(void*)*3); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + lean_ctor_release(x_120, 2); + x_123 = x_120; +} else { + lean_dec_ref(x_120); + x_123 = lean_box(0); +} +x_124 = l_Lean_Server_foldDocumentChanges(x_6, x_121); +lean_inc(x_116); +lean_inc(x_80); +if (lean_is_scalar(x_123)) { + x_125 = lean_alloc_ctor(0, 3, 1); +} else { + x_125 = x_123; +} +lean_ctor_set(x_125, 0, x_80); +lean_ctor_set(x_125, 1, x_116); +lean_ctor_set(x_125, 2, x_124); +lean_ctor_set_uint8(x_125, sizeof(void*)*3, x_122); +x_126 = l_Lean_Server_FileWorker_updateDocument(x_125, x_2, x_3, x_78); +return x_126; +} } } } -static lean_object* _init_l_panic___at_Lean_Server_FileWorker_updateDocument___spec__3___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(2); -x_2 = l_panic___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___spec__2___closed__1; -x_3 = l_instInhabited___rarg(x_2, x_1); -return x_3; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Server_FileWorker_updateDocument___spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDidChange___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = l_panic___at_Lean_Server_FileWorker_updateDocument___spec__3___closed__1; -x_4 = lean_panic_fn(x_3, x_1); -x_5 = lean_apply_1(x_4, x_2); +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_handleDidChange(x_1, x_2, x_3, x_4); +lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = lean_st_ref_take(x_5, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_3); -x_11 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_11, 0, x_1); -lean_ctor_set(x_11, 1, x_10); -lean_ctor_set(x_11, 2, x_2); -x_12 = !lean_is_exclusive(x_8); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = lean_ctor_get(x_8, 0); -lean_dec(x_13); -lean_ctor_set(x_8, 0, x_11); -x_14 = lean_st_ref_set(x_5, x_8, x_9); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -x_17 = lean_box(0); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else +if (lean_obj_tag(x_2) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -return x_20; -} +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_21 = lean_ctor_get(x_8, 1); -x_22 = lean_ctor_get(x_8, 2); -x_23 = lean_ctor_get(x_8, 3); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_8); -x_24 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_24, 0, x_11); -lean_ctor_set(x_24, 1, x_21); -lean_ctor_set(x_24, 2, x_22); -lean_ctor_set(x_24, 3, x_23); -x_25 = lean_st_ref_set(x_5, x_24, x_9); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - x_27 = x_25; -} else { - lean_dec_ref(x_25); - x_27 = lean_box(0); -} -x_28 = lean_box(0); -if (lean_is_scalar(x_27)) { - x_29 = lean_alloc_ctor(0, 2, 0); -} else { - x_29 = x_27; -} -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_26); -return x_29; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_updateDocument___spec__1(x_1, x_3); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; uint8_t x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_4, 1); -lean_inc(x_5); -lean_dec(x_4); -x_6 = 2; -x_7 = lean_io_exit(x_6, x_5); -if (lean_obj_tag(x_7) == 0) +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) { -uint8_t x_8; -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_5 = lean_ctor_get(x_2, 0); +x_6 = lean_ctor_get(x_2, 1); +x_7 = lean_ctor_get(x_2, 2); +x_8 = lean_ctor_get(x_2, 3); +lean_inc(x_6); +lean_inc(x_1); +x_9 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_1, x_6); +switch (x_9) { +case 0: { -return x_7; -} -else +uint8_t x_10; +x_10 = l_Lean_RBNode_isBlack___rarg(x_5); +if (x_10 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_7); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_9); -lean_ctor_set(x_11, 1, x_10); -return x_11; -} +lean_object* x_11; uint8_t x_12; +x_11 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_5); +x_12 = 0; +lean_ctor_set(x_2, 0, x_11); +lean_ctor_set_uint8(x_2, sizeof(void*)*4, x_12); +return x_2; } else { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_7); -if (x_12 == 0) -{ lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_7, 0); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_7, 0, x_14); -return x_7; +lean_free_object(x_2); +x_13 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_5); +x_14 = l_Lean_RBNode_balLeft___rarg(x_13, x_6, x_7, x_8); +return x_14; } -else +} +case 1: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_7, 0); -x_16 = lean_ctor_get(x_7, 1); -lean_inc(x_16); -lean_inc(x_15); +lean_object* x_15; +lean_free_object(x_2); lean_dec(x_7); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_15); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; -} -} +lean_dec(x_6); +lean_dec(x_1); +x_15 = l_Lean_RBNode_appendTrees___rarg(x_5, x_8); +return x_15; } -else +default: { -uint8_t x_19; -x_19 = !lean_is_exclusive(x_4); -if (x_19 == 0) +uint8_t x_16; +x_16 = l_Lean_RBNode_isBlack___rarg(x_8); +if (x_16 == 0) { -return x_4; +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_8); +x_18 = 0; +lean_ctor_set(x_2, 3, x_17); +lean_ctor_set_uint8(x_2, sizeof(void*)*4, x_18); +return x_2; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_4, 0); -x_21 = lean_ctor_get(x_4, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_4); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} +lean_object* x_19; lean_object* x_20; +lean_free_object(x_2); +x_19 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_8); +x_20 = l_Lean_RBNode_balRight___rarg(x_5, x_6, x_7, x_19); +return x_20; } } -LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_updateDocument___lambda__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_Server_Snapshots_Snapshot_endPos(x_2); -x_4 = lean_nat_dec_lt(x_3, x_1); -lean_dec(x_3); -return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint32_t x_12; lean_object* x_13; -x_7 = l_List_redLength___rarg(x_4); -x_8 = lean_mk_empty_array_with_capacity(x_7); -lean_dec(x_7); -x_9 = l_List_toArrayAux___rarg(x_4, x_8); -x_10 = lean_ctor_get(x_1, 4); -lean_inc(x_10); -x_11 = l_Lean_Lsp_InitializeParams_editDelay(x_10); -lean_dec(x_10); -x_12 = lean_uint32_of_nat(x_11); -lean_dec(x_11); -x_13 = l_Lean_Server_FileWorker_unfoldCmdSnaps(x_2, x_9, x_3, x_12, x_1, x_6); -if (lean_obj_tag(x_13) == 0) +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_21 = lean_ctor_get(x_2, 0); +x_22 = lean_ctor_get(x_2, 1); +x_23 = lean_ctor_get(x_2, 2); +x_24 = lean_ctor_get(x_2, 3); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_2); +lean_inc(x_22); +lean_inc(x_1); +x_25 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_1, x_22); +switch (x_25) { +case 0: { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) +uint8_t x_26; +x_26 = l_Lean_RBNode_isBlack___rarg(x_21); +if (x_26 == 0) { -return x_13; +lean_object* x_27; uint8_t x_28; lean_object* x_29; +x_27 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_21); +x_28 = 0; +x_29 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_22); +lean_ctor_set(x_29, 2, x_23); +lean_ctor_set(x_29, 3, x_24); +lean_ctor_set_uint8(x_29, sizeof(void*)*4, x_28); +return x_29; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_13); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; +lean_object* x_30; lean_object* x_31; +x_30 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_21); +x_31 = l_Lean_RBNode_balLeft___rarg(x_30, x_22, x_23, x_24); +return x_31; } } -else +case 1: { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_13); -if (x_18 == 0) +lean_object* x_32; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_1); +x_32 = l_Lean_RBNode_appendTrees___rarg(x_21, x_24); +return x_32; +} +default: { -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_13, 0); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_13, 0, x_20); -return x_13; +uint8_t x_33; +x_33 = l_Lean_RBNode_isBlack___rarg(x_24); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; lean_object* x_36; +x_34 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_24); +x_35 = 0; +x_36 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_36, 0, x_21); +lean_ctor_set(x_36, 1, x_22); +lean_ctor_set(x_36, 2, x_23); +lean_ctor_set(x_36, 3, x_34); +lean_ctor_set_uint8(x_36, sizeof(void*)*4, x_35); +return x_36; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_13, 0); -x_22 = lean_ctor_get(x_13, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_13); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_21); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -return x_24; +lean_object* x_37; lean_object* x_38; +x_37 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_24); +x_38 = l_Lean_RBNode_balRight___rarg(x_21, x_22, x_23, x_37); +return x_38; +} +} } } } } -static lean_object* _init_l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__1() { +} +LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_handleCancelRequest___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Lean.Server.FileWorker.updateDocument", 37); -return x_1; +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_2); +x_4 = l_Lean_RBNode_setBlack___rarg(x_3); +return x_4; } } -static lean_object* _init_l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__2() { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCancelRequest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__1; -x_2 = l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__1; -x_3 = lean_unsigned_to_nat(299u); -x_4 = lean_unsigned_to_nat(60u); -x_5 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___closed__3; -x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_closure((void*)(l_Lean_RBNode_erase___at_Lean_Server_FileWorker_handleCancelRequest___spec__1), 2, 1); +lean_closure_set(x_5, 0, x_1); +x_6 = l_Lean_Server_FileWorker_updatePendingRequests(x_5, x_2, x_3, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCancelRequest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_11; -x_11 = l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_updateDocument___spec__2(x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_handleCancelRequest(x_1, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__2; -x_15 = l_panic___at_Lean_Server_FileWorker_updateDocument___spec__3(x_14, x_13); -if (lean_obj_tag(x_15) == 0) +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: { -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +uint8_t x_6; +x_6 = lean_usize_dec_lt(x_3, x_2); +if (x_6 == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_15, 0, x_18); -return x_15; +lean_object* x_7; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_5); +return x_7; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_15, 0); -x_20 = lean_ctor_get(x_15, 1); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_15); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_19); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; +lean_object* x_8; size_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; +lean_dec(x_4); +x_8 = lean_array_uget(x_1, x_3); +x_9 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_10 = l_Lean_Server_rpcReleaseRef(x_9, x_5); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +x_14 = lean_box(0); +x_3 = x_13; +x_4 = x_14; +x_5 = x_11; +goto _start; } } -else +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcRelease(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_15); -if (x_23 == 0) +lean_object* x_5; uint8_t x_6; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_15, 0); -x_25 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set_tag(x_15, 0); -lean_ctor_set(x_15, 0, x_25); -return x_15; +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint64_t x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +x_9 = lean_ctor_get(x_7, 5); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_11 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +x_12 = lean_box(0); +lean_ctor_set(x_5, 0, x_12); +return x_5; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_15, 0); -x_27 = lean_ctor_get(x_15, 1); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_free_object(x_5); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_io_mono_ms_now(x_8); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_1, 1); +x_18 = lean_array_get_size(x_17); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = 0; +x_21 = lean_st_ref_take(x_13, x_16); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_box(0); +x_26 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(x_17, x_19, x_20, x_25, x_24); +x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); -lean_inc(x_26); +lean_dec(x_26); +x_28 = l_Lean_Server_FileWorker_RpcSession_keepAliveTimeMs; +x_29 = lean_nat_add(x_15, x_28); lean_dec(x_15); -x_28 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_28, 0, x_26); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; -} -} +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_27); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_st_ref_set(x_13, x_30, x_23); +lean_dec(x_13); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +return x_31; } else { -lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_30 = lean_ctor_get(x_12, 0); -lean_inc(x_30); -lean_dec(x_12); -x_31 = lean_ctor_get(x_11, 1); -lean_inc(x_31); -lean_dec(x_11); -x_32 = !lean_is_exclusive(x_30); -if (x_32 == 0) -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_33 = lean_ctor_get(x_30, 2); -lean_dec(x_33); -x_34 = lean_ctor_get(x_30, 1); -lean_dec(x_34); -lean_ctor_set(x_30, 2, x_2); -lean_ctor_set(x_30, 1, x_1); -x_35 = lean_ctor_get(x_3, 0); -x_36 = lean_ctor_get(x_35, 2); -x_37 = lean_ctor_get(x_36, 0); -x_38 = lean_ctor_get(x_4, 2); -lean_inc(x_38); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -lean_dec(x_38); -x_40 = l_String_firstDiffPos(x_37, x_39); -lean_dec(x_39); -lean_inc(x_5); -x_41 = l_IO_AsyncList_getFinishedPrefix___rarg(x_5, x_31); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 0); -lean_inc(x_44); -lean_dec(x_42); -x_45 = l_IO_AsyncList_cancel___rarg(x_5, x_43); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_updateDocument___lambda__3___boxed), 2, 1); -lean_closure_set(x_47, 0, x_40); -x_48 = l_List_takeWhile___rarg(x_47, x_44); -x_49 = lean_unsigned_to_nat(0u); -x_50 = l_List_lengthTRAux___rarg(x_48, x_49); -x_51 = lean_unsigned_to_nat(1u); -x_52 = lean_nat_dec_le(x_50, x_51); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -lean_dec(x_30); -lean_inc(x_48); -x_53 = l_List_getLast___rarg(x_48, lean_box(0)); -x_54 = lean_unsigned_to_nat(2u); -x_55 = lean_nat_sub(x_50, x_54); -lean_dec(x_50); -x_56 = l_List_get___rarg(x_48, x_55); -x_57 = l_Lean_Server_Snapshots_parseNextCmd(x_8, x_56, x_46); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_ctor_get(x_53, 1); -lean_inc(x_60); -lean_dec(x_53); -x_61 = l_Lean_Syntax_structEq(x_58, x_60); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = l_List_dropLast___rarg(x_48); -x_63 = lean_box(0); -x_64 = l_Lean_Server_FileWorker_updateDocument___lambda__4(x_6, x_4, x_7, x_62, x_63, x_59); -if (lean_obj_tag(x_64) == 0) -{ -uint8_t x_65; -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) -{ -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_64, 0); -x_67 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_64, 0, x_67); -return x_64; +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_31, 0); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_31); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_68 = lean_ctor_get(x_64, 0); -x_69 = lean_ctor_get(x_64, 1); -lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_64); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_68); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -return x_71; } } else { -uint8_t x_72; -x_72 = !lean_is_exclusive(x_64); -if (x_72 == 0) +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint64_t x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_5, 0); +x_37 = lean_ctor_get(x_5, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_5); +x_38 = lean_ctor_get(x_36, 5); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_40 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_38, x_39); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_73; lean_object* x_74; -x_73 = lean_ctor_get(x_64, 0); -x_74 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set_tag(x_64, 0); -lean_ctor_set(x_64, 0, x_74); -return x_64; +lean_object* x_41; lean_object* x_42; +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_37); +return x_42; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_75 = lean_ctor_get(x_64, 0); -x_76 = lean_ctor_get(x_64, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_64); -x_77 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_77, 0, x_75); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -return x_78; -} +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_43 = lean_ctor_get(x_40, 0); +lean_inc(x_43); +lean_dec(x_40); +x_44 = lean_io_mono_ms_now(x_37); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_ctor_get(x_1, 1); +x_48 = lean_array_get_size(x_47); +x_49 = lean_usize_of_nat(x_48); +lean_dec(x_48); +x_50 = 0; +x_51 = lean_st_ref_take(x_43, x_46); +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_box(0); +x_56 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(x_47, x_49, x_50, x_55, x_54); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = l_Lean_Server_FileWorker_RpcSession_keepAliveTimeMs; +x_59 = lean_nat_add(x_45, x_58); +lean_dec(x_45); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_st_ref_set(x_43, x_60, x_53); +lean_dec(x_43); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_64 = x_61; +} else { + lean_dec_ref(x_61); + x_64 = lean_box(0); } +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_64; } -else -{ -lean_object* x_79; lean_object* x_80; -x_79 = lean_box(0); -x_80 = l_Lean_Server_FileWorker_updateDocument___lambda__4(x_6, x_4, x_7, x_48, x_79, x_59); -if (lean_obj_tag(x_80) == 0) -{ -uint8_t x_81; -x_81 = !lean_is_exclusive(x_80); -if (x_81 == 0) -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_80, 0); -x_83 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_80, 0, x_83); -return x_80; +lean_ctor_set(x_65, 0, x_62); +lean_ctor_set(x_65, 1, x_63); +return x_65; } -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_84 = lean_ctor_get(x_80, 0); -x_85 = lean_ctor_get(x_80, 1); -lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_80); -x_86 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_86, 0, x_84); -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -return x_87; } } -else -{ -uint8_t x_88; -x_88 = !lean_is_exclusive(x_80); -if (x_88 == 0) -{ -lean_object* x_89; lean_object* x_90; -x_89 = lean_ctor_get(x_80, 0); -x_90 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_90, 0, x_89); -lean_ctor_set_tag(x_80, 0); -lean_ctor_set(x_80, 0, x_90); -return x_80; } -else +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_91 = lean_ctor_get(x_80, 0); -x_92 = lean_ctor_get(x_80, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_80); -x_93 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_93, 0, x_91); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_92); -return x_94; +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(x_1, x_6, x_7, x_4, x_5); +lean_dec(x_1); +return x_8; } } +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcRelease___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_handleRpcRelease(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; } } -else +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcKeepAlive(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_50); -lean_dec(x_48); -lean_dec(x_8); -x_95 = lean_box(0); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_30); -lean_ctor_set(x_96, 1, x_95); -x_97 = lean_box(0); -x_98 = l_Lean_Server_FileWorker_updateDocument___lambda__4(x_6, x_4, x_7, x_96, x_97, x_46); -if (lean_obj_tag(x_98) == 0) -{ -uint8_t x_99; -x_99 = !lean_is_exclusive(x_98); -if (x_99 == 0) -{ -lean_object* x_100; lean_object* x_101; -x_100 = lean_ctor_get(x_98, 0); -x_101 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_98, 0, x_101); -return x_98; -} -else +lean_object* x_5; uint8_t x_6; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_102 = lean_ctor_get(x_98, 0); -x_103 = lean_ctor_get(x_98, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_98); -x_104 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_104, 0, x_102); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -return x_105; -} +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint64_t x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_5, 1); +x_9 = lean_ctor_get(x_7, 5); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +x_11 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +x_12 = lean_box(0); +lean_ctor_set(x_5, 0, x_12); +return x_5; } else { -uint8_t x_106; -x_106 = !lean_is_exclusive(x_98); -if (x_106 == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_free_object(x_5); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_io_mono_ms_now(x_8); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_st_ref_take(x_13, x_16); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Server_FileWorker_RpcSession_keptAlive(x_15, x_18); +lean_dec(x_15); +x_21 = lean_st_ref_set(x_13, x_20, x_19); +lean_dec(x_13); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_107; lean_object* x_108; -x_107 = lean_ctor_get(x_98, 0); -x_108 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set_tag(x_98, 0); -lean_ctor_set(x_98, 0, x_108); -return x_98; +return x_21; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_109 = lean_ctor_get(x_98, 0); -x_110 = lean_ctor_get(x_98, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_98); -x_111 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_111, 0, x_109); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_110); -return x_112; -} +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -x_113 = lean_ctor_get(x_30, 0); -x_114 = lean_ctor_get(x_30, 3); -x_115 = lean_ctor_get(x_30, 4); -x_116 = lean_ctor_get(x_30, 5); -lean_inc(x_116); -lean_inc(x_115); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_30); -x_117 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_117, 0, x_113); -lean_ctor_set(x_117, 1, x_1); -lean_ctor_set(x_117, 2, x_2); -lean_ctor_set(x_117, 3, x_114); -lean_ctor_set(x_117, 4, x_115); -lean_ctor_set(x_117, 5, x_116); -x_118 = lean_ctor_get(x_3, 0); -x_119 = lean_ctor_get(x_118, 2); -x_120 = lean_ctor_get(x_119, 0); -x_121 = lean_ctor_get(x_4, 2); -lean_inc(x_121); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -lean_dec(x_121); -x_123 = l_String_firstDiffPos(x_120, x_122); -lean_dec(x_122); -lean_inc(x_5); -x_124 = l_IO_AsyncList_getFinishedPrefix___rarg(x_5, x_31); -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); -lean_inc(x_126); -lean_dec(x_124); -x_127 = lean_ctor_get(x_125, 0); -lean_inc(x_127); -lean_dec(x_125); -x_128 = l_IO_AsyncList_cancel___rarg(x_5, x_126); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); -x_130 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_updateDocument___lambda__3___boxed), 2, 1); -lean_closure_set(x_130, 0, x_123); -x_131 = l_List_takeWhile___rarg(x_130, x_127); -x_132 = lean_unsigned_to_nat(0u); -x_133 = l_List_lengthTRAux___rarg(x_131, x_132); -x_134 = lean_unsigned_to_nat(1u); -x_135 = lean_nat_dec_le(x_133, x_134); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; -lean_dec(x_117); -lean_inc(x_131); -x_136 = l_List_getLast___rarg(x_131, lean_box(0)); -x_137 = lean_unsigned_to_nat(2u); -x_138 = lean_nat_sub(x_133, x_137); -lean_dec(x_133); -x_139 = l_List_get___rarg(x_131, x_138); -x_140 = l_Lean_Server_Snapshots_parseNextCmd(x_8, x_139, x_129); -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_140, 1); -lean_inc(x_142); -lean_dec(x_140); -x_143 = lean_ctor_get(x_136, 1); -lean_inc(x_143); -lean_dec(x_136); -x_144 = l_Lean_Syntax_structEq(x_141, x_143); -if (x_144 == 0) +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint64_t x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_5, 0); +x_27 = lean_ctor_get(x_5, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_5); +x_28 = lean_ctor_get(x_26, 5); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +x_30 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_28, x_29); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_145 = l_List_dropLast___rarg(x_131); -x_146 = lean_box(0); -x_147 = l_Lean_Server_FileWorker_updateDocument___lambda__4(x_6, x_4, x_7, x_145, x_146, x_142); -if (lean_obj_tag(x_147) == 0) +lean_object* x_31; lean_object* x_32; +x_31 = lean_box(0); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_27); +return x_32; +} +else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_150 = x_147; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_33 = lean_ctor_get(x_30, 0); +lean_inc(x_33); +lean_dec(x_30); +x_34 = lean_io_mono_ms_now(x_27); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_st_ref_take(x_33, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); +lean_inc(x_39); +lean_dec(x_37); +x_40 = l_Lean_Server_FileWorker_RpcSession_keptAlive(x_35, x_38); +lean_dec(x_35); +x_41 = lean_st_ref_set(x_33, x_40, x_39); +lean_dec(x_33); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_44 = x_41; } else { - lean_dec_ref(x_147); - x_150 = lean_box(0); + lean_dec_ref(x_41); + x_44 = lean_box(0); } -x_151 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_151, 0, x_148); -if (lean_is_scalar(x_150)) { - x_152 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 2, 0); } else { - x_152 = x_150; + x_45 = x_44; } -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_149); -return x_152; +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +return x_45; } -else -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_153 = lean_ctor_get(x_147, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_147, 1); -lean_inc(x_154); -if (lean_is_exclusive(x_147)) { - lean_ctor_release(x_147, 0); - lean_ctor_release(x_147, 1); - x_155 = x_147; -} else { - lean_dec_ref(x_147); - x_155 = lean_box(0); -} -x_156 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_156, 0, x_153); -if (lean_is_scalar(x_155)) { - x_157 = lean_alloc_ctor(0, 2, 0); -} else { - x_157 = x_155; - lean_ctor_set_tag(x_157, 0); } -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_154); -return x_157; } } -else -{ -lean_object* x_158; lean_object* x_159; -x_158 = lean_box(0); -x_159 = l_Lean_Server_FileWorker_updateDocument___lambda__4(x_6, x_4, x_7, x_131, x_158, x_142); -if (lean_obj_tag(x_159) == 0) +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcKeepAlive___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_160 = lean_ctor_get(x_159, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_159, 1); -lean_inc(x_161); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_162 = x_159; -} else { - lean_dec_ref(x_159); - x_162 = lean_box(0); +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_handleRpcKeepAlive(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_5; } -x_163 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_163, 0, x_160); -if (lean_is_scalar(x_162)) { - x_164 = lean_alloc_ctor(0, 2, 0); -} else { - x_164 = x_162; } -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_161); -return x_164; +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(lean_object* x_1, uint64_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_box(0); +x_5 = 0; +x_6 = lean_box_uint64(x_2); +x_7 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_6); +lean_ctor_set(x_7, 2, x_3); +lean_ctor_set(x_7, 3, x_4); +lean_ctor_set_uint8(x_7, sizeof(void*)*4, x_5); +return x_7; } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_165 = lean_ctor_get(x_159, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_159, 1); -lean_inc(x_166); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_167 = x_159; -} else { - lean_dec_ref(x_159); - x_167 = lean_box(0); -} -x_168 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_168, 0, x_165); -if (lean_is_scalar(x_167)) { - x_169 = lean_alloc_ctor(0, 2, 0); -} else { - x_169 = x_167; - lean_ctor_set_tag(x_169, 0); -} -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_166); -return x_169; -} -} +uint8_t x_8; +x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint64_t x_14; uint8_t x_15; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get(x_1, 2); +x_13 = lean_ctor_get(x_1, 3); +x_14 = lean_unbox_uint64(x_11); +x_15 = lean_uint64_dec_lt(x_2, x_14); +if (x_15 == 0) +{ +uint64_t x_16; uint8_t x_17; +x_16 = lean_unbox_uint64(x_11); +x_17 = lean_uint64_dec_eq(x_2, x_16); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_13, x_2, x_3); +x_19 = 0; +lean_ctor_set(x_1, 3, x_18); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_19); +return x_1; } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -lean_dec(x_133); -lean_dec(x_131); -lean_dec(x_8); -x_170 = lean_box(0); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_117); -lean_ctor_set(x_171, 1, x_170); -x_172 = lean_box(0); -x_173 = l_Lean_Server_FileWorker_updateDocument___lambda__4(x_6, x_4, x_7, x_171, x_172, x_129); -if (lean_obj_tag(x_173) == 0) -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_173, 1); -lean_inc(x_175); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_176 = x_173; -} else { - lean_dec_ref(x_173); - x_176 = lean_box(0); -} -x_177 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_177, 0, x_174); -if (lean_is_scalar(x_176)) { - x_178 = lean_alloc_ctor(0, 2, 0); -} else { - x_178 = x_176; +uint8_t x_20; lean_object* x_21; +lean_dec(x_12); +lean_dec(x_11); +x_20 = 0; +x_21 = lean_box_uint64(x_2); +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_21); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_20); +return x_1; } -lean_ctor_set(x_178, 0, x_177); -lean_ctor_set(x_178, 1, x_175); -return x_178; } else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; -x_179 = lean_ctor_get(x_173, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_173, 1); -lean_inc(x_180); -if (lean_is_exclusive(x_173)) { - lean_ctor_release(x_173, 0); - lean_ctor_release(x_173, 1); - x_181 = x_173; -} else { - lean_dec_ref(x_173); - x_181 = lean_box(0); -} -x_182 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_182, 0, x_179); -if (lean_is_scalar(x_181)) { - x_183 = lean_alloc_ctor(0, 2, 0); -} else { - x_183 = x_181; - lean_ctor_set_tag(x_183, 0); -} -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_180); -return x_183; -} -} -} +lean_object* x_22; uint8_t x_23; +x_22 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_10, x_2, x_3); +x_23 = 0; +lean_ctor_set(x_1, 0, x_22); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_23); +return x_1; } } else { -uint8_t x_184; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint64_t x_28; uint8_t x_29; +x_24 = lean_ctor_get(x_1, 0); +x_25 = lean_ctor_get(x_1, 1); +x_26 = lean_ctor_get(x_1, 2); +x_27 = lean_ctor_get(x_1, 3); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); lean_dec(x_1); -x_184 = !lean_is_exclusive(x_11); -if (x_184 == 0) +x_28 = lean_unbox_uint64(x_25); +x_29 = lean_uint64_dec_lt(x_2, x_28); +if (x_29 == 0) { -lean_object* x_185; lean_object* x_186; -x_185 = lean_ctor_get(x_11, 0); -x_186 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set_tag(x_11, 0); -lean_ctor_set(x_11, 0, x_186); -return x_11; +uint64_t x_30; uint8_t x_31; +x_30 = lean_unbox_uint64(x_25); +x_31 = lean_uint64_dec_eq(x_2, x_30); +if (x_31 == 0) +{ +lean_object* x_32; uint8_t x_33; lean_object* x_34; +x_32 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_27, x_2, x_3); +x_33 = 0; +x_34 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_34, 0, x_24); +lean_ctor_set(x_34, 1, x_25); +lean_ctor_set(x_34, 2, x_26); +lean_ctor_set(x_34, 3, x_32); +lean_ctor_set_uint8(x_34, sizeof(void*)*4, x_33); +return x_34; } else { -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_187 = lean_ctor_get(x_11, 0); -x_188 = lean_ctor_get(x_11, 1); -lean_inc(x_188); -lean_inc(x_187); -lean_dec(x_11); -x_189 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_189, 0, x_187); -x_190 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_188); -return x_190; -} -} +uint8_t x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_26); +lean_dec(x_25); +x_35 = 0; +x_36 = lean_box_uint64(x_2); +x_37 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_37, 0, x_24); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_3); +lean_ctor_set(x_37, 3, x_27); +lean_ctor_set_uint8(x_37, sizeof(void*)*4, x_35); +return x_37; } } -static lean_object* _init_l_Lean_Server_FileWorker_updateDocument___closed__1() { -_start: +else { -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_IO_AsyncList_waitHead_x3f___rarg___lambda__1___boxed), 1, 0); -return x_1; +lean_object* x_38; uint8_t x_39; lean_object* x_40; +x_38 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_24, x_2, x_3); +x_39 = 0; +x_40 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_25); +lean_ctor_set(x_40, 2, x_26); +lean_ctor_set(x_40, 3, x_27); +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_39); +return x_40; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_5, 1); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec(x_6); -x_9 = lean_ctor_get(x_8, 2); -lean_inc(x_9); -x_10 = l_Lean_Server_FileWorker_CancelToken_set(x_9, x_7); -lean_dec(x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_st_ref_get(x_3, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -lean_inc(x_1); -x_16 = l_Lean_Server_DocumentMeta_mkInputContext(x_1); -lean_inc(x_16); -x_17 = l_Lean_Parser_parseHeader(x_16, x_14); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); -lean_dec(x_17); -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_ctor_get(x_19, 0); -lean_inc(x_22); -lean_dec(x_19); -x_23 = l_Lean_Server_FileWorker_CancelToken_new(x_20); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_ctor_get(x_8, 1); -lean_inc(x_26); -x_27 = l_Lean_Server_FileWorker_updateDocument___closed__1; -lean_inc(x_26); -x_28 = l_IO_AsyncList_waitFind_x3f___rarg(x_27, x_26); -lean_inc(x_21); -x_29 = l_Lean_Syntax_structEq(x_15, x_21); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; uint32_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -lean_dec(x_28); -lean_dec(x_26); -lean_dec(x_22); -lean_dec(x_21); -lean_dec(x_16); -lean_dec(x_8); -x_30 = lean_ctor_get(x_2, 4); -lean_inc(x_30); -x_31 = l_Lean_Lsp_InitializeParams_editDelay(x_30); -lean_dec(x_30); -x_32 = lean_uint32_of_nat(x_31); -lean_dec(x_31); -x_33 = lean_box_uint32(x_32); -x_34 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_unfoldCmdSnaps___lambda__1___boxed), 2, 1); -lean_closure_set(x_34, 0, x_33); -lean_inc(x_24); -x_35 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_updateDocument___lambda__2___boxed), 3, 1); -lean_closure_set(x_35, 0, x_24); -x_36 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); -lean_closure_set(x_36, 0, x_34); -lean_closure_set(x_36, 1, x_35); -x_37 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); -lean_closure_set(x_37, 0, x_36); -x_38 = l_Task_Priority_dedicated; -x_39 = lean_io_as_task(x_37, x_38, x_25); -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Server_FileWorker_updateDocument___lambda__1(x_1, x_24, x_40, x_2, x_3, x_41); -lean_dec(x_3); -lean_dec(x_2); -return x_42; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_inc(x_24); -lean_inc(x_2); -lean_inc(x_1); -x_43 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_updateDocument___lambda__5___boxed), 10, 8); -lean_closure_set(x_43, 0, x_21); -lean_closure_set(x_43, 1, x_22); -lean_closure_set(x_43, 2, x_8); -lean_closure_set(x_43, 3, x_1); -lean_closure_set(x_43, 4, x_26); -lean_closure_set(x_43, 5, x_2); -lean_closure_set(x_43, 6, x_24); -lean_closure_set(x_43, 7, x_16); -x_44 = l_Task_Priority_dedicated; -x_45 = lean_io_map_task(x_43, x_28, x_44, x_25); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); -lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Lean_Server_FileWorker_updateDocument___lambda__1(x_1, x_24, x_46, x_2, x_3, x_47); -lean_dec(x_3); -lean_dec(x_2); -return x_48; -} -} -else +uint8_t x_41; +x_41 = !lean_is_exclusive(x_1); +if (x_41 == 0) { -uint8_t x_49; -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_49 = !lean_is_exclusive(x_17); -if (x_49 == 0) +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint64_t x_46; uint8_t x_47; +x_42 = lean_ctor_get(x_1, 0); +x_43 = lean_ctor_get(x_1, 1); +x_44 = lean_ctor_get(x_1, 2); +x_45 = lean_ctor_get(x_1, 3); +x_46 = lean_unbox_uint64(x_43); +x_47 = lean_uint64_dec_lt(x_2, x_46); +if (x_47 == 0) { -return x_17; -} -else +uint64_t x_48; uint8_t x_49; +x_48 = lean_unbox_uint64(x_43); +x_49 = lean_uint64_dec_eq(x_2, x_48); +if (x_49 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_17, 0); -x_51 = lean_ctor_get(x_17, 1); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_17); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_updateDocument___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: +lean_object* x_50; uint8_t x_51; +x_50 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_45, x_2, x_3); +x_51 = lean_ctor_get_uint8(x_50, sizeof(void*)*4); +if (x_51 == 0) { -lean_object* x_3; -x_3 = l_Lean_Server_FileWorker_CancelToken_check___at_Lean_Server_FileWorker_updateDocument___spec__1(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_updateDocument___spec__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: +lean_object* x_52; +x_52 = lean_ctor_get(x_50, 0); +lean_inc(x_52); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_3; -x_3 = l_MonadExcept_ofExcept___at_Lean_Server_FileWorker_updateDocument___spec__2(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +lean_object* x_53; +x_53 = lean_ctor_get(x_50, 3); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_7; -x_7 = l_Lean_Server_FileWorker_updateDocument___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: +uint8_t x_54; +x_54 = !lean_is_exclusive(x_50); +if (x_54 == 0) { -lean_object* x_4; -x_4 = l_Lean_Server_FileWorker_updateDocument___lambda__2(x_1, x_2, x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_4; -} +lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_55 = lean_ctor_get(x_50, 3); +lean_dec(x_55); +x_56 = lean_ctor_get(x_50, 0); +lean_dec(x_56); +lean_ctor_set(x_50, 0, x_53); +x_57 = 1; +lean_ctor_set(x_1, 3, x_50); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_57); +return x_1; } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__3___boxed(lean_object* x_1, lean_object* x_2) { -_start: +else { -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Server_FileWorker_updateDocument___lambda__3(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; +lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; +x_58 = lean_ctor_get(x_50, 1); +x_59 = lean_ctor_get(x_50, 2); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_50); +x_60 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_60, 0, x_53); +lean_ctor_set(x_60, 1, x_58); +lean_ctor_set(x_60, 2, x_59); +lean_ctor_set(x_60, 3, x_53); +lean_ctor_set_uint8(x_60, sizeof(void*)*4, x_51); +x_61 = 1; +lean_ctor_set(x_1, 3, x_60); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_61); +return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: +else { -lean_object* x_7; -x_7 = l_Lean_Server_FileWorker_updateDocument___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_5); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_updateDocument___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +uint8_t x_62; +x_62 = lean_ctor_get_uint8(x_53, sizeof(void*)*4); +if (x_62 == 0) { -lean_object* x_11; -x_11 = l_Lean_Server_FileWorker_updateDocument___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_3); -return x_11; -} -} -static uint8_t _init_l_Lean_Server_FileWorker_handleDidChange___closed__1() { -_start: +uint8_t x_63; +x_63 = !lean_is_exclusive(x_50); +if (x_63 == 0) { -uint8_t x_1; uint8_t x_2; -x_1 = 0; -x_2 = l_instDecidableNot___rarg(x_1); -return x_2; -} -} -static uint8_t _init_l_Lean_Server_FileWorker_handleDidChange___closed__2() { -_start: +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_64 = lean_ctor_get(x_50, 1); +x_65 = lean_ctor_get(x_50, 2); +x_66 = lean_ctor_get(x_50, 3); +lean_dec(x_66); +x_67 = lean_ctor_get(x_50, 0); +lean_dec(x_67); +x_68 = !lean_is_exclusive(x_53); +if (x_68 == 0) { -uint8_t x_1; uint8_t x_2; -x_1 = 1; -x_2 = l_instDecidableNot___rarg(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDidChange(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_1, 0); -x_6 = lean_ctor_get(x_1, 1); -x_7 = lean_st_ref_get(x_3, x_4); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_7, 1); -x_11 = lean_ctor_get(x_9, 0); -lean_inc(x_11); -lean_dec(x_9); -x_12 = lean_ctor_get(x_5, 0); -x_13 = lean_ctor_get(x_5, 1); -x_14 = l_Array_isEmpty___rarg(x_6); -if (lean_obj_tag(x_13) == 0) -{ -if (x_14 == 0) -{ -uint8_t x_15; -x_15 = l_Lean_Server_FileWorker_handleDidChange___closed__1; -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(0); -lean_ctor_set(x_7, 0, x_16); -return x_7; +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; uint8_t x_74; +x_69 = lean_ctor_get(x_53, 0); +x_70 = lean_ctor_get(x_53, 1); +x_71 = lean_ctor_get(x_53, 2); +x_72 = lean_ctor_get(x_53, 3); +x_73 = 1; +lean_ctor_set(x_53, 3, x_52); +lean_ctor_set(x_53, 2, x_44); +lean_ctor_set(x_53, 1, x_43); +lean_ctor_set(x_53, 0, x_42); +lean_ctor_set_uint8(x_53, sizeof(void*)*4, x_73); +lean_ctor_set(x_50, 3, x_72); +lean_ctor_set(x_50, 2, x_71); +lean_ctor_set(x_50, 1, x_70); +lean_ctor_set(x_50, 0, x_69); +lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_73); +x_74 = 0; +lean_ctor_set(x_1, 3, x_50); +lean_ctor_set(x_1, 2, x_65); +lean_ctor_set(x_1, 1, x_64); +lean_ctor_set(x_1, 0, x_53); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_74); +return x_1; } else { -lean_object* x_17; uint8_t x_18; -lean_free_object(x_7); -x_17 = lean_ctor_get(x_11, 0); -lean_inc(x_17); -lean_dec(x_11); -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_19 = lean_ctor_get(x_17, 2); -x_20 = lean_ctor_get(x_17, 1); -lean_dec(x_20); -x_21 = lean_ctor_get(x_17, 0); -lean_dec(x_21); -x_22 = l_Lean_Server_foldDocumentChanges(x_6, x_19); -x_23 = lean_unsigned_to_nat(0u); -lean_inc(x_12); -lean_ctor_set(x_17, 2, x_22); -lean_ctor_set(x_17, 1, x_23); -lean_ctor_set(x_17, 0, x_12); -x_24 = l_Lean_Server_FileWorker_updateDocument(x_17, x_2, x_3, x_10); -return x_24; +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; uint8_t x_81; +x_75 = lean_ctor_get(x_53, 0); +x_76 = lean_ctor_get(x_53, 1); +x_77 = lean_ctor_get(x_53, 2); +x_78 = lean_ctor_get(x_53, 3); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_53); +x_79 = 1; +x_80 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_80, 0, x_42); +lean_ctor_set(x_80, 1, x_43); +lean_ctor_set(x_80, 2, x_44); +lean_ctor_set(x_80, 3, x_52); +lean_ctor_set_uint8(x_80, sizeof(void*)*4, x_79); +lean_ctor_set(x_50, 3, x_78); +lean_ctor_set(x_50, 2, x_77); +lean_ctor_set(x_50, 1, x_76); +lean_ctor_set(x_50, 0, x_75); +lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_79); +x_81 = 0; +lean_ctor_set(x_1, 3, x_50); +lean_ctor_set(x_1, 2, x_65); +lean_ctor_set(x_1, 1, x_64); +lean_ctor_set(x_1, 0, x_80); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_81); +return x_1; +} } else { -lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_25 = lean_ctor_get(x_17, 2); -x_26 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); -lean_inc(x_25); -lean_dec(x_17); -x_27 = l_Lean_Server_foldDocumentChanges(x_6, x_25); -x_28 = lean_unsigned_to_nat(0u); -lean_inc(x_12); -x_29 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_29, 0, x_12); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_27); -lean_ctor_set_uint8(x_29, sizeof(void*)*3, x_26); -x_30 = l_Lean_Server_FileWorker_updateDocument(x_29, x_2, x_3, x_10); -return x_30; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_82 = lean_ctor_get(x_50, 1); +x_83 = lean_ctor_get(x_50, 2); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_50); +x_84 = lean_ctor_get(x_53, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_53, 1); +lean_inc(x_85); +x_86 = lean_ctor_get(x_53, 2); +lean_inc(x_86); +x_87 = lean_ctor_get(x_53, 3); +lean_inc(x_87); +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + lean_ctor_release(x_53, 2); + lean_ctor_release(x_53, 3); + x_88 = x_53; +} else { + lean_dec_ref(x_53); + x_88 = lean_box(0); } +x_89 = 1; +if (lean_is_scalar(x_88)) { + x_90 = lean_alloc_ctor(1, 4, 1); +} else { + x_90 = x_88; } +lean_ctor_set(x_90, 0, x_42); +lean_ctor_set(x_90, 1, x_43); +lean_ctor_set(x_90, 2, x_44); +lean_ctor_set(x_90, 3, x_52); +lean_ctor_set_uint8(x_90, sizeof(void*)*4, x_89); +x_91 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_91, 0, x_84); +lean_ctor_set(x_91, 1, x_85); +lean_ctor_set(x_91, 2, x_86); +lean_ctor_set(x_91, 3, x_87); +lean_ctor_set_uint8(x_91, sizeof(void*)*4, x_89); +x_92 = 0; +lean_ctor_set(x_1, 3, x_91); +lean_ctor_set(x_1, 2, x_83); +lean_ctor_set(x_1, 1, x_82); +lean_ctor_set(x_1, 0, x_90); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_92); +return x_1; } -else -{ -uint8_t x_31; -x_31 = l_Lean_Server_FileWorker_handleDidChange___closed__2; -if (x_31 == 0) -{ -lean_object* x_32; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -x_32 = lean_box(0); -lean_ctor_set(x_7, 0, x_32); -return x_7; } else { -lean_object* x_33; uint8_t x_34; -lean_free_object(x_7); -x_33 = lean_ctor_get(x_11, 0); -lean_inc(x_33); -lean_dec(x_11); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +uint8_t x_93; +lean_free_object(x_1); +x_93 = !lean_is_exclusive(x_53); +if (x_93 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_35 = lean_ctor_get(x_33, 2); -x_36 = lean_ctor_get(x_33, 1); -lean_dec(x_36); -x_37 = lean_ctor_get(x_33, 0); -lean_dec(x_37); -x_38 = l_Lean_Server_foldDocumentChanges(x_6, x_35); -x_39 = lean_unsigned_to_nat(0u); -lean_inc(x_12); -lean_ctor_set(x_33, 2, x_38); -lean_ctor_set(x_33, 1, x_39); -lean_ctor_set(x_33, 0, x_12); -x_40 = l_Lean_Server_FileWorker_updateDocument(x_33, x_2, x_3, x_10); -return x_40; +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_94 = lean_ctor_get(x_53, 3); +lean_dec(x_94); +x_95 = lean_ctor_get(x_53, 2); +lean_dec(x_95); +x_96 = lean_ctor_get(x_53, 1); +lean_dec(x_96); +x_97 = lean_ctor_get(x_53, 0); +lean_dec(x_97); +x_98 = 1; +lean_ctor_set(x_53, 3, x_50); +lean_ctor_set(x_53, 2, x_44); +lean_ctor_set(x_53, 1, x_43); +lean_ctor_set(x_53, 0, x_42); +lean_ctor_set_uint8(x_53, sizeof(void*)*4, x_98); +return x_53; } else { -lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_41 = lean_ctor_get(x_33, 2); -x_42 = lean_ctor_get_uint8(x_33, sizeof(void*)*3); -lean_inc(x_41); -lean_dec(x_33); -x_43 = l_Lean_Server_foldDocumentChanges(x_6, x_41); -x_44 = lean_unsigned_to_nat(0u); -lean_inc(x_12); -x_45 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_45, 0, x_12); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_43); -lean_ctor_set_uint8(x_45, sizeof(void*)*3, x_42); -x_46 = l_Lean_Server_FileWorker_updateDocument(x_45, x_2, x_3, x_10); -return x_46; +uint8_t x_99; lean_object* x_100; +lean_dec(x_53); +x_99 = 1; +x_100 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_100, 0, x_42); +lean_ctor_set(x_100, 1, x_43); +lean_ctor_set(x_100, 2, x_44); +lean_ctor_set(x_100, 3, x_50); +lean_ctor_set_uint8(x_100, sizeof(void*)*4, x_99); +return x_100; } } } } else { -if (x_14 == 0) +uint8_t x_101; +x_101 = lean_ctor_get_uint8(x_52, sizeof(void*)*4); +if (x_101 == 0) { -lean_object* x_47; uint8_t x_48; -x_47 = lean_ctor_get(x_13, 0); -x_48 = l_Lean_Server_FileWorker_handleDidChange___closed__1; -if (x_48 == 0) +uint8_t x_102; +x_102 = !lean_is_exclusive(x_50); +if (x_102 == 0) { -lean_object* x_49; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -x_49 = lean_box(0); -lean_ctor_set(x_7, 0, x_49); -return x_7; +lean_object* x_103; uint8_t x_104; +x_103 = lean_ctor_get(x_50, 0); +lean_dec(x_103); +x_104 = !lean_is_exclusive(x_52); +if (x_104 == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; uint8_t x_110; +x_105 = lean_ctor_get(x_52, 0); +x_106 = lean_ctor_get(x_52, 1); +x_107 = lean_ctor_get(x_52, 2); +x_108 = lean_ctor_get(x_52, 3); +x_109 = 1; +lean_ctor_set(x_52, 3, x_105); +lean_ctor_set(x_52, 2, x_44); +lean_ctor_set(x_52, 1, x_43); +lean_ctor_set(x_52, 0, x_42); +lean_ctor_set_uint8(x_52, sizeof(void*)*4, x_109); +lean_ctor_set(x_50, 0, x_108); +lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_109); +x_110 = 0; +lean_ctor_set(x_1, 3, x_50); +lean_ctor_set(x_1, 2, x_107); +lean_ctor_set(x_1, 1, x_106); +lean_ctor_set(x_1, 0, x_52); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_110); +return x_1; } else { -lean_object* x_50; uint8_t x_51; -lean_free_object(x_7); -x_50 = lean_ctor_get(x_11, 0); -lean_inc(x_50); -lean_dec(x_11); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = lean_ctor_get(x_50, 2); -x_53 = lean_ctor_get(x_50, 1); -lean_dec(x_53); -x_54 = lean_ctor_get(x_50, 0); -lean_dec(x_54); -x_55 = l_Lean_Server_foldDocumentChanges(x_6, x_52); -lean_inc(x_47); -lean_inc(x_12); -lean_ctor_set(x_50, 2, x_55); -lean_ctor_set(x_50, 1, x_47); -lean_ctor_set(x_50, 0, x_12); -x_56 = l_Lean_Server_FileWorker_updateDocument(x_50, x_2, x_3, x_10); -return x_56; +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; uint8_t x_117; +x_111 = lean_ctor_get(x_52, 0); +x_112 = lean_ctor_get(x_52, 1); +x_113 = lean_ctor_get(x_52, 2); +x_114 = lean_ctor_get(x_52, 3); +lean_inc(x_114); +lean_inc(x_113); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_52); +x_115 = 1; +x_116 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_116, 0, x_42); +lean_ctor_set(x_116, 1, x_43); +lean_ctor_set(x_116, 2, x_44); +lean_ctor_set(x_116, 3, x_111); +lean_ctor_set_uint8(x_116, sizeof(void*)*4, x_115); +lean_ctor_set(x_50, 0, x_114); +lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_115); +x_117 = 0; +lean_ctor_set(x_1, 3, x_50); +lean_ctor_set(x_1, 2, x_113); +lean_ctor_set(x_1, 1, x_112); +lean_ctor_set(x_1, 0, x_116); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_117); +return x_1; +} } else { -lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_57 = lean_ctor_get(x_50, 2); -x_58 = lean_ctor_get_uint8(x_50, sizeof(void*)*3); -lean_inc(x_57); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; +x_118 = lean_ctor_get(x_50, 1); +x_119 = lean_ctor_get(x_50, 2); +x_120 = lean_ctor_get(x_50, 3); +lean_inc(x_120); +lean_inc(x_119); +lean_inc(x_118); lean_dec(x_50); -x_59 = l_Lean_Server_foldDocumentChanges(x_6, x_57); -lean_inc(x_47); -lean_inc(x_12); -x_60 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_60, 0, x_12); -lean_ctor_set(x_60, 1, x_47); -lean_ctor_set(x_60, 2, x_59); -lean_ctor_set_uint8(x_60, sizeof(void*)*3, x_58); -x_61 = l_Lean_Server_FileWorker_updateDocument(x_60, x_2, x_3, x_10); -return x_61; +x_121 = lean_ctor_get(x_52, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_52, 1); +lean_inc(x_122); +x_123 = lean_ctor_get(x_52, 2); +lean_inc(x_123); +x_124 = lean_ctor_get(x_52, 3); +lean_inc(x_124); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + lean_ctor_release(x_52, 2); + lean_ctor_release(x_52, 3); + x_125 = x_52; +} else { + lean_dec_ref(x_52); + x_125 = lean_box(0); +} +x_126 = 1; +if (lean_is_scalar(x_125)) { + x_127 = lean_alloc_ctor(1, 4, 1); +} else { + x_127 = x_125; } +lean_ctor_set(x_127, 0, x_42); +lean_ctor_set(x_127, 1, x_43); +lean_ctor_set(x_127, 2, x_44); +lean_ctor_set(x_127, 3, x_121); +lean_ctor_set_uint8(x_127, sizeof(void*)*4, x_126); +x_128 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_128, 0, x_124); +lean_ctor_set(x_128, 1, x_118); +lean_ctor_set(x_128, 2, x_119); +lean_ctor_set(x_128, 3, x_120); +lean_ctor_set_uint8(x_128, sizeof(void*)*4, x_126); +x_129 = 0; +lean_ctor_set(x_1, 3, x_128); +lean_ctor_set(x_1, 2, x_123); +lean_ctor_set(x_1, 1, x_122); +lean_ctor_set(x_1, 0, x_127); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_129); +return x_1; } } else { -lean_object* x_62; uint8_t x_63; -x_62 = lean_ctor_get(x_13, 0); -x_63 = l_Lean_Server_FileWorker_handleDidChange___closed__2; -if (x_63 == 0) -{ -lean_object* x_64; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -x_64 = lean_box(0); -lean_ctor_set(x_7, 0, x_64); -return x_7; -} -else +lean_object* x_130; +x_130 = lean_ctor_get(x_50, 3); +lean_inc(x_130); +if (lean_obj_tag(x_130) == 0) { -lean_object* x_65; uint8_t x_66; -lean_free_object(x_7); -x_65 = lean_ctor_get(x_11, 0); -lean_inc(x_65); -lean_dec(x_11); -x_66 = !lean_is_exclusive(x_65); -if (x_66 == 0) +uint8_t x_131; +lean_free_object(x_1); +x_131 = !lean_is_exclusive(x_52); +if (x_131 == 0) { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_67 = lean_ctor_get(x_65, 2); -x_68 = lean_ctor_get(x_65, 1); -lean_dec(x_68); -x_69 = lean_ctor_get(x_65, 0); -lean_dec(x_69); -x_70 = l_Lean_Server_foldDocumentChanges(x_6, x_67); -lean_inc(x_62); -lean_inc(x_12); -lean_ctor_set(x_65, 2, x_70); -lean_ctor_set(x_65, 1, x_62); -lean_ctor_set(x_65, 0, x_12); -x_71 = l_Lean_Server_FileWorker_updateDocument(x_65, x_2, x_3, x_10); -return x_71; +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; +x_132 = lean_ctor_get(x_52, 3); +lean_dec(x_132); +x_133 = lean_ctor_get(x_52, 2); +lean_dec(x_133); +x_134 = lean_ctor_get(x_52, 1); +lean_dec(x_134); +x_135 = lean_ctor_get(x_52, 0); +lean_dec(x_135); +x_136 = 1; +lean_ctor_set(x_52, 3, x_50); +lean_ctor_set(x_52, 2, x_44); +lean_ctor_set(x_52, 1, x_43); +lean_ctor_set(x_52, 0, x_42); +lean_ctor_set_uint8(x_52, sizeof(void*)*4, x_136); +return x_52; } else { -lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_72 = lean_ctor_get(x_65, 2); -x_73 = lean_ctor_get_uint8(x_65, sizeof(void*)*3); -lean_inc(x_72); -lean_dec(x_65); -x_74 = l_Lean_Server_foldDocumentChanges(x_6, x_72); -lean_inc(x_62); -lean_inc(x_12); -x_75 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_75, 0, x_12); -lean_ctor_set(x_75, 1, x_62); -lean_ctor_set(x_75, 2, x_74); -lean_ctor_set_uint8(x_75, sizeof(void*)*3, x_73); -x_76 = l_Lean_Server_FileWorker_updateDocument(x_75, x_2, x_3, x_10); -return x_76; -} -} -} +uint8_t x_137; lean_object* x_138; +lean_dec(x_52); +x_137 = 1; +x_138 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_138, 0, x_42); +lean_ctor_set(x_138, 1, x_43); +lean_ctor_set(x_138, 2, x_44); +lean_ctor_set(x_138, 3, x_50); +lean_ctor_set_uint8(x_138, sizeof(void*)*4, x_137); +return x_138; } } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_77 = lean_ctor_get(x_7, 0); -x_78 = lean_ctor_get(x_7, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_7); -x_79 = lean_ctor_get(x_77, 0); -lean_inc(x_79); -lean_dec(x_77); -x_80 = lean_ctor_get(x_5, 0); -x_81 = lean_ctor_get(x_5, 1); -x_82 = l_Array_isEmpty___rarg(x_6); -if (lean_obj_tag(x_81) == 0) -{ -if (x_82 == 0) +uint8_t x_139; +x_139 = lean_ctor_get_uint8(x_130, sizeof(void*)*4); +if (x_139 == 0) { -uint8_t x_83; -x_83 = l_Lean_Server_FileWorker_handleDidChange___closed__1; -if (x_83 == 0) +uint8_t x_140; +lean_free_object(x_1); +x_140 = !lean_is_exclusive(x_50); +if (x_140 == 0) { -lean_object* x_84; lean_object* x_85; -lean_dec(x_79); -lean_dec(x_3); -lean_dec(x_2); -x_84 = lean_box(0); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_78); -return x_85; +lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_141 = lean_ctor_get(x_50, 3); +lean_dec(x_141); +x_142 = lean_ctor_get(x_50, 0); +lean_dec(x_142); +x_143 = !lean_is_exclusive(x_130); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; uint8_t x_149; +x_144 = lean_ctor_get(x_130, 0); +x_145 = lean_ctor_get(x_130, 1); +x_146 = lean_ctor_get(x_130, 2); +x_147 = lean_ctor_get(x_130, 3); +x_148 = 1; +lean_inc(x_52); +lean_ctor_set(x_130, 3, x_52); +lean_ctor_set(x_130, 2, x_44); +lean_ctor_set(x_130, 1, x_43); +lean_ctor_set(x_130, 0, x_42); +x_149 = !lean_is_exclusive(x_52); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_150 = lean_ctor_get(x_52, 3); +lean_dec(x_150); +x_151 = lean_ctor_get(x_52, 2); +lean_dec(x_151); +x_152 = lean_ctor_get(x_52, 1); +lean_dec(x_152); +x_153 = lean_ctor_get(x_52, 0); +lean_dec(x_153); +lean_ctor_set_uint8(x_130, sizeof(void*)*4, x_148); +lean_ctor_set(x_52, 3, x_147); +lean_ctor_set(x_52, 2, x_146); +lean_ctor_set(x_52, 1, x_145); +lean_ctor_set(x_52, 0, x_144); +lean_ctor_set_uint8(x_52, sizeof(void*)*4, x_148); +x_154 = 0; +lean_ctor_set(x_50, 3, x_52); +lean_ctor_set(x_50, 0, x_130); +lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_154); +return x_50; } else { -lean_object* x_86; lean_object* x_87; uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_86 = lean_ctor_get(x_79, 0); -lean_inc(x_86); -lean_dec(x_79); -x_87 = lean_ctor_get(x_86, 2); -lean_inc(x_87); -x_88 = lean_ctor_get_uint8(x_86, sizeof(void*)*3); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - lean_ctor_release(x_86, 2); - x_89 = x_86; +lean_object* x_155; uint8_t x_156; +lean_dec(x_52); +lean_ctor_set_uint8(x_130, sizeof(void*)*4, x_148); +x_155 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_155, 0, x_144); +lean_ctor_set(x_155, 1, x_145); +lean_ctor_set(x_155, 2, x_146); +lean_ctor_set(x_155, 3, x_147); +lean_ctor_set_uint8(x_155, sizeof(void*)*4, x_148); +x_156 = 0; +lean_ctor_set(x_50, 3, x_155); +lean_ctor_set(x_50, 0, x_130); +lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_156); +return x_50; +} +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; +x_157 = lean_ctor_get(x_130, 0); +x_158 = lean_ctor_get(x_130, 1); +x_159 = lean_ctor_get(x_130, 2); +x_160 = lean_ctor_get(x_130, 3); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); +lean_dec(x_130); +x_161 = 1; +lean_inc(x_52); +x_162 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_162, 0, x_42); +lean_ctor_set(x_162, 1, x_43); +lean_ctor_set(x_162, 2, x_44); +lean_ctor_set(x_162, 3, x_52); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + lean_ctor_release(x_52, 2); + lean_ctor_release(x_52, 3); + x_163 = x_52; } else { - lean_dec_ref(x_86); - x_89 = lean_box(0); + lean_dec_ref(x_52); + x_163 = lean_box(0); } -x_90 = l_Lean_Server_foldDocumentChanges(x_6, x_87); -x_91 = lean_unsigned_to_nat(0u); -lean_inc(x_80); -if (lean_is_scalar(x_89)) { - x_92 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set_uint8(x_162, sizeof(void*)*4, x_161); +if (lean_is_scalar(x_163)) { + x_164 = lean_alloc_ctor(1, 4, 1); } else { - x_92 = x_89; + x_164 = x_163; } -lean_ctor_set(x_92, 0, x_80); -lean_ctor_set(x_92, 1, x_91); -lean_ctor_set(x_92, 2, x_90); -lean_ctor_set_uint8(x_92, sizeof(void*)*3, x_88); -x_93 = l_Lean_Server_FileWorker_updateDocument(x_92, x_2, x_3, x_78); -return x_93; +lean_ctor_set(x_164, 0, x_157); +lean_ctor_set(x_164, 1, x_158); +lean_ctor_set(x_164, 2, x_159); +lean_ctor_set(x_164, 3, x_160); +lean_ctor_set_uint8(x_164, sizeof(void*)*4, x_161); +x_165 = 0; +lean_ctor_set(x_50, 3, x_164); +lean_ctor_set(x_50, 0, x_162); +lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_165); +return x_50; } } else { -uint8_t x_94; -x_94 = l_Lean_Server_FileWorker_handleDidChange___closed__2; -if (x_94 == 0) -{ -lean_object* x_95; lean_object* x_96; -lean_dec(x_79); -lean_dec(x_3); -lean_dec(x_2); -x_95 = lean_box(0); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_78); -return x_96; +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; +x_166 = lean_ctor_get(x_50, 1); +x_167 = lean_ctor_get(x_50, 2); +lean_inc(x_167); +lean_inc(x_166); +lean_dec(x_50); +x_168 = lean_ctor_get(x_130, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_130, 1); +lean_inc(x_169); +x_170 = lean_ctor_get(x_130, 2); +lean_inc(x_170); +x_171 = lean_ctor_get(x_130, 3); +lean_inc(x_171); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + lean_ctor_release(x_130, 2); + lean_ctor_release(x_130, 3); + x_172 = x_130; +} else { + lean_dec_ref(x_130); + x_172 = lean_box(0); } -else -{ -lean_object* x_97; lean_object* x_98; uint8_t x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_97 = lean_ctor_get(x_79, 0); -lean_inc(x_97); -lean_dec(x_79); -x_98 = lean_ctor_get(x_97, 2); -lean_inc(x_98); -x_99 = lean_ctor_get_uint8(x_97, sizeof(void*)*3); -if (lean_is_exclusive(x_97)) { - lean_ctor_release(x_97, 0); - lean_ctor_release(x_97, 1); - lean_ctor_release(x_97, 2); - x_100 = x_97; +x_173 = 1; +lean_inc(x_52); +if (lean_is_scalar(x_172)) { + x_174 = lean_alloc_ctor(1, 4, 1); } else { - lean_dec_ref(x_97); - x_100 = lean_box(0); + x_174 = x_172; } -x_101 = l_Lean_Server_foldDocumentChanges(x_6, x_98); -x_102 = lean_unsigned_to_nat(0u); -lean_inc(x_80); -if (lean_is_scalar(x_100)) { - x_103 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_174, 0, x_42); +lean_ctor_set(x_174, 1, x_43); +lean_ctor_set(x_174, 2, x_44); +lean_ctor_set(x_174, 3, x_52); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + lean_ctor_release(x_52, 2); + lean_ctor_release(x_52, 3); + x_175 = x_52; } else { - x_103 = x_100; + lean_dec_ref(x_52); + x_175 = lean_box(0); } -lean_ctor_set(x_103, 0, x_80); -lean_ctor_set(x_103, 1, x_102); -lean_ctor_set(x_103, 2, x_101); -lean_ctor_set_uint8(x_103, sizeof(void*)*3, x_99); -x_104 = l_Lean_Server_FileWorker_updateDocument(x_103, x_2, x_3, x_78); -return x_104; +lean_ctor_set_uint8(x_174, sizeof(void*)*4, x_173); +if (lean_is_scalar(x_175)) { + x_176 = lean_alloc_ctor(1, 4, 1); +} else { + x_176 = x_175; } +lean_ctor_set(x_176, 0, x_168); +lean_ctor_set(x_176, 1, x_169); +lean_ctor_set(x_176, 2, x_170); +lean_ctor_set(x_176, 3, x_171); +lean_ctor_set_uint8(x_176, sizeof(void*)*4, x_173); +x_177 = 0; +x_178 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_178, 0, x_174); +lean_ctor_set(x_178, 1, x_166); +lean_ctor_set(x_178, 2, x_167); +lean_ctor_set(x_178, 3, x_176); +lean_ctor_set_uint8(x_178, sizeof(void*)*4, x_177); +return x_178; } } else { -if (x_82 == 0) +uint8_t x_179; +x_179 = !lean_is_exclusive(x_50); +if (x_179 == 0) { -lean_object* x_105; uint8_t x_106; -x_105 = lean_ctor_get(x_81, 0); -x_106 = l_Lean_Server_FileWorker_handleDidChange___closed__1; -if (x_106 == 0) +lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_180 = lean_ctor_get(x_50, 3); +lean_dec(x_180); +x_181 = lean_ctor_get(x_50, 0); +lean_dec(x_181); +x_182 = !lean_is_exclusive(x_52); +if (x_182 == 0) { -lean_object* x_107; lean_object* x_108; -lean_dec(x_79); -lean_dec(x_3); -lean_dec(x_2); -x_107 = lean_box(0); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_78); -return x_108; +uint8_t x_183; +lean_ctor_set_uint8(x_52, sizeof(void*)*4, x_139); +x_183 = 1; +lean_ctor_set(x_1, 3, x_50); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_183); +return x_1; } else { -lean_object* x_109; lean_object* x_110; uint8_t x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_109 = lean_ctor_get(x_79, 0); -lean_inc(x_109); -lean_dec(x_79); -x_110 = lean_ctor_get(x_109, 2); -lean_inc(x_110); -x_111 = lean_ctor_get_uint8(x_109, sizeof(void*)*3); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - lean_ctor_release(x_109, 2); - x_112 = x_109; -} else { - lean_dec_ref(x_109); - x_112 = lean_box(0); -} -x_113 = l_Lean_Server_foldDocumentChanges(x_6, x_110); -lean_inc(x_105); -lean_inc(x_80); -if (lean_is_scalar(x_112)) { - x_114 = lean_alloc_ctor(0, 3, 1); -} else { - x_114 = x_112; -} -lean_ctor_set(x_114, 0, x_80); -lean_ctor_set(x_114, 1, x_105); -lean_ctor_set(x_114, 2, x_113); -lean_ctor_set_uint8(x_114, sizeof(void*)*3, x_111); -x_115 = l_Lean_Server_FileWorker_updateDocument(x_114, x_2, x_3, x_78); -return x_115; -} +lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; +x_184 = lean_ctor_get(x_52, 0); +x_185 = lean_ctor_get(x_52, 1); +x_186 = lean_ctor_get(x_52, 2); +x_187 = lean_ctor_get(x_52, 3); +lean_inc(x_187); +lean_inc(x_186); +lean_inc(x_185); +lean_inc(x_184); +lean_dec(x_52); +x_188 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_188, 0, x_184); +lean_ctor_set(x_188, 1, x_185); +lean_ctor_set(x_188, 2, x_186); +lean_ctor_set(x_188, 3, x_187); +lean_ctor_set_uint8(x_188, sizeof(void*)*4, x_139); +lean_ctor_set(x_50, 0, x_188); +x_189 = 1; +lean_ctor_set(x_1, 3, x_50); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_189); +return x_1; } -else -{ -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_81, 0); -x_117 = l_Lean_Server_FileWorker_handleDidChange___closed__2; -if (x_117 == 0) -{ -lean_object* x_118; lean_object* x_119; -lean_dec(x_79); -lean_dec(x_3); -lean_dec(x_2); -x_118 = lean_box(0); -x_119 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_78); -return x_119; } else { -lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_120 = lean_ctor_get(x_79, 0); -lean_inc(x_120); -lean_dec(x_79); -x_121 = lean_ctor_get(x_120, 2); -lean_inc(x_121); -x_122 = lean_ctor_get_uint8(x_120, sizeof(void*)*3); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - lean_ctor_release(x_120, 2); - x_123 = x_120; +lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; +x_190 = lean_ctor_get(x_50, 1); +x_191 = lean_ctor_get(x_50, 2); +lean_inc(x_191); +lean_inc(x_190); +lean_dec(x_50); +x_192 = lean_ctor_get(x_52, 0); +lean_inc(x_192); +x_193 = lean_ctor_get(x_52, 1); +lean_inc(x_193); +x_194 = lean_ctor_get(x_52, 2); +lean_inc(x_194); +x_195 = lean_ctor_get(x_52, 3); +lean_inc(x_195); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + lean_ctor_release(x_52, 1); + lean_ctor_release(x_52, 2); + lean_ctor_release(x_52, 3); + x_196 = x_52; } else { - lean_dec_ref(x_120); - x_123 = lean_box(0); + lean_dec_ref(x_52); + x_196 = lean_box(0); } -x_124 = l_Lean_Server_foldDocumentChanges(x_6, x_121); -lean_inc(x_116); -lean_inc(x_80); -if (lean_is_scalar(x_123)) { - x_125 = lean_alloc_ctor(0, 3, 1); +if (lean_is_scalar(x_196)) { + x_197 = lean_alloc_ctor(1, 4, 1); } else { - x_125 = x_123; + x_197 = x_196; } -lean_ctor_set(x_125, 0, x_80); -lean_ctor_set(x_125, 1, x_116); -lean_ctor_set(x_125, 2, x_124); -lean_ctor_set_uint8(x_125, sizeof(void*)*3, x_122); -x_126 = l_Lean_Server_FileWorker_updateDocument(x_125, x_2, x_3, x_78); -return x_126; +lean_ctor_set(x_197, 0, x_192); +lean_ctor_set(x_197, 1, x_193); +lean_ctor_set(x_197, 2, x_194); +lean_ctor_set(x_197, 3, x_195); +lean_ctor_set_uint8(x_197, sizeof(void*)*4, x_139); +x_198 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_198, 0, x_197); +lean_ctor_set(x_198, 1, x_190); +lean_ctor_set(x_198, 2, x_191); +lean_ctor_set(x_198, 3, x_130); +lean_ctor_set_uint8(x_198, sizeof(void*)*4, x_51); +x_199 = 1; +lean_ctor_set(x_1, 3, x_198); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_199); +return x_1; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDidChange___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +else { -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_handleDidChange(x_1, x_2, x_3, x_4); -lean_dec(x_1); -return x_5; +uint8_t x_200; +x_200 = 1; +lean_ctor_set(x_1, 3, x_50); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_200); +return x_1; } } -LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) +else { -lean_object* x_3; -lean_dec(x_1); -x_3 = lean_box(0); -return x_3; +uint8_t x_201; lean_object* x_202; +lean_dec(x_44); +lean_dec(x_43); +x_201 = 1; +x_202 = lean_box_uint64(x_2); +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_202); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_201); +return x_1; +} } else { -uint8_t x_4; -x_4 = !lean_is_exclusive(x_2); -if (x_4 == 0) +lean_object* x_203; uint8_t x_204; +x_203 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_42, x_2, x_3); +x_204 = lean_ctor_get_uint8(x_203, sizeof(void*)*4); +if (x_204 == 0) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_5 = lean_ctor_get(x_2, 0); -x_6 = lean_ctor_get(x_2, 1); -x_7 = lean_ctor_get(x_2, 2); -x_8 = lean_ctor_get(x_2, 3); -lean_inc(x_6); -lean_inc(x_1); -x_9 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_1, x_6); -switch (x_9) { -case 0: +lean_object* x_205; +x_205 = lean_ctor_get(x_203, 0); +lean_inc(x_205); +if (lean_obj_tag(x_205) == 0) { -uint8_t x_10; -x_10 = l_Lean_RBNode_isBlack___rarg(x_5); -if (x_10 == 0) +lean_object* x_206; +x_206 = lean_ctor_get(x_203, 3); +lean_inc(x_206); +if (lean_obj_tag(x_206) == 0) { -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_5); -x_12 = 0; -lean_ctor_set(x_2, 0, x_11); -lean_ctor_set_uint8(x_2, sizeof(void*)*4, x_12); -return x_2; +uint8_t x_207; +x_207 = !lean_is_exclusive(x_203); +if (x_207 == 0) +{ +lean_object* x_208; lean_object* x_209; uint8_t x_210; +x_208 = lean_ctor_get(x_203, 3); +lean_dec(x_208); +x_209 = lean_ctor_get(x_203, 0); +lean_dec(x_209); +lean_ctor_set(x_203, 0, x_206); +x_210 = 1; +lean_ctor_set(x_1, 0, x_203); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_210); +return x_1; } else { -lean_object* x_13; lean_object* x_14; -lean_free_object(x_2); -x_13 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_5); -x_14 = l_Lean_RBNode_balLeft___rarg(x_13, x_6, x_7, x_8); -return x_14; +lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; +x_211 = lean_ctor_get(x_203, 1); +x_212 = lean_ctor_get(x_203, 2); +lean_inc(x_212); +lean_inc(x_211); +lean_dec(x_203); +x_213 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_213, 0, x_206); +lean_ctor_set(x_213, 1, x_211); +lean_ctor_set(x_213, 2, x_212); +lean_ctor_set(x_213, 3, x_206); +lean_ctor_set_uint8(x_213, sizeof(void*)*4, x_204); +x_214 = 1; +lean_ctor_set(x_1, 0, x_213); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_214); +return x_1; } } -case 1: +else { -lean_object* x_15; -lean_free_object(x_2); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_1); -x_15 = l_Lean_RBNode_appendTrees___rarg(x_5, x_8); -return x_15; -} -default: +uint8_t x_215; +x_215 = lean_ctor_get_uint8(x_206, sizeof(void*)*4); +if (x_215 == 0) { -uint8_t x_16; -x_16 = l_Lean_RBNode_isBlack___rarg(x_8); -if (x_16 == 0) +uint8_t x_216; +x_216 = !lean_is_exclusive(x_203); +if (x_216 == 0) { -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_8); -x_18 = 0; -lean_ctor_set(x_2, 3, x_17); -lean_ctor_set_uint8(x_2, sizeof(void*)*4, x_18); -return x_2; +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; +x_217 = lean_ctor_get(x_203, 1); +x_218 = lean_ctor_get(x_203, 2); +x_219 = lean_ctor_get(x_203, 3); +lean_dec(x_219); +x_220 = lean_ctor_get(x_203, 0); +lean_dec(x_220); +x_221 = !lean_is_exclusive(x_206); +if (x_221 == 0) +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; uint8_t x_227; +x_222 = lean_ctor_get(x_206, 0); +x_223 = lean_ctor_get(x_206, 1); +x_224 = lean_ctor_get(x_206, 2); +x_225 = lean_ctor_get(x_206, 3); +x_226 = 1; +lean_ctor_set(x_206, 3, x_222); +lean_ctor_set(x_206, 2, x_218); +lean_ctor_set(x_206, 1, x_217); +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_226); +lean_ctor_set(x_203, 3, x_45); +lean_ctor_set(x_203, 2, x_44); +lean_ctor_set(x_203, 1, x_43); +lean_ctor_set(x_203, 0, x_225); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_226); +x_227 = 0; +lean_ctor_set(x_1, 3, x_203); +lean_ctor_set(x_1, 2, x_224); +lean_ctor_set(x_1, 1, x_223); +lean_ctor_set(x_1, 0, x_206); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_227); +return x_1; } else { -lean_object* x_19; lean_object* x_20; -lean_free_object(x_2); -x_19 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_8); -x_20 = l_Lean_RBNode_balRight___rarg(x_5, x_6, x_7, x_19); -return x_20; -} -} +lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; lean_object* x_233; uint8_t x_234; +x_228 = lean_ctor_get(x_206, 0); +x_229 = lean_ctor_get(x_206, 1); +x_230 = lean_ctor_get(x_206, 2); +x_231 = lean_ctor_get(x_206, 3); +lean_inc(x_231); +lean_inc(x_230); +lean_inc(x_229); +lean_inc(x_228); +lean_dec(x_206); +x_232 = 1; +x_233 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_233, 0, x_205); +lean_ctor_set(x_233, 1, x_217); +lean_ctor_set(x_233, 2, x_218); +lean_ctor_set(x_233, 3, x_228); +lean_ctor_set_uint8(x_233, sizeof(void*)*4, x_232); +lean_ctor_set(x_203, 3, x_45); +lean_ctor_set(x_203, 2, x_44); +lean_ctor_set(x_203, 1, x_43); +lean_ctor_set(x_203, 0, x_231); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_232); +x_234 = 0; +lean_ctor_set(x_1, 3, x_203); +lean_ctor_set(x_1, 2, x_230); +lean_ctor_set(x_1, 1, x_229); +lean_ctor_set(x_1, 0, x_233); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_234); +return x_1; } } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_ctor_get(x_2, 0); -x_22 = lean_ctor_get(x_2, 1); -x_23 = lean_ctor_get(x_2, 2); -x_24 = lean_ctor_get(x_2, 3); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_2); -lean_inc(x_22); -lean_inc(x_1); -x_25 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_1, x_22); -switch (x_25) { -case 0: -{ -uint8_t x_26; -x_26 = l_Lean_RBNode_isBlack___rarg(x_21); -if (x_26 == 0) -{ -lean_object* x_27; uint8_t x_28; lean_object* x_29; -x_27 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_21); -x_28 = 0; -x_29 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_22); -lean_ctor_set(x_29, 2, x_23); -lean_ctor_set(x_29, 3, x_24); -lean_ctor_set_uint8(x_29, sizeof(void*)*4, x_28); -return x_29; +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; +x_235 = lean_ctor_get(x_203, 1); +x_236 = lean_ctor_get(x_203, 2); +lean_inc(x_236); +lean_inc(x_235); +lean_dec(x_203); +x_237 = lean_ctor_get(x_206, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_206, 1); +lean_inc(x_238); +x_239 = lean_ctor_get(x_206, 2); +lean_inc(x_239); +x_240 = lean_ctor_get(x_206, 3); +lean_inc(x_240); +if (lean_is_exclusive(x_206)) { + lean_ctor_release(x_206, 0); + lean_ctor_release(x_206, 1); + lean_ctor_release(x_206, 2); + lean_ctor_release(x_206, 3); + x_241 = x_206; +} else { + lean_dec_ref(x_206); + x_241 = lean_box(0); } -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_21); -x_31 = l_Lean_RBNode_balLeft___rarg(x_30, x_22, x_23, x_24); -return x_31; +x_242 = 1; +if (lean_is_scalar(x_241)) { + x_243 = lean_alloc_ctor(1, 4, 1); +} else { + x_243 = x_241; } +lean_ctor_set(x_243, 0, x_205); +lean_ctor_set(x_243, 1, x_235); +lean_ctor_set(x_243, 2, x_236); +lean_ctor_set(x_243, 3, x_237); +lean_ctor_set_uint8(x_243, sizeof(void*)*4, x_242); +x_244 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_244, 0, x_240); +lean_ctor_set(x_244, 1, x_43); +lean_ctor_set(x_244, 2, x_44); +lean_ctor_set(x_244, 3, x_45); +lean_ctor_set_uint8(x_244, sizeof(void*)*4, x_242); +x_245 = 0; +lean_ctor_set(x_1, 3, x_244); +lean_ctor_set(x_1, 2, x_239); +lean_ctor_set(x_1, 1, x_238); +lean_ctor_set(x_1, 0, x_243); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_245); +return x_1; } -case 1: -{ -lean_object* x_32; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_1); -x_32 = l_Lean_RBNode_appendTrees___rarg(x_21, x_24); -return x_32; } -default: +else { -uint8_t x_33; -x_33 = l_Lean_RBNode_isBlack___rarg(x_24); -if (x_33 == 0) +uint8_t x_246; +lean_free_object(x_1); +x_246 = !lean_is_exclusive(x_206); +if (x_246 == 0) { -lean_object* x_34; uint8_t x_35; lean_object* x_36; -x_34 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_24); -x_35 = 0; -x_36 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_36, 0, x_21); -lean_ctor_set(x_36, 1, x_22); -lean_ctor_set(x_36, 2, x_23); -lean_ctor_set(x_36, 3, x_34); -lean_ctor_set_uint8(x_36, sizeof(void*)*4, x_35); -return x_36; +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; +x_247 = lean_ctor_get(x_206, 3); +lean_dec(x_247); +x_248 = lean_ctor_get(x_206, 2); +lean_dec(x_248); +x_249 = lean_ctor_get(x_206, 1); +lean_dec(x_249); +x_250 = lean_ctor_get(x_206, 0); +lean_dec(x_250); +x_251 = 1; +lean_ctor_set(x_206, 3, x_45); +lean_ctor_set(x_206, 2, x_44); +lean_ctor_set(x_206, 1, x_43); +lean_ctor_set(x_206, 0, x_203); +lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_251); +return x_206; } else { -lean_object* x_37; lean_object* x_38; -x_37 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_24); -x_38 = l_Lean_RBNode_balRight___rarg(x_21, x_22, x_23, x_37); -return x_38; -} -} -} +uint8_t x_252; lean_object* x_253; +lean_dec(x_206); +x_252 = 1; +x_253 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_253, 0, x_203); +lean_ctor_set(x_253, 1, x_43); +lean_ctor_set(x_253, 2, x_44); +lean_ctor_set(x_253, 3, x_45); +lean_ctor_set_uint8(x_253, sizeof(void*)*4, x_252); +return x_253; } } } } -LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Server_FileWorker_handleCancelRequest___spec__1(lean_object* x_1, lean_object* x_2) { -_start: +else { -lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_RBNode_del___at_Lean_Server_FileWorker_handleCancelRequest___spec__2(x_1, x_2); -x_4 = l_Lean_RBNode_setBlack___rarg(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCancelRequest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +uint8_t x_254; +x_254 = lean_ctor_get_uint8(x_205, sizeof(void*)*4); +if (x_254 == 0) { -lean_object* x_5; lean_object* x_6; -x_5 = lean_alloc_closure((void*)(l_Lean_RBNode_erase___at_Lean_Server_FileWorker_handleCancelRequest___spec__1), 2, 1); -lean_closure_set(x_5, 0, x_1); -x_6 = l_Lean_Server_FileWorker_updatePendingRequests(x_5, x_2, x_3, x_4); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleCancelRequest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +uint8_t x_255; +x_255 = !lean_is_exclusive(x_203); +if (x_255 == 0) { -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_handleCancelRequest(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { -_start: +lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; +x_256 = lean_ctor_get(x_203, 1); +x_257 = lean_ctor_get(x_203, 2); +x_258 = lean_ctor_get(x_203, 3); +x_259 = lean_ctor_get(x_203, 0); +lean_dec(x_259); +x_260 = !lean_is_exclusive(x_205); +if (x_260 == 0) { -uint8_t x_6; -x_6 = lean_usize_dec_lt(x_3, x_2); -if (x_6 == 0) +uint8_t x_261; uint8_t x_262; +x_261 = 1; +lean_ctor_set_uint8(x_205, sizeof(void*)*4, x_261); +lean_ctor_set(x_203, 3, x_45); +lean_ctor_set(x_203, 2, x_44); +lean_ctor_set(x_203, 1, x_43); +lean_ctor_set(x_203, 0, x_258); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_261); +x_262 = 0; +lean_ctor_set(x_1, 3, x_203); +lean_ctor_set(x_1, 2, x_257); +lean_ctor_set(x_1, 1, x_256); +lean_ctor_set(x_1, 0, x_205); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_262); +return x_1; +} +else { -lean_object* x_7; -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_4); -lean_ctor_set(x_7, 1, x_5); -return x_7; +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; lean_object* x_268; uint8_t x_269; +x_263 = lean_ctor_get(x_205, 0); +x_264 = lean_ctor_get(x_205, 1); +x_265 = lean_ctor_get(x_205, 2); +x_266 = lean_ctor_get(x_205, 3); +lean_inc(x_266); +lean_inc(x_265); +lean_inc(x_264); +lean_inc(x_263); +lean_dec(x_205); +x_267 = 1; +x_268 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_268, 0, x_263); +lean_ctor_set(x_268, 1, x_264); +lean_ctor_set(x_268, 2, x_265); +lean_ctor_set(x_268, 3, x_266); +lean_ctor_set_uint8(x_268, sizeof(void*)*4, x_267); +lean_ctor_set(x_203, 3, x_45); +lean_ctor_set(x_203, 2, x_44); +lean_ctor_set(x_203, 1, x_43); +lean_ctor_set(x_203, 0, x_258); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_267); +x_269 = 0; +lean_ctor_set(x_1, 3, x_203); +lean_ctor_set(x_1, 2, x_257); +lean_ctor_set(x_1, 1, x_256); +lean_ctor_set(x_1, 0, x_268); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_269); +return x_1; +} } else { -lean_object* x_8; size_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; -lean_dec(x_4); -x_8 = lean_array_uget(x_1, x_3); -x_9 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_10 = l_Lean_Server_rpcReleaseRef(x_9, x_5); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = 1; -x_13 = lean_usize_add(x_3, x_12); -x_14 = lean_box(0); -x_3 = x_13; -x_4 = x_14; -x_5 = x_11; -goto _start; +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; lean_object* x_279; lean_object* x_280; uint8_t x_281; +x_270 = lean_ctor_get(x_203, 1); +x_271 = lean_ctor_get(x_203, 2); +x_272 = lean_ctor_get(x_203, 3); +lean_inc(x_272); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_203); +x_273 = lean_ctor_get(x_205, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_205, 1); +lean_inc(x_274); +x_275 = lean_ctor_get(x_205, 2); +lean_inc(x_275); +x_276 = lean_ctor_get(x_205, 3); +lean_inc(x_276); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + lean_ctor_release(x_205, 2); + lean_ctor_release(x_205, 3); + x_277 = x_205; +} else { + lean_dec_ref(x_205); + x_277 = lean_box(0); } +x_278 = 1; +if (lean_is_scalar(x_277)) { + x_279 = lean_alloc_ctor(1, 4, 1); +} else { + x_279 = x_277; } +lean_ctor_set(x_279, 0, x_273); +lean_ctor_set(x_279, 1, x_274); +lean_ctor_set(x_279, 2, x_275); +lean_ctor_set(x_279, 3, x_276); +lean_ctor_set_uint8(x_279, sizeof(void*)*4, x_278); +x_280 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_280, 0, x_272); +lean_ctor_set(x_280, 1, x_43); +lean_ctor_set(x_280, 2, x_44); +lean_ctor_set(x_280, 3, x_45); +lean_ctor_set_uint8(x_280, sizeof(void*)*4, x_278); +x_281 = 0; +lean_ctor_set(x_1, 3, x_280); +lean_ctor_set(x_1, 2, x_271); +lean_ctor_set(x_1, 1, x_270); +lean_ctor_set(x_1, 0, x_279); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_281); +return x_1; } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcRelease(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint64_t x_10; lean_object* x_11; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -x_9 = lean_ctor_get(x_7, 3); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_11 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; -x_12 = lean_box(0); -lean_ctor_set(x_5, 0, x_12); -return x_5; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -lean_free_object(x_5); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_io_mono_ms_now(x_8); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_ctor_get(x_1, 1); -x_18 = lean_array_get_size(x_17); -x_19 = lean_usize_of_nat(x_18); -lean_dec(x_18); -x_20 = 0; -x_21 = lean_st_ref_take(x_13, x_16); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_box(0); -x_26 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(x_17, x_19, x_20, x_25, x_24); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = l_Lean_Server_FileWorker_RpcSession_keepAliveTimeMs; -x_29 = lean_nat_add(x_15, x_28); -lean_dec(x_15); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_27); -lean_ctor_set(x_30, 1, x_29); -x_31 = lean_st_ref_set(x_13, x_30, x_23); -lean_dec(x_13); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +lean_object* x_282; +x_282 = lean_ctor_get(x_203, 3); +lean_inc(x_282); +if (lean_obj_tag(x_282) == 0) { -return x_31; +uint8_t x_283; +lean_free_object(x_1); +x_283 = !lean_is_exclusive(x_205); +if (x_283 == 0) +{ +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; uint8_t x_288; +x_284 = lean_ctor_get(x_205, 3); +lean_dec(x_284); +x_285 = lean_ctor_get(x_205, 2); +lean_dec(x_285); +x_286 = lean_ctor_get(x_205, 1); +lean_dec(x_286); +x_287 = lean_ctor_get(x_205, 0); +lean_dec(x_287); +x_288 = 1; +lean_ctor_set(x_205, 3, x_45); +lean_ctor_set(x_205, 2, x_44); +lean_ctor_set(x_205, 1, x_43); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set_uint8(x_205, sizeof(void*)*4, x_288); +return x_205; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_31, 0); -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_31); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; -} +uint8_t x_289; lean_object* x_290; +lean_dec(x_205); +x_289 = 1; +x_290 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_290, 0, x_203); +lean_ctor_set(x_290, 1, x_43); +lean_ctor_set(x_290, 2, x_44); +lean_ctor_set(x_290, 3, x_45); +lean_ctor_set_uint8(x_290, sizeof(void*)*4, x_289); +return x_290; } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; uint64_t x_39; lean_object* x_40; -x_36 = lean_ctor_get(x_5, 0); -x_37 = lean_ctor_get(x_5, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_5); -x_38 = lean_ctor_get(x_36, 3); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_40 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_38, x_39); -if (lean_obj_tag(x_40) == 0) +uint8_t x_291; +x_291 = lean_ctor_get_uint8(x_282, sizeof(void*)*4); +if (x_291 == 0) { -lean_object* x_41; lean_object* x_42; -x_41 = lean_box(0); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_37); -return x_42; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_43 = lean_ctor_get(x_40, 0); -lean_inc(x_43); -lean_dec(x_40); -x_44 = lean_io_mono_ms_now(x_37); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = lean_ctor_get(x_1, 1); -x_48 = lean_array_get_size(x_47); -x_49 = lean_usize_of_nat(x_48); -lean_dec(x_48); -x_50 = 0; -x_51 = lean_st_ref_take(x_43, x_46); -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_ctor_get(x_52, 0); -lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_box(0); -x_56 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(x_47, x_49, x_50, x_55, x_54); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_58 = l_Lean_Server_FileWorker_RpcSession_keepAliveTimeMs; -x_59 = lean_nat_add(x_45, x_58); -lean_dec(x_45); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_57); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_st_ref_set(x_43, x_60, x_53); -lean_dec(x_43); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - lean_ctor_release(x_61, 1); - x_64 = x_61; -} else { - lean_dec_ref(x_61); - x_64 = lean_box(0); -} -if (lean_is_scalar(x_64)) { - x_65 = lean_alloc_ctor(0, 2, 0); -} else { - x_65 = x_64; -} -lean_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_63); -return x_65; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_7 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_8 = l_Array_forInUnsafe_loop___at_Lean_Server_FileWorker_handleRpcRelease___spec__1(x_1, x_6, x_7, x_4, x_5); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcRelease___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_handleRpcRelease(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcKeepAlive(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_st_ref_get(x_3, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; uint64_t x_10; lean_object* x_11; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_5, 1); -x_9 = lean_ctor_get(x_7, 3); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -x_11 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; -x_12 = lean_box(0); -lean_ctor_set(x_5, 0, x_12); -return x_5; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -lean_free_object(x_5); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_io_mono_ms_now(x_8); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_st_ref_take(x_13, x_16); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Lean_Server_FileWorker_RpcSession_keptAlive(x_15, x_18); -lean_dec(x_15); -x_21 = lean_st_ref_set(x_13, x_20, x_19); -lean_dec(x_13); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -return x_21; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_21); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -return x_25; -} -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint64_t x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_5, 0); -x_27 = lean_ctor_get(x_5, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_5); -x_28 = lean_ctor_get(x_26, 3); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); -x_30 = l_Lean_RBNode_find___at_Lean_Server_wrapRpcProcedure___elambda__1___spec__1(x_28, x_29); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_box(0); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_27); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_33 = lean_ctor_get(x_30, 0); -lean_inc(x_33); -lean_dec(x_30); -x_34 = lean_io_mono_ms_now(x_27); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); -lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_st_ref_take(x_33, x_36); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); -lean_dec(x_37); -x_40 = l_Lean_Server_FileWorker_RpcSession_keptAlive(x_35, x_38); -lean_dec(x_35); -x_41 = lean_st_ref_set(x_33, x_40, x_39); -lean_dec(x_33); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - x_44 = x_41; -} else { - lean_dec_ref(x_41); - x_44 = lean_box(0); -} -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(0, 2, 0); -} else { - x_45 = x_44; -} -lean_ctor_set(x_45, 0, x_42); -lean_ctor_set(x_45, 1, x_43); -return x_45; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcKeepAlive___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_handleRpcKeepAlive(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(lean_object* x_1, uint64_t x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_box(0); -x_5 = 0; -x_6 = lean_box_uint64(x_2); -x_7 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_7, 0, x_4); -lean_ctor_set(x_7, 1, x_6); -lean_ctor_set(x_7, 2, x_3); -lean_ctor_set(x_7, 3, x_4); -lean_ctor_set_uint8(x_7, sizeof(void*)*4, x_5); -return x_7; -} -else -{ -uint8_t x_8; -x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); -if (x_8 == 0) -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_1); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint64_t x_14; uint8_t x_15; -x_10 = lean_ctor_get(x_1, 0); -x_11 = lean_ctor_get(x_1, 1); -x_12 = lean_ctor_get(x_1, 2); -x_13 = lean_ctor_get(x_1, 3); -x_14 = lean_unbox_uint64(x_11); -x_15 = lean_uint64_dec_lt(x_2, x_14); -if (x_15 == 0) -{ -uint64_t x_16; uint8_t x_17; -x_16 = lean_unbox_uint64(x_11); -x_17 = lean_uint64_dec_eq(x_2, x_16); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -x_18 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_13, x_2, x_3); -x_19 = 0; -lean_ctor_set(x_1, 3, x_18); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_19); -return x_1; -} -else -{ -uint8_t x_20; lean_object* x_21; -lean_dec(x_12); -lean_dec(x_11); -x_20 = 0; -x_21 = lean_box_uint64(x_2); -lean_ctor_set(x_1, 2, x_3); -lean_ctor_set(x_1, 1, x_21); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_20); -return x_1; -} -} -else -{ -lean_object* x_22; uint8_t x_23; -x_22 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_10, x_2, x_3); -x_23 = 0; -lean_ctor_set(x_1, 0, x_22); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_23); -return x_1; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint64_t x_28; uint8_t x_29; -x_24 = lean_ctor_get(x_1, 0); -x_25 = lean_ctor_get(x_1, 1); -x_26 = lean_ctor_get(x_1, 2); -x_27 = lean_ctor_get(x_1, 3); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_1); -x_28 = lean_unbox_uint64(x_25); -x_29 = lean_uint64_dec_lt(x_2, x_28); -if (x_29 == 0) -{ -uint64_t x_30; uint8_t x_31; -x_30 = lean_unbox_uint64(x_25); -x_31 = lean_uint64_dec_eq(x_2, x_30); -if (x_31 == 0) -{ -lean_object* x_32; uint8_t x_33; lean_object* x_34; -x_32 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_27, x_2, x_3); -x_33 = 0; -x_34 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_34, 0, x_24); -lean_ctor_set(x_34, 1, x_25); -lean_ctor_set(x_34, 2, x_26); -lean_ctor_set(x_34, 3, x_32); -lean_ctor_set_uint8(x_34, sizeof(void*)*4, x_33); -return x_34; -} -else -{ -uint8_t x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_26); -lean_dec(x_25); -x_35 = 0; -x_36 = lean_box_uint64(x_2); -x_37 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_37, 0, x_24); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 2, x_3); -lean_ctor_set(x_37, 3, x_27); -lean_ctor_set_uint8(x_37, sizeof(void*)*4, x_35); -return x_37; -} -} -else -{ -lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_38 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_24, x_2, x_3); -x_39 = 0; -x_40 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_25); -lean_ctor_set(x_40, 2, x_26); -lean_ctor_set(x_40, 3, x_27); -lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_39); -return x_40; -} -} -} -else -{ -uint8_t x_41; -x_41 = !lean_is_exclusive(x_1); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint64_t x_46; uint8_t x_47; -x_42 = lean_ctor_get(x_1, 0); -x_43 = lean_ctor_get(x_1, 1); -x_44 = lean_ctor_get(x_1, 2); -x_45 = lean_ctor_get(x_1, 3); -x_46 = lean_unbox_uint64(x_43); -x_47 = lean_uint64_dec_lt(x_2, x_46); -if (x_47 == 0) -{ -uint64_t x_48; uint8_t x_49; -x_48 = lean_unbox_uint64(x_43); -x_49 = lean_uint64_dec_eq(x_2, x_48); -if (x_49 == 0) -{ -lean_object* x_50; uint8_t x_51; -x_50 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_45, x_2, x_3); -x_51 = lean_ctor_get_uint8(x_50, sizeof(void*)*4); -if (x_51 == 0) -{ -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_inc(x_52); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; -x_53 = lean_ctor_get(x_50, 3); -lean_inc(x_53); -if (lean_obj_tag(x_53) == 0) -{ -uint8_t x_54; -x_54 = !lean_is_exclusive(x_50); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_55 = lean_ctor_get(x_50, 3); -lean_dec(x_55); -x_56 = lean_ctor_get(x_50, 0); -lean_dec(x_56); -lean_ctor_set(x_50, 0, x_53); -x_57 = 1; -lean_ctor_set(x_1, 3, x_50); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_57); -return x_1; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_58 = lean_ctor_get(x_50, 1); -x_59 = lean_ctor_get(x_50, 2); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_50); -x_60 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_60, 0, x_53); -lean_ctor_set(x_60, 1, x_58); -lean_ctor_set(x_60, 2, x_59); -lean_ctor_set(x_60, 3, x_53); -lean_ctor_set_uint8(x_60, sizeof(void*)*4, x_51); -x_61 = 1; -lean_ctor_set(x_1, 3, x_60); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_61); -return x_1; -} -} -else -{ -uint8_t x_62; -x_62 = lean_ctor_get_uint8(x_53, sizeof(void*)*4); -if (x_62 == 0) -{ -uint8_t x_63; -x_63 = !lean_is_exclusive(x_50); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_64 = lean_ctor_get(x_50, 1); -x_65 = lean_ctor_get(x_50, 2); -x_66 = lean_ctor_get(x_50, 3); -lean_dec(x_66); -x_67 = lean_ctor_get(x_50, 0); -lean_dec(x_67); -x_68 = !lean_is_exclusive(x_53); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; uint8_t x_74; -x_69 = lean_ctor_get(x_53, 0); -x_70 = lean_ctor_get(x_53, 1); -x_71 = lean_ctor_get(x_53, 2); -x_72 = lean_ctor_get(x_53, 3); -x_73 = 1; -lean_ctor_set(x_53, 3, x_52); -lean_ctor_set(x_53, 2, x_44); -lean_ctor_set(x_53, 1, x_43); -lean_ctor_set(x_53, 0, x_42); -lean_ctor_set_uint8(x_53, sizeof(void*)*4, x_73); -lean_ctor_set(x_50, 3, x_72); -lean_ctor_set(x_50, 2, x_71); -lean_ctor_set(x_50, 1, x_70); -lean_ctor_set(x_50, 0, x_69); -lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_73); -x_74 = 0; -lean_ctor_set(x_1, 3, x_50); -lean_ctor_set(x_1, 2, x_65); -lean_ctor_set(x_1, 1, x_64); -lean_ctor_set(x_1, 0, x_53); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_74); -return x_1; -} -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; uint8_t x_81; -x_75 = lean_ctor_get(x_53, 0); -x_76 = lean_ctor_get(x_53, 1); -x_77 = lean_ctor_get(x_53, 2); -x_78 = lean_ctor_get(x_53, 3); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_53); -x_79 = 1; -x_80 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_80, 0, x_42); -lean_ctor_set(x_80, 1, x_43); -lean_ctor_set(x_80, 2, x_44); -lean_ctor_set(x_80, 3, x_52); -lean_ctor_set_uint8(x_80, sizeof(void*)*4, x_79); -lean_ctor_set(x_50, 3, x_78); -lean_ctor_set(x_50, 2, x_77); -lean_ctor_set(x_50, 1, x_76); -lean_ctor_set(x_50, 0, x_75); -lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_79); -x_81 = 0; -lean_ctor_set(x_1, 3, x_50); -lean_ctor_set(x_1, 2, x_65); -lean_ctor_set(x_1, 1, x_64); -lean_ctor_set(x_1, 0, x_80); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_81); -return x_1; -} -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_82 = lean_ctor_get(x_50, 1); -x_83 = lean_ctor_get(x_50, 2); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_50); -x_84 = lean_ctor_get(x_53, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_53, 1); -lean_inc(x_85); -x_86 = lean_ctor_get(x_53, 2); -lean_inc(x_86); -x_87 = lean_ctor_get(x_53, 3); -lean_inc(x_87); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - lean_ctor_release(x_53, 2); - lean_ctor_release(x_53, 3); - x_88 = x_53; -} else { - lean_dec_ref(x_53); - x_88 = lean_box(0); -} -x_89 = 1; -if (lean_is_scalar(x_88)) { - x_90 = lean_alloc_ctor(1, 4, 1); -} else { - x_90 = x_88; -} -lean_ctor_set(x_90, 0, x_42); -lean_ctor_set(x_90, 1, x_43); -lean_ctor_set(x_90, 2, x_44); -lean_ctor_set(x_90, 3, x_52); -lean_ctor_set_uint8(x_90, sizeof(void*)*4, x_89); -x_91 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_91, 0, x_84); -lean_ctor_set(x_91, 1, x_85); -lean_ctor_set(x_91, 2, x_86); -lean_ctor_set(x_91, 3, x_87); -lean_ctor_set_uint8(x_91, sizeof(void*)*4, x_89); -x_92 = 0; -lean_ctor_set(x_1, 3, x_91); -lean_ctor_set(x_1, 2, x_83); -lean_ctor_set(x_1, 1, x_82); -lean_ctor_set(x_1, 0, x_90); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_92); -return x_1; -} -} -else -{ -uint8_t x_93; -lean_free_object(x_1); -x_93 = !lean_is_exclusive(x_53); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_94 = lean_ctor_get(x_53, 3); -lean_dec(x_94); -x_95 = lean_ctor_get(x_53, 2); -lean_dec(x_95); -x_96 = lean_ctor_get(x_53, 1); -lean_dec(x_96); -x_97 = lean_ctor_get(x_53, 0); -lean_dec(x_97); -x_98 = 1; -lean_ctor_set(x_53, 3, x_50); -lean_ctor_set(x_53, 2, x_44); -lean_ctor_set(x_53, 1, x_43); -lean_ctor_set(x_53, 0, x_42); -lean_ctor_set_uint8(x_53, sizeof(void*)*4, x_98); -return x_53; -} -else -{ -uint8_t x_99; lean_object* x_100; -lean_dec(x_53); -x_99 = 1; -x_100 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_100, 0, x_42); -lean_ctor_set(x_100, 1, x_43); -lean_ctor_set(x_100, 2, x_44); -lean_ctor_set(x_100, 3, x_50); -lean_ctor_set_uint8(x_100, sizeof(void*)*4, x_99); -return x_100; -} -} -} -} -else -{ -uint8_t x_101; -x_101 = lean_ctor_get_uint8(x_52, sizeof(void*)*4); -if (x_101 == 0) -{ -uint8_t x_102; -x_102 = !lean_is_exclusive(x_50); -if (x_102 == 0) -{ -lean_object* x_103; uint8_t x_104; -x_103 = lean_ctor_get(x_50, 0); -lean_dec(x_103); -x_104 = !lean_is_exclusive(x_52); -if (x_104 == 0) -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; uint8_t x_110; -x_105 = lean_ctor_get(x_52, 0); -x_106 = lean_ctor_get(x_52, 1); -x_107 = lean_ctor_get(x_52, 2); -x_108 = lean_ctor_get(x_52, 3); -x_109 = 1; -lean_ctor_set(x_52, 3, x_105); -lean_ctor_set(x_52, 2, x_44); -lean_ctor_set(x_52, 1, x_43); -lean_ctor_set(x_52, 0, x_42); -lean_ctor_set_uint8(x_52, sizeof(void*)*4, x_109); -lean_ctor_set(x_50, 0, x_108); -lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_109); -x_110 = 0; -lean_ctor_set(x_1, 3, x_50); -lean_ctor_set(x_1, 2, x_107); -lean_ctor_set(x_1, 1, x_106); -lean_ctor_set(x_1, 0, x_52); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_110); -return x_1; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; uint8_t x_117; -x_111 = lean_ctor_get(x_52, 0); -x_112 = lean_ctor_get(x_52, 1); -x_113 = lean_ctor_get(x_52, 2); -x_114 = lean_ctor_get(x_52, 3); -lean_inc(x_114); -lean_inc(x_113); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_52); -x_115 = 1; -x_116 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_116, 0, x_42); -lean_ctor_set(x_116, 1, x_43); -lean_ctor_set(x_116, 2, x_44); -lean_ctor_set(x_116, 3, x_111); -lean_ctor_set_uint8(x_116, sizeof(void*)*4, x_115); -lean_ctor_set(x_50, 0, x_114); -lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_115); -x_117 = 0; -lean_ctor_set(x_1, 3, x_50); -lean_ctor_set(x_1, 2, x_113); -lean_ctor_set(x_1, 1, x_112); -lean_ctor_set(x_1, 0, x_116); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_117); -return x_1; -} -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; -x_118 = lean_ctor_get(x_50, 1); -x_119 = lean_ctor_get(x_50, 2); -x_120 = lean_ctor_get(x_50, 3); -lean_inc(x_120); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_50); -x_121 = lean_ctor_get(x_52, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_52, 1); -lean_inc(x_122); -x_123 = lean_ctor_get(x_52, 2); -lean_inc(x_123); -x_124 = lean_ctor_get(x_52, 3); -lean_inc(x_124); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_125 = x_52; -} else { - lean_dec_ref(x_52); - x_125 = lean_box(0); -} -x_126 = 1; -if (lean_is_scalar(x_125)) { - x_127 = lean_alloc_ctor(1, 4, 1); -} else { - x_127 = x_125; -} -lean_ctor_set(x_127, 0, x_42); -lean_ctor_set(x_127, 1, x_43); -lean_ctor_set(x_127, 2, x_44); -lean_ctor_set(x_127, 3, x_121); -lean_ctor_set_uint8(x_127, sizeof(void*)*4, x_126); -x_128 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_128, 0, x_124); -lean_ctor_set(x_128, 1, x_118); -lean_ctor_set(x_128, 2, x_119); -lean_ctor_set(x_128, 3, x_120); -lean_ctor_set_uint8(x_128, sizeof(void*)*4, x_126); -x_129 = 0; -lean_ctor_set(x_1, 3, x_128); -lean_ctor_set(x_1, 2, x_123); -lean_ctor_set(x_1, 1, x_122); -lean_ctor_set(x_1, 0, x_127); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_129); -return x_1; -} -} -else -{ -lean_object* x_130; -x_130 = lean_ctor_get(x_50, 3); -lean_inc(x_130); -if (lean_obj_tag(x_130) == 0) -{ -uint8_t x_131; -lean_free_object(x_1); -x_131 = !lean_is_exclusive(x_52); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_132 = lean_ctor_get(x_52, 3); -lean_dec(x_132); -x_133 = lean_ctor_get(x_52, 2); -lean_dec(x_133); -x_134 = lean_ctor_get(x_52, 1); -lean_dec(x_134); -x_135 = lean_ctor_get(x_52, 0); -lean_dec(x_135); -x_136 = 1; -lean_ctor_set(x_52, 3, x_50); -lean_ctor_set(x_52, 2, x_44); -lean_ctor_set(x_52, 1, x_43); -lean_ctor_set(x_52, 0, x_42); -lean_ctor_set_uint8(x_52, sizeof(void*)*4, x_136); -return x_52; -} -else -{ -uint8_t x_137; lean_object* x_138; -lean_dec(x_52); -x_137 = 1; -x_138 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_138, 0, x_42); -lean_ctor_set(x_138, 1, x_43); -lean_ctor_set(x_138, 2, x_44); -lean_ctor_set(x_138, 3, x_50); -lean_ctor_set_uint8(x_138, sizeof(void*)*4, x_137); -return x_138; -} -} -else -{ -uint8_t x_139; -x_139 = lean_ctor_get_uint8(x_130, sizeof(void*)*4); -if (x_139 == 0) -{ -uint8_t x_140; +uint8_t x_292; lean_free_object(x_1); -x_140 = !lean_is_exclusive(x_50); -if (x_140 == 0) +x_292 = !lean_is_exclusive(x_203); +if (x_292 == 0) { -lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_141 = lean_ctor_get(x_50, 3); -lean_dec(x_141); -x_142 = lean_ctor_get(x_50, 0); -lean_dec(x_142); -x_143 = !lean_is_exclusive(x_130); -if (x_143 == 0) +lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; +x_293 = lean_ctor_get(x_203, 1); +x_294 = lean_ctor_get(x_203, 2); +x_295 = lean_ctor_get(x_203, 3); +lean_dec(x_295); +x_296 = lean_ctor_get(x_203, 0); +lean_dec(x_296); +x_297 = !lean_is_exclusive(x_282); +if (x_297 == 0) { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t x_148; uint8_t x_149; -x_144 = lean_ctor_get(x_130, 0); -x_145 = lean_ctor_get(x_130, 1); -x_146 = lean_ctor_get(x_130, 2); -x_147 = lean_ctor_get(x_130, 3); -x_148 = 1; -lean_inc(x_52); -lean_ctor_set(x_130, 3, x_52); -lean_ctor_set(x_130, 2, x_44); -lean_ctor_set(x_130, 1, x_43); -lean_ctor_set(x_130, 0, x_42); -x_149 = !lean_is_exclusive(x_52); -if (x_149 == 0) +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; uint8_t x_303; +x_298 = lean_ctor_get(x_282, 0); +x_299 = lean_ctor_get(x_282, 1); +x_300 = lean_ctor_get(x_282, 2); +x_301 = lean_ctor_get(x_282, 3); +x_302 = 1; +lean_inc(x_205); +lean_ctor_set(x_282, 3, x_298); +lean_ctor_set(x_282, 2, x_294); +lean_ctor_set(x_282, 1, x_293); +lean_ctor_set(x_282, 0, x_205); +x_303 = !lean_is_exclusive(x_205); +if (x_303 == 0) { -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; -x_150 = lean_ctor_get(x_52, 3); -lean_dec(x_150); -x_151 = lean_ctor_get(x_52, 2); -lean_dec(x_151); -x_152 = lean_ctor_get(x_52, 1); -lean_dec(x_152); -x_153 = lean_ctor_get(x_52, 0); -lean_dec(x_153); -lean_ctor_set_uint8(x_130, sizeof(void*)*4, x_148); -lean_ctor_set(x_52, 3, x_147); -lean_ctor_set(x_52, 2, x_146); -lean_ctor_set(x_52, 1, x_145); -lean_ctor_set(x_52, 0, x_144); -lean_ctor_set_uint8(x_52, sizeof(void*)*4, x_148); -x_154 = 0; -lean_ctor_set(x_50, 3, x_52); -lean_ctor_set(x_50, 0, x_130); -lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_154); -return x_50; +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; +x_304 = lean_ctor_get(x_205, 3); +lean_dec(x_304); +x_305 = lean_ctor_get(x_205, 2); +lean_dec(x_305); +x_306 = lean_ctor_get(x_205, 1); +lean_dec(x_306); +x_307 = lean_ctor_get(x_205, 0); +lean_dec(x_307); +lean_ctor_set_uint8(x_282, sizeof(void*)*4, x_302); +lean_ctor_set(x_205, 3, x_45); +lean_ctor_set(x_205, 2, x_44); +lean_ctor_set(x_205, 1, x_43); +lean_ctor_set(x_205, 0, x_301); +lean_ctor_set_uint8(x_205, sizeof(void*)*4, x_302); +x_308 = 0; +lean_ctor_set(x_203, 3, x_205); +lean_ctor_set(x_203, 2, x_300); +lean_ctor_set(x_203, 1, x_299); +lean_ctor_set(x_203, 0, x_282); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_308); +return x_203; } else { -lean_object* x_155; uint8_t x_156; -lean_dec(x_52); -lean_ctor_set_uint8(x_130, sizeof(void*)*4, x_148); -x_155 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_155, 0, x_144); -lean_ctor_set(x_155, 1, x_145); -lean_ctor_set(x_155, 2, x_146); -lean_ctor_set(x_155, 3, x_147); -lean_ctor_set_uint8(x_155, sizeof(void*)*4, x_148); -x_156 = 0; -lean_ctor_set(x_50, 3, x_155); -lean_ctor_set(x_50, 0, x_130); -lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_156); -return x_50; +lean_object* x_309; uint8_t x_310; +lean_dec(x_205); +lean_ctor_set_uint8(x_282, sizeof(void*)*4, x_302); +x_309 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_309, 0, x_301); +lean_ctor_set(x_309, 1, x_43); +lean_ctor_set(x_309, 2, x_44); +lean_ctor_set(x_309, 3, x_45); +lean_ctor_set_uint8(x_309, sizeof(void*)*4, x_302); +x_310 = 0; +lean_ctor_set(x_203, 3, x_309); +lean_ctor_set(x_203, 2, x_300); +lean_ctor_set(x_203, 1, x_299); +lean_ctor_set(x_203, 0, x_282); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_310); +return x_203; } } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; -x_157 = lean_ctor_get(x_130, 0); -x_158 = lean_ctor_get(x_130, 1); -x_159 = lean_ctor_get(x_130, 2); -x_160 = lean_ctor_get(x_130, 3); -lean_inc(x_160); -lean_inc(x_159); -lean_inc(x_158); -lean_inc(x_157); -lean_dec(x_130); -x_161 = 1; -lean_inc(x_52); -x_162 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_162, 0, x_42); -lean_ctor_set(x_162, 1, x_43); -lean_ctor_set(x_162, 2, x_44); -lean_ctor_set(x_162, 3, x_52); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_163 = x_52; +lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; uint8_t x_319; +x_311 = lean_ctor_get(x_282, 0); +x_312 = lean_ctor_get(x_282, 1); +x_313 = lean_ctor_get(x_282, 2); +x_314 = lean_ctor_get(x_282, 3); +lean_inc(x_314); +lean_inc(x_313); +lean_inc(x_312); +lean_inc(x_311); +lean_dec(x_282); +x_315 = 1; +lean_inc(x_205); +x_316 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_316, 0, x_205); +lean_ctor_set(x_316, 1, x_293); +lean_ctor_set(x_316, 2, x_294); +lean_ctor_set(x_316, 3, x_311); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + lean_ctor_release(x_205, 2); + lean_ctor_release(x_205, 3); + x_317 = x_205; } else { - lean_dec_ref(x_52); - x_163 = lean_box(0); + lean_dec_ref(x_205); + x_317 = lean_box(0); } -lean_ctor_set_uint8(x_162, sizeof(void*)*4, x_161); -if (lean_is_scalar(x_163)) { - x_164 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set_uint8(x_316, sizeof(void*)*4, x_315); +if (lean_is_scalar(x_317)) { + x_318 = lean_alloc_ctor(1, 4, 1); } else { - x_164 = x_163; + x_318 = x_317; } -lean_ctor_set(x_164, 0, x_157); -lean_ctor_set(x_164, 1, x_158); -lean_ctor_set(x_164, 2, x_159); -lean_ctor_set(x_164, 3, x_160); -lean_ctor_set_uint8(x_164, sizeof(void*)*4, x_161); -x_165 = 0; -lean_ctor_set(x_50, 3, x_164); -lean_ctor_set(x_50, 0, x_162); -lean_ctor_set_uint8(x_50, sizeof(void*)*4, x_165); -return x_50; +lean_ctor_set(x_318, 0, x_314); +lean_ctor_set(x_318, 1, x_43); +lean_ctor_set(x_318, 2, x_44); +lean_ctor_set(x_318, 3, x_45); +lean_ctor_set_uint8(x_318, sizeof(void*)*4, x_315); +x_319 = 0; +lean_ctor_set(x_203, 3, x_318); +lean_ctor_set(x_203, 2, x_313); +lean_ctor_set(x_203, 1, x_312); +lean_ctor_set(x_203, 0, x_316); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_319); +return x_203; } } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; -x_166 = lean_ctor_get(x_50, 1); -x_167 = lean_ctor_get(x_50, 2); -lean_inc(x_167); -lean_inc(x_166); -lean_dec(x_50); -x_168 = lean_ctor_get(x_130, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_130, 1); -lean_inc(x_169); -x_170 = lean_ctor_get(x_130, 2); -lean_inc(x_170); -x_171 = lean_ctor_get(x_130, 3); -lean_inc(x_171); -if (lean_is_exclusive(x_130)) { - lean_ctor_release(x_130, 0); - lean_ctor_release(x_130, 1); - lean_ctor_release(x_130, 2); - lean_ctor_release(x_130, 3); - x_172 = x_130; +lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; lean_object* x_332; +x_320 = lean_ctor_get(x_203, 1); +x_321 = lean_ctor_get(x_203, 2); +lean_inc(x_321); +lean_inc(x_320); +lean_dec(x_203); +x_322 = lean_ctor_get(x_282, 0); +lean_inc(x_322); +x_323 = lean_ctor_get(x_282, 1); +lean_inc(x_323); +x_324 = lean_ctor_get(x_282, 2); +lean_inc(x_324); +x_325 = lean_ctor_get(x_282, 3); +lean_inc(x_325); +if (lean_is_exclusive(x_282)) { + lean_ctor_release(x_282, 0); + lean_ctor_release(x_282, 1); + lean_ctor_release(x_282, 2); + lean_ctor_release(x_282, 3); + x_326 = x_282; } else { - lean_dec_ref(x_130); - x_172 = lean_box(0); + lean_dec_ref(x_282); + x_326 = lean_box(0); } -x_173 = 1; -lean_inc(x_52); -if (lean_is_scalar(x_172)) { - x_174 = lean_alloc_ctor(1, 4, 1); +x_327 = 1; +lean_inc(x_205); +if (lean_is_scalar(x_326)) { + x_328 = lean_alloc_ctor(1, 4, 1); } else { - x_174 = x_172; + x_328 = x_326; } -lean_ctor_set(x_174, 0, x_42); -lean_ctor_set(x_174, 1, x_43); -lean_ctor_set(x_174, 2, x_44); -lean_ctor_set(x_174, 3, x_52); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_175 = x_52; +lean_ctor_set(x_328, 0, x_205); +lean_ctor_set(x_328, 1, x_320); +lean_ctor_set(x_328, 2, x_321); +lean_ctor_set(x_328, 3, x_322); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + lean_ctor_release(x_205, 2); + lean_ctor_release(x_205, 3); + x_329 = x_205; } else { - lean_dec_ref(x_52); - x_175 = lean_box(0); + lean_dec_ref(x_205); + x_329 = lean_box(0); } -lean_ctor_set_uint8(x_174, sizeof(void*)*4, x_173); -if (lean_is_scalar(x_175)) { - x_176 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set_uint8(x_328, sizeof(void*)*4, x_327); +if (lean_is_scalar(x_329)) { + x_330 = lean_alloc_ctor(1, 4, 1); } else { - x_176 = x_175; + x_330 = x_329; } -lean_ctor_set(x_176, 0, x_168); -lean_ctor_set(x_176, 1, x_169); -lean_ctor_set(x_176, 2, x_170); -lean_ctor_set(x_176, 3, x_171); -lean_ctor_set_uint8(x_176, sizeof(void*)*4, x_173); -x_177 = 0; -x_178 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_178, 0, x_174); -lean_ctor_set(x_178, 1, x_166); -lean_ctor_set(x_178, 2, x_167); -lean_ctor_set(x_178, 3, x_176); -lean_ctor_set_uint8(x_178, sizeof(void*)*4, x_177); -return x_178; +lean_ctor_set(x_330, 0, x_325); +lean_ctor_set(x_330, 1, x_43); +lean_ctor_set(x_330, 2, x_44); +lean_ctor_set(x_330, 3, x_45); +lean_ctor_set_uint8(x_330, sizeof(void*)*4, x_327); +x_331 = 0; +x_332 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_332, 0, x_328); +lean_ctor_set(x_332, 1, x_323); +lean_ctor_set(x_332, 2, x_324); +lean_ctor_set(x_332, 3, x_330); +lean_ctor_set_uint8(x_332, sizeof(void*)*4, x_331); +return x_332; } } else { -uint8_t x_179; -x_179 = !lean_is_exclusive(x_50); -if (x_179 == 0) +uint8_t x_333; +x_333 = !lean_is_exclusive(x_203); +if (x_333 == 0) { -lean_object* x_180; lean_object* x_181; uint8_t x_182; -x_180 = lean_ctor_get(x_50, 3); -lean_dec(x_180); -x_181 = lean_ctor_get(x_50, 0); -lean_dec(x_181); -x_182 = !lean_is_exclusive(x_52); -if (x_182 == 0) +lean_object* x_334; lean_object* x_335; uint8_t x_336; +x_334 = lean_ctor_get(x_203, 3); +lean_dec(x_334); +x_335 = lean_ctor_get(x_203, 0); +lean_dec(x_335); +x_336 = !lean_is_exclusive(x_205); +if (x_336 == 0) { -uint8_t x_183; -lean_ctor_set_uint8(x_52, sizeof(void*)*4, x_139); -x_183 = 1; -lean_ctor_set(x_1, 3, x_50); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_183); +uint8_t x_337; +lean_ctor_set_uint8(x_205, sizeof(void*)*4, x_291); +x_337 = 1; +lean_ctor_set(x_1, 0, x_203); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_337); return x_1; } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; uint8_t x_189; -x_184 = lean_ctor_get(x_52, 0); -x_185 = lean_ctor_get(x_52, 1); -x_186 = lean_ctor_get(x_52, 2); -x_187 = lean_ctor_get(x_52, 3); -lean_inc(x_187); -lean_inc(x_186); -lean_inc(x_185); -lean_inc(x_184); -lean_dec(x_52); -x_188 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_188, 0, x_184); -lean_ctor_set(x_188, 1, x_185); -lean_ctor_set(x_188, 2, x_186); -lean_ctor_set(x_188, 3, x_187); -lean_ctor_set_uint8(x_188, sizeof(void*)*4, x_139); -lean_ctor_set(x_50, 0, x_188); -x_189 = 1; -lean_ctor_set(x_1, 3, x_50); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_189); +lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; +x_338 = lean_ctor_get(x_205, 0); +x_339 = lean_ctor_get(x_205, 1); +x_340 = lean_ctor_get(x_205, 2); +x_341 = lean_ctor_get(x_205, 3); +lean_inc(x_341); +lean_inc(x_340); +lean_inc(x_339); +lean_inc(x_338); +lean_dec(x_205); +x_342 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_342, 0, x_338); +lean_ctor_set(x_342, 1, x_339); +lean_ctor_set(x_342, 2, x_340); +lean_ctor_set(x_342, 3, x_341); +lean_ctor_set_uint8(x_342, sizeof(void*)*4, x_291); +lean_ctor_set(x_203, 0, x_342); +x_343 = 1; +lean_ctor_set(x_1, 0, x_203); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_343); return x_1; } } else { -lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; -x_190 = lean_ctor_get(x_50, 1); -x_191 = lean_ctor_get(x_50, 2); -lean_inc(x_191); -lean_inc(x_190); -lean_dec(x_50); -x_192 = lean_ctor_get(x_52, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_52, 1); -lean_inc(x_193); -x_194 = lean_ctor_get(x_52, 2); -lean_inc(x_194); -x_195 = lean_ctor_get(x_52, 3); -lean_inc(x_195); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - lean_ctor_release(x_52, 2); - lean_ctor_release(x_52, 3); - x_196 = x_52; +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; uint8_t x_353; +x_344 = lean_ctor_get(x_203, 1); +x_345 = lean_ctor_get(x_203, 2); +lean_inc(x_345); +lean_inc(x_344); +lean_dec(x_203); +x_346 = lean_ctor_get(x_205, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_205, 1); +lean_inc(x_347); +x_348 = lean_ctor_get(x_205, 2); +lean_inc(x_348); +x_349 = lean_ctor_get(x_205, 3); +lean_inc(x_349); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + lean_ctor_release(x_205, 2); + lean_ctor_release(x_205, 3); + x_350 = x_205; } else { - lean_dec_ref(x_52); - x_196 = lean_box(0); + lean_dec_ref(x_205); + x_350 = lean_box(0); } -if (lean_is_scalar(x_196)) { - x_197 = lean_alloc_ctor(1, 4, 1); +if (lean_is_scalar(x_350)) { + x_351 = lean_alloc_ctor(1, 4, 1); } else { - x_197 = x_196; + x_351 = x_350; } -lean_ctor_set(x_197, 0, x_192); -lean_ctor_set(x_197, 1, x_193); -lean_ctor_set(x_197, 2, x_194); -lean_ctor_set(x_197, 3, x_195); -lean_ctor_set_uint8(x_197, sizeof(void*)*4, x_139); -x_198 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_190); -lean_ctor_set(x_198, 2, x_191); -lean_ctor_set(x_198, 3, x_130); -lean_ctor_set_uint8(x_198, sizeof(void*)*4, x_51); -x_199 = 1; -lean_ctor_set(x_1, 3, x_198); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_199); +lean_ctor_set(x_351, 0, x_346); +lean_ctor_set(x_351, 1, x_347); +lean_ctor_set(x_351, 2, x_348); +lean_ctor_set(x_351, 3, x_349); +lean_ctor_set_uint8(x_351, sizeof(void*)*4, x_291); +x_352 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_344); +lean_ctor_set(x_352, 2, x_345); +lean_ctor_set(x_352, 3, x_282); +lean_ctor_set_uint8(x_352, sizeof(void*)*4, x_204); +x_353 = 1; +lean_ctor_set(x_1, 0, x_352); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_353); return x_1; } } @@ -9984,3113 +8474,3108 @@ return x_1; } else { -uint8_t x_200; -x_200 = 1; -lean_ctor_set(x_1, 3, x_50); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_200); +uint8_t x_354; +x_354 = 1; +lean_ctor_set(x_1, 0, x_203); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_354); return x_1; } } -else -{ -uint8_t x_201; lean_object* x_202; -lean_dec(x_44); -lean_dec(x_43); -x_201 = 1; -x_202 = lean_box_uint64(x_2); -lean_ctor_set(x_1, 2, x_3); -lean_ctor_set(x_1, 1, x_202); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_201); -return x_1; -} } else { -lean_object* x_203; uint8_t x_204; -x_203 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_42, x_2, x_3); -x_204 = lean_ctor_get_uint8(x_203, sizeof(void*)*4); -if (x_204 == 0) +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; uint64_t x_359; uint8_t x_360; +x_355 = lean_ctor_get(x_1, 0); +x_356 = lean_ctor_get(x_1, 1); +x_357 = lean_ctor_get(x_1, 2); +x_358 = lean_ctor_get(x_1, 3); +lean_inc(x_358); +lean_inc(x_357); +lean_inc(x_356); +lean_inc(x_355); +lean_dec(x_1); +x_359 = lean_unbox_uint64(x_356); +x_360 = lean_uint64_dec_lt(x_2, x_359); +if (x_360 == 0) { -lean_object* x_205; -x_205 = lean_ctor_get(x_203, 0); -lean_inc(x_205); -if (lean_obj_tag(x_205) == 0) +uint64_t x_361; uint8_t x_362; +x_361 = lean_unbox_uint64(x_356); +x_362 = lean_uint64_dec_eq(x_2, x_361); +if (x_362 == 0) { -lean_object* x_206; -x_206 = lean_ctor_get(x_203, 3); -lean_inc(x_206); -if (lean_obj_tag(x_206) == 0) +lean_object* x_363; uint8_t x_364; +x_363 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_358, x_2, x_3); +x_364 = lean_ctor_get_uint8(x_363, sizeof(void*)*4); +if (x_364 == 0) { -uint8_t x_207; -x_207 = !lean_is_exclusive(x_203); -if (x_207 == 0) +lean_object* x_365; +x_365 = lean_ctor_get(x_363, 0); +lean_inc(x_365); +if (lean_obj_tag(x_365) == 0) { -lean_object* x_208; lean_object* x_209; uint8_t x_210; -x_208 = lean_ctor_get(x_203, 3); -lean_dec(x_208); -x_209 = lean_ctor_get(x_203, 0); -lean_dec(x_209); -lean_ctor_set(x_203, 0, x_206); -x_210 = 1; -lean_ctor_set(x_1, 0, x_203); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_210); -return x_1; -} -else +lean_object* x_366; +x_366 = lean_ctor_get(x_363, 3); +lean_inc(x_366); +if (lean_obj_tag(x_366) == 0) { -lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; -x_211 = lean_ctor_get(x_203, 1); -x_212 = lean_ctor_get(x_203, 2); -lean_inc(x_212); -lean_inc(x_211); -lean_dec(x_203); -x_213 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_213, 0, x_206); -lean_ctor_set(x_213, 1, x_211); -lean_ctor_set(x_213, 2, x_212); -lean_ctor_set(x_213, 3, x_206); -lean_ctor_set_uint8(x_213, sizeof(void*)*4, x_204); -x_214 = 1; -lean_ctor_set(x_1, 0, x_213); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_214); -return x_1; +lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; uint8_t x_371; lean_object* x_372; +x_367 = lean_ctor_get(x_363, 1); +lean_inc(x_367); +x_368 = lean_ctor_get(x_363, 2); +lean_inc(x_368); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + lean_ctor_release(x_363, 2); + lean_ctor_release(x_363, 3); + x_369 = x_363; +} else { + lean_dec_ref(x_363); + x_369 = lean_box(0); } +if (lean_is_scalar(x_369)) { + x_370 = lean_alloc_ctor(1, 4, 1); +} else { + x_370 = x_369; } -else -{ -uint8_t x_215; -x_215 = lean_ctor_get_uint8(x_206, sizeof(void*)*4); -if (x_215 == 0) -{ -uint8_t x_216; -x_216 = !lean_is_exclusive(x_203); -if (x_216 == 0) -{ -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; -x_217 = lean_ctor_get(x_203, 1); -x_218 = lean_ctor_get(x_203, 2); -x_219 = lean_ctor_get(x_203, 3); -lean_dec(x_219); -x_220 = lean_ctor_get(x_203, 0); -lean_dec(x_220); -x_221 = !lean_is_exclusive(x_206); -if (x_221 == 0) -{ -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; uint8_t x_227; -x_222 = lean_ctor_get(x_206, 0); -x_223 = lean_ctor_get(x_206, 1); -x_224 = lean_ctor_get(x_206, 2); -x_225 = lean_ctor_get(x_206, 3); -x_226 = 1; -lean_ctor_set(x_206, 3, x_222); -lean_ctor_set(x_206, 2, x_218); -lean_ctor_set(x_206, 1, x_217); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_226); -lean_ctor_set(x_203, 3, x_45); -lean_ctor_set(x_203, 2, x_44); -lean_ctor_set(x_203, 1, x_43); -lean_ctor_set(x_203, 0, x_225); -lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_226); -x_227 = 0; -lean_ctor_set(x_1, 3, x_203); -lean_ctor_set(x_1, 2, x_224); -lean_ctor_set(x_1, 1, x_223); -lean_ctor_set(x_1, 0, x_206); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_227); -return x_1; +lean_ctor_set(x_370, 0, x_366); +lean_ctor_set(x_370, 1, x_367); +lean_ctor_set(x_370, 2, x_368); +lean_ctor_set(x_370, 3, x_366); +lean_ctor_set_uint8(x_370, sizeof(void*)*4, x_364); +x_371 = 1; +x_372 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_372, 0, x_355); +lean_ctor_set(x_372, 1, x_356); +lean_ctor_set(x_372, 2, x_357); +lean_ctor_set(x_372, 3, x_370); +lean_ctor_set_uint8(x_372, sizeof(void*)*4, x_371); +return x_372; } else { -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; uint8_t x_232; lean_object* x_233; uint8_t x_234; -x_228 = lean_ctor_get(x_206, 0); -x_229 = lean_ctor_get(x_206, 1); -x_230 = lean_ctor_get(x_206, 2); -x_231 = lean_ctor_get(x_206, 3); -lean_inc(x_231); -lean_inc(x_230); -lean_inc(x_229); -lean_inc(x_228); -lean_dec(x_206); -x_232 = 1; -x_233 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_233, 0, x_205); -lean_ctor_set(x_233, 1, x_217); -lean_ctor_set(x_233, 2, x_218); -lean_ctor_set(x_233, 3, x_228); -lean_ctor_set_uint8(x_233, sizeof(void*)*4, x_232); -lean_ctor_set(x_203, 3, x_45); -lean_ctor_set(x_203, 2, x_44); -lean_ctor_set(x_203, 1, x_43); -lean_ctor_set(x_203, 0, x_231); -lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_232); -x_234 = 0; -lean_ctor_set(x_1, 3, x_203); -lean_ctor_set(x_1, 2, x_230); -lean_ctor_set(x_1, 1, x_229); -lean_ctor_set(x_1, 0, x_233); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_234); -return x_1; -} +uint8_t x_373; +x_373 = lean_ctor_get_uint8(x_366, sizeof(void*)*4); +if (x_373 == 0) +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; uint8_t x_382; lean_object* x_383; lean_object* x_384; uint8_t x_385; lean_object* x_386; +x_374 = lean_ctor_get(x_363, 1); +lean_inc(x_374); +x_375 = lean_ctor_get(x_363, 2); +lean_inc(x_375); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + lean_ctor_release(x_363, 2); + lean_ctor_release(x_363, 3); + x_376 = x_363; +} else { + lean_dec_ref(x_363); + x_376 = lean_box(0); } -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; -x_235 = lean_ctor_get(x_203, 1); -x_236 = lean_ctor_get(x_203, 2); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_203); -x_237 = lean_ctor_get(x_206, 0); -lean_inc(x_237); -x_238 = lean_ctor_get(x_206, 1); -lean_inc(x_238); -x_239 = lean_ctor_get(x_206, 2); -lean_inc(x_239); -x_240 = lean_ctor_get(x_206, 3); -lean_inc(x_240); -if (lean_is_exclusive(x_206)) { - lean_ctor_release(x_206, 0); - lean_ctor_release(x_206, 1); - lean_ctor_release(x_206, 2); - lean_ctor_release(x_206, 3); - x_241 = x_206; +x_377 = lean_ctor_get(x_366, 0); +lean_inc(x_377); +x_378 = lean_ctor_get(x_366, 1); +lean_inc(x_378); +x_379 = lean_ctor_get(x_366, 2); +lean_inc(x_379); +x_380 = lean_ctor_get(x_366, 3); +lean_inc(x_380); +if (lean_is_exclusive(x_366)) { + lean_ctor_release(x_366, 0); + lean_ctor_release(x_366, 1); + lean_ctor_release(x_366, 2); + lean_ctor_release(x_366, 3); + x_381 = x_366; } else { - lean_dec_ref(x_206); - x_241 = lean_box(0); + lean_dec_ref(x_366); + x_381 = lean_box(0); } -x_242 = 1; -if (lean_is_scalar(x_241)) { - x_243 = lean_alloc_ctor(1, 4, 1); +x_382 = 1; +if (lean_is_scalar(x_381)) { + x_383 = lean_alloc_ctor(1, 4, 1); } else { - x_243 = x_241; + x_383 = x_381; } -lean_ctor_set(x_243, 0, x_205); -lean_ctor_set(x_243, 1, x_235); -lean_ctor_set(x_243, 2, x_236); -lean_ctor_set(x_243, 3, x_237); -lean_ctor_set_uint8(x_243, sizeof(void*)*4, x_242); -x_244 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_244, 0, x_240); -lean_ctor_set(x_244, 1, x_43); -lean_ctor_set(x_244, 2, x_44); -lean_ctor_set(x_244, 3, x_45); -lean_ctor_set_uint8(x_244, sizeof(void*)*4, x_242); -x_245 = 0; -lean_ctor_set(x_1, 3, x_244); -lean_ctor_set(x_1, 2, x_239); -lean_ctor_set(x_1, 1, x_238); -lean_ctor_set(x_1, 0, x_243); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_245); -return x_1; +lean_ctor_set(x_383, 0, x_355); +lean_ctor_set(x_383, 1, x_356); +lean_ctor_set(x_383, 2, x_357); +lean_ctor_set(x_383, 3, x_365); +lean_ctor_set_uint8(x_383, sizeof(void*)*4, x_382); +if (lean_is_scalar(x_376)) { + x_384 = lean_alloc_ctor(1, 4, 1); +} else { + x_384 = x_376; } +lean_ctor_set(x_384, 0, x_377); +lean_ctor_set(x_384, 1, x_378); +lean_ctor_set(x_384, 2, x_379); +lean_ctor_set(x_384, 3, x_380); +lean_ctor_set_uint8(x_384, sizeof(void*)*4, x_382); +x_385 = 0; +x_386 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_386, 0, x_383); +lean_ctor_set(x_386, 1, x_374); +lean_ctor_set(x_386, 2, x_375); +lean_ctor_set(x_386, 3, x_384); +lean_ctor_set_uint8(x_386, sizeof(void*)*4, x_385); +return x_386; } else { -uint8_t x_246; -lean_free_object(x_1); -x_246 = !lean_is_exclusive(x_206); -if (x_246 == 0) -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; -x_247 = lean_ctor_get(x_206, 3); -lean_dec(x_247); -x_248 = lean_ctor_get(x_206, 2); -lean_dec(x_248); -x_249 = lean_ctor_get(x_206, 1); -lean_dec(x_249); -x_250 = lean_ctor_get(x_206, 0); -lean_dec(x_250); -x_251 = 1; -lean_ctor_set(x_206, 3, x_45); -lean_ctor_set(x_206, 2, x_44); -lean_ctor_set(x_206, 1, x_43); -lean_ctor_set(x_206, 0, x_203); -lean_ctor_set_uint8(x_206, sizeof(void*)*4, x_251); -return x_206; +lean_object* x_387; uint8_t x_388; lean_object* x_389; +if (lean_is_exclusive(x_366)) { + lean_ctor_release(x_366, 0); + lean_ctor_release(x_366, 1); + lean_ctor_release(x_366, 2); + lean_ctor_release(x_366, 3); + x_387 = x_366; +} else { + lean_dec_ref(x_366); + x_387 = lean_box(0); } -else -{ -uint8_t x_252; lean_object* x_253; -lean_dec(x_206); -x_252 = 1; -x_253 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_253, 0, x_203); -lean_ctor_set(x_253, 1, x_43); -lean_ctor_set(x_253, 2, x_44); -lean_ctor_set(x_253, 3, x_45); -lean_ctor_set_uint8(x_253, sizeof(void*)*4, x_252); -return x_253; +x_388 = 1; +if (lean_is_scalar(x_387)) { + x_389 = lean_alloc_ctor(1, 4, 1); +} else { + x_389 = x_387; } +lean_ctor_set(x_389, 0, x_355); +lean_ctor_set(x_389, 1, x_356); +lean_ctor_set(x_389, 2, x_357); +lean_ctor_set(x_389, 3, x_363); +lean_ctor_set_uint8(x_389, sizeof(void*)*4, x_388); +return x_389; } } } else { -uint8_t x_254; -x_254 = lean_ctor_get_uint8(x_205, sizeof(void*)*4); -if (x_254 == 0) -{ -uint8_t x_255; -x_255 = !lean_is_exclusive(x_203); -if (x_255 == 0) -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; -x_256 = lean_ctor_get(x_203, 1); -x_257 = lean_ctor_get(x_203, 2); -x_258 = lean_ctor_get(x_203, 3); -x_259 = lean_ctor_get(x_203, 0); -lean_dec(x_259); -x_260 = !lean_is_exclusive(x_205); -if (x_260 == 0) -{ -uint8_t x_261; uint8_t x_262; -x_261 = 1; -lean_ctor_set_uint8(x_205, sizeof(void*)*4, x_261); -lean_ctor_set(x_203, 3, x_45); -lean_ctor_set(x_203, 2, x_44); -lean_ctor_set(x_203, 1, x_43); -lean_ctor_set(x_203, 0, x_258); -lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_261); -x_262 = 0; -lean_ctor_set(x_1, 3, x_203); -lean_ctor_set(x_1, 2, x_257); -lean_ctor_set(x_1, 1, x_256); -lean_ctor_set(x_1, 0, x_205); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_262); -return x_1; -} -else +uint8_t x_390; +x_390 = lean_ctor_get_uint8(x_365, sizeof(void*)*4); +if (x_390 == 0) { -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; lean_object* x_268; uint8_t x_269; -x_263 = lean_ctor_get(x_205, 0); -x_264 = lean_ctor_get(x_205, 1); -x_265 = lean_ctor_get(x_205, 2); -x_266 = lean_ctor_get(x_205, 3); -lean_inc(x_266); -lean_inc(x_265); -lean_inc(x_264); -lean_inc(x_263); -lean_dec(x_205); -x_267 = 1; -x_268 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_268, 0, x_263); -lean_ctor_set(x_268, 1, x_264); -lean_ctor_set(x_268, 2, x_265); -lean_ctor_set(x_268, 3, x_266); -lean_ctor_set_uint8(x_268, sizeof(void*)*4, x_267); -lean_ctor_set(x_203, 3, x_45); -lean_ctor_set(x_203, 2, x_44); -lean_ctor_set(x_203, 1, x_43); -lean_ctor_set(x_203, 0, x_258); -lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_267); -x_269 = 0; -lean_ctor_set(x_1, 3, x_203); -lean_ctor_set(x_1, 2, x_257); -lean_ctor_set(x_1, 1, x_256); -lean_ctor_set(x_1, 0, x_268); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_269); -return x_1; -} +lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; uint8_t x_400; lean_object* x_401; lean_object* x_402; uint8_t x_403; lean_object* x_404; +x_391 = lean_ctor_get(x_363, 1); +lean_inc(x_391); +x_392 = lean_ctor_get(x_363, 2); +lean_inc(x_392); +x_393 = lean_ctor_get(x_363, 3); +lean_inc(x_393); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + lean_ctor_release(x_363, 2); + lean_ctor_release(x_363, 3); + x_394 = x_363; +} else { + lean_dec_ref(x_363); + x_394 = lean_box(0); } -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; lean_object* x_279; lean_object* x_280; uint8_t x_281; -x_270 = lean_ctor_get(x_203, 1); -x_271 = lean_ctor_get(x_203, 2); -x_272 = lean_ctor_get(x_203, 3); -lean_inc(x_272); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_203); -x_273 = lean_ctor_get(x_205, 0); -lean_inc(x_273); -x_274 = lean_ctor_get(x_205, 1); -lean_inc(x_274); -x_275 = lean_ctor_get(x_205, 2); -lean_inc(x_275); -x_276 = lean_ctor_get(x_205, 3); -lean_inc(x_276); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - lean_ctor_release(x_205, 2); - lean_ctor_release(x_205, 3); - x_277 = x_205; +x_395 = lean_ctor_get(x_365, 0); +lean_inc(x_395); +x_396 = lean_ctor_get(x_365, 1); +lean_inc(x_396); +x_397 = lean_ctor_get(x_365, 2); +lean_inc(x_397); +x_398 = lean_ctor_get(x_365, 3); +lean_inc(x_398); +if (lean_is_exclusive(x_365)) { + lean_ctor_release(x_365, 0); + lean_ctor_release(x_365, 1); + lean_ctor_release(x_365, 2); + lean_ctor_release(x_365, 3); + x_399 = x_365; } else { - lean_dec_ref(x_205); - x_277 = lean_box(0); + lean_dec_ref(x_365); + x_399 = lean_box(0); } -x_278 = 1; -if (lean_is_scalar(x_277)) { - x_279 = lean_alloc_ctor(1, 4, 1); +x_400 = 1; +if (lean_is_scalar(x_399)) { + x_401 = lean_alloc_ctor(1, 4, 1); } else { - x_279 = x_277; + x_401 = x_399; } -lean_ctor_set(x_279, 0, x_273); -lean_ctor_set(x_279, 1, x_274); -lean_ctor_set(x_279, 2, x_275); -lean_ctor_set(x_279, 3, x_276); -lean_ctor_set_uint8(x_279, sizeof(void*)*4, x_278); -x_280 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_280, 0, x_272); -lean_ctor_set(x_280, 1, x_43); -lean_ctor_set(x_280, 2, x_44); -lean_ctor_set(x_280, 3, x_45); -lean_ctor_set_uint8(x_280, sizeof(void*)*4, x_278); -x_281 = 0; -lean_ctor_set(x_1, 3, x_280); -lean_ctor_set(x_1, 2, x_271); -lean_ctor_set(x_1, 1, x_270); -lean_ctor_set(x_1, 0, x_279); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_281); -return x_1; +lean_ctor_set(x_401, 0, x_355); +lean_ctor_set(x_401, 1, x_356); +lean_ctor_set(x_401, 2, x_357); +lean_ctor_set(x_401, 3, x_395); +lean_ctor_set_uint8(x_401, sizeof(void*)*4, x_400); +if (lean_is_scalar(x_394)) { + x_402 = lean_alloc_ctor(1, 4, 1); +} else { + x_402 = x_394; } +lean_ctor_set(x_402, 0, x_398); +lean_ctor_set(x_402, 1, x_391); +lean_ctor_set(x_402, 2, x_392); +lean_ctor_set(x_402, 3, x_393); +lean_ctor_set_uint8(x_402, sizeof(void*)*4, x_400); +x_403 = 0; +x_404 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_404, 0, x_401); +lean_ctor_set(x_404, 1, x_396); +lean_ctor_set(x_404, 2, x_397); +lean_ctor_set(x_404, 3, x_402); +lean_ctor_set_uint8(x_404, sizeof(void*)*4, x_403); +return x_404; } else { -lean_object* x_282; -x_282 = lean_ctor_get(x_203, 3); -lean_inc(x_282); -if (lean_obj_tag(x_282) == 0) -{ -uint8_t x_283; -lean_free_object(x_1); -x_283 = !lean_is_exclusive(x_205); -if (x_283 == 0) +lean_object* x_405; +x_405 = lean_ctor_get(x_363, 3); +lean_inc(x_405); +if (lean_obj_tag(x_405) == 0) { -lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; uint8_t x_288; -x_284 = lean_ctor_get(x_205, 3); -lean_dec(x_284); -x_285 = lean_ctor_get(x_205, 2); -lean_dec(x_285); -x_286 = lean_ctor_get(x_205, 1); -lean_dec(x_286); -x_287 = lean_ctor_get(x_205, 0); -lean_dec(x_287); -x_288 = 1; -lean_ctor_set(x_205, 3, x_45); -lean_ctor_set(x_205, 2, x_44); -lean_ctor_set(x_205, 1, x_43); -lean_ctor_set(x_205, 0, x_203); -lean_ctor_set_uint8(x_205, sizeof(void*)*4, x_288); -return x_205; +lean_object* x_406; uint8_t x_407; lean_object* x_408; +if (lean_is_exclusive(x_365)) { + lean_ctor_release(x_365, 0); + lean_ctor_release(x_365, 1); + lean_ctor_release(x_365, 2); + lean_ctor_release(x_365, 3); + x_406 = x_365; +} else { + lean_dec_ref(x_365); + x_406 = lean_box(0); } -else -{ -uint8_t x_289; lean_object* x_290; -lean_dec(x_205); -x_289 = 1; -x_290 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_290, 0, x_203); -lean_ctor_set(x_290, 1, x_43); -lean_ctor_set(x_290, 2, x_44); -lean_ctor_set(x_290, 3, x_45); -lean_ctor_set_uint8(x_290, sizeof(void*)*4, x_289); -return x_290; +x_407 = 1; +if (lean_is_scalar(x_406)) { + x_408 = lean_alloc_ctor(1, 4, 1); +} else { + x_408 = x_406; } +lean_ctor_set(x_408, 0, x_355); +lean_ctor_set(x_408, 1, x_356); +lean_ctor_set(x_408, 2, x_357); +lean_ctor_set(x_408, 3, x_363); +lean_ctor_set_uint8(x_408, sizeof(void*)*4, x_407); +return x_408; } else { -uint8_t x_291; -x_291 = lean_ctor_get_uint8(x_282, sizeof(void*)*4); -if (x_291 == 0) -{ -uint8_t x_292; -lean_free_object(x_1); -x_292 = !lean_is_exclusive(x_203); -if (x_292 == 0) -{ -lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; -x_293 = lean_ctor_get(x_203, 1); -x_294 = lean_ctor_get(x_203, 2); -x_295 = lean_ctor_get(x_203, 3); -lean_dec(x_295); -x_296 = lean_ctor_get(x_203, 0); -lean_dec(x_296); -x_297 = !lean_is_exclusive(x_282); -if (x_297 == 0) -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; uint8_t x_303; -x_298 = lean_ctor_get(x_282, 0); -x_299 = lean_ctor_get(x_282, 1); -x_300 = lean_ctor_get(x_282, 2); -x_301 = lean_ctor_get(x_282, 3); -x_302 = 1; -lean_inc(x_205); -lean_ctor_set(x_282, 3, x_298); -lean_ctor_set(x_282, 2, x_294); -lean_ctor_set(x_282, 1, x_293); -lean_ctor_set(x_282, 0, x_205); -x_303 = !lean_is_exclusive(x_205); -if (x_303 == 0) -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; uint8_t x_308; -x_304 = lean_ctor_get(x_205, 3); -lean_dec(x_304); -x_305 = lean_ctor_get(x_205, 2); -lean_dec(x_305); -x_306 = lean_ctor_get(x_205, 1); -lean_dec(x_306); -x_307 = lean_ctor_get(x_205, 0); -lean_dec(x_307); -lean_ctor_set_uint8(x_282, sizeof(void*)*4, x_302); -lean_ctor_set(x_205, 3, x_45); -lean_ctor_set(x_205, 2, x_44); -lean_ctor_set(x_205, 1, x_43); -lean_ctor_set(x_205, 0, x_301); -lean_ctor_set_uint8(x_205, sizeof(void*)*4, x_302); -x_308 = 0; -lean_ctor_set(x_203, 3, x_205); -lean_ctor_set(x_203, 2, x_300); -lean_ctor_set(x_203, 1, x_299); -lean_ctor_set(x_203, 0, x_282); -lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_308); -return x_203; -} -else +uint8_t x_409; +x_409 = lean_ctor_get_uint8(x_405, sizeof(void*)*4); +if (x_409 == 0) { -lean_object* x_309; uint8_t x_310; -lean_dec(x_205); -lean_ctor_set_uint8(x_282, sizeof(void*)*4, x_302); -x_309 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_309, 0, x_301); -lean_ctor_set(x_309, 1, x_43); -lean_ctor_set(x_309, 2, x_44); -lean_ctor_set(x_309, 3, x_45); -lean_ctor_set_uint8(x_309, sizeof(void*)*4, x_302); -x_310 = 0; -lean_ctor_set(x_203, 3, x_309); -lean_ctor_set(x_203, 2, x_300); -lean_ctor_set(x_203, 1, x_299); -lean_ctor_set(x_203, 0, x_282); -lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_310); -return x_203; -} +lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; lean_object* x_423; +x_410 = lean_ctor_get(x_363, 1); +lean_inc(x_410); +x_411 = lean_ctor_get(x_363, 2); +lean_inc(x_411); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + lean_ctor_release(x_363, 2); + lean_ctor_release(x_363, 3); + x_412 = x_363; +} else { + lean_dec_ref(x_363); + x_412 = lean_box(0); } -else -{ -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; uint8_t x_319; -x_311 = lean_ctor_get(x_282, 0); -x_312 = lean_ctor_get(x_282, 1); -x_313 = lean_ctor_get(x_282, 2); -x_314 = lean_ctor_get(x_282, 3); -lean_inc(x_314); -lean_inc(x_313); -lean_inc(x_312); -lean_inc(x_311); -lean_dec(x_282); -x_315 = 1; -lean_inc(x_205); -x_316 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_316, 0, x_205); -lean_ctor_set(x_316, 1, x_293); -lean_ctor_set(x_316, 2, x_294); -lean_ctor_set(x_316, 3, x_311); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - lean_ctor_release(x_205, 2); - lean_ctor_release(x_205, 3); - x_317 = x_205; +x_413 = lean_ctor_get(x_405, 0); +lean_inc(x_413); +x_414 = lean_ctor_get(x_405, 1); +lean_inc(x_414); +x_415 = lean_ctor_get(x_405, 2); +lean_inc(x_415); +x_416 = lean_ctor_get(x_405, 3); +lean_inc(x_416); +if (lean_is_exclusive(x_405)) { + lean_ctor_release(x_405, 0); + lean_ctor_release(x_405, 1); + lean_ctor_release(x_405, 2); + lean_ctor_release(x_405, 3); + x_417 = x_405; +} else { + lean_dec_ref(x_405); + x_417 = lean_box(0); +} +x_418 = 1; +lean_inc(x_365); +if (lean_is_scalar(x_417)) { + x_419 = lean_alloc_ctor(1, 4, 1); } else { - lean_dec_ref(x_205); - x_317 = lean_box(0); + x_419 = x_417; } -lean_ctor_set_uint8(x_316, sizeof(void*)*4, x_315); -if (lean_is_scalar(x_317)) { - x_318 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_419, 0, x_355); +lean_ctor_set(x_419, 1, x_356); +lean_ctor_set(x_419, 2, x_357); +lean_ctor_set(x_419, 3, x_365); +if (lean_is_exclusive(x_365)) { + lean_ctor_release(x_365, 0); + lean_ctor_release(x_365, 1); + lean_ctor_release(x_365, 2); + lean_ctor_release(x_365, 3); + x_420 = x_365; } else { - x_318 = x_317; + lean_dec_ref(x_365); + x_420 = lean_box(0); } -lean_ctor_set(x_318, 0, x_314); -lean_ctor_set(x_318, 1, x_43); -lean_ctor_set(x_318, 2, x_44); -lean_ctor_set(x_318, 3, x_45); -lean_ctor_set_uint8(x_318, sizeof(void*)*4, x_315); -x_319 = 0; -lean_ctor_set(x_203, 3, x_318); -lean_ctor_set(x_203, 2, x_313); -lean_ctor_set(x_203, 1, x_312); -lean_ctor_set(x_203, 0, x_316); -lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_319); -return x_203; +lean_ctor_set_uint8(x_419, sizeof(void*)*4, x_418); +if (lean_is_scalar(x_420)) { + x_421 = lean_alloc_ctor(1, 4, 1); +} else { + x_421 = x_420; +} +lean_ctor_set(x_421, 0, x_413); +lean_ctor_set(x_421, 1, x_414); +lean_ctor_set(x_421, 2, x_415); +lean_ctor_set(x_421, 3, x_416); +lean_ctor_set_uint8(x_421, sizeof(void*)*4, x_418); +x_422 = 0; +if (lean_is_scalar(x_412)) { + x_423 = lean_alloc_ctor(1, 4, 1); +} else { + x_423 = x_412; } +lean_ctor_set(x_423, 0, x_419); +lean_ctor_set(x_423, 1, x_410); +lean_ctor_set(x_423, 2, x_411); +lean_ctor_set(x_423, 3, x_421); +lean_ctor_set_uint8(x_423, sizeof(void*)*4, x_422); +return x_423; } else { -lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; uint8_t x_331; lean_object* x_332; -x_320 = lean_ctor_get(x_203, 1); -x_321 = lean_ctor_get(x_203, 2); -lean_inc(x_321); -lean_inc(x_320); -lean_dec(x_203); -x_322 = lean_ctor_get(x_282, 0); -lean_inc(x_322); -x_323 = lean_ctor_get(x_282, 1); -lean_inc(x_323); -x_324 = lean_ctor_get(x_282, 2); -lean_inc(x_324); -x_325 = lean_ctor_get(x_282, 3); -lean_inc(x_325); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - lean_ctor_release(x_282, 2); - lean_ctor_release(x_282, 3); - x_326 = x_282; +lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; uint8_t x_434; lean_object* x_435; +x_424 = lean_ctor_get(x_363, 1); +lean_inc(x_424); +x_425 = lean_ctor_get(x_363, 2); +lean_inc(x_425); +if (lean_is_exclusive(x_363)) { + lean_ctor_release(x_363, 0); + lean_ctor_release(x_363, 1); + lean_ctor_release(x_363, 2); + lean_ctor_release(x_363, 3); + x_426 = x_363; } else { - lean_dec_ref(x_282); - x_326 = lean_box(0); + lean_dec_ref(x_363); + x_426 = lean_box(0); } -x_327 = 1; -lean_inc(x_205); -if (lean_is_scalar(x_326)) { - x_328 = lean_alloc_ctor(1, 4, 1); +x_427 = lean_ctor_get(x_365, 0); +lean_inc(x_427); +x_428 = lean_ctor_get(x_365, 1); +lean_inc(x_428); +x_429 = lean_ctor_get(x_365, 2); +lean_inc(x_429); +x_430 = lean_ctor_get(x_365, 3); +lean_inc(x_430); +if (lean_is_exclusive(x_365)) { + lean_ctor_release(x_365, 0); + lean_ctor_release(x_365, 1); + lean_ctor_release(x_365, 2); + lean_ctor_release(x_365, 3); + x_431 = x_365; } else { - x_328 = x_326; + lean_dec_ref(x_365); + x_431 = lean_box(0); } -lean_ctor_set(x_328, 0, x_205); -lean_ctor_set(x_328, 1, x_320); -lean_ctor_set(x_328, 2, x_321); -lean_ctor_set(x_328, 3, x_322); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - lean_ctor_release(x_205, 2); - lean_ctor_release(x_205, 3); - x_329 = x_205; +if (lean_is_scalar(x_431)) { + x_432 = lean_alloc_ctor(1, 4, 1); } else { - lean_dec_ref(x_205); - x_329 = lean_box(0); + x_432 = x_431; } -lean_ctor_set_uint8(x_328, sizeof(void*)*4, x_327); -if (lean_is_scalar(x_329)) { - x_330 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_432, 0, x_427); +lean_ctor_set(x_432, 1, x_428); +lean_ctor_set(x_432, 2, x_429); +lean_ctor_set(x_432, 3, x_430); +lean_ctor_set_uint8(x_432, sizeof(void*)*4, x_409); +if (lean_is_scalar(x_426)) { + x_433 = lean_alloc_ctor(1, 4, 1); } else { - x_330 = x_329; + x_433 = x_426; +} +lean_ctor_set(x_433, 0, x_432); +lean_ctor_set(x_433, 1, x_424); +lean_ctor_set(x_433, 2, x_425); +lean_ctor_set(x_433, 3, x_405); +lean_ctor_set_uint8(x_433, sizeof(void*)*4, x_364); +x_434 = 1; +x_435 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_435, 0, x_355); +lean_ctor_set(x_435, 1, x_356); +lean_ctor_set(x_435, 2, x_357); +lean_ctor_set(x_435, 3, x_433); +lean_ctor_set_uint8(x_435, sizeof(void*)*4, x_434); +return x_435; +} +} } -lean_ctor_set(x_330, 0, x_325); -lean_ctor_set(x_330, 1, x_43); -lean_ctor_set(x_330, 2, x_44); -lean_ctor_set(x_330, 3, x_45); -lean_ctor_set_uint8(x_330, sizeof(void*)*4, x_327); -x_331 = 0; -x_332 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_332, 0, x_328); -lean_ctor_set(x_332, 1, x_323); -lean_ctor_set(x_332, 2, x_324); -lean_ctor_set(x_332, 3, x_330); -lean_ctor_set_uint8(x_332, sizeof(void*)*4, x_331); -return x_332; } } else { -uint8_t x_333; -x_333 = !lean_is_exclusive(x_203); -if (x_333 == 0) +uint8_t x_436; lean_object* x_437; +x_436 = 1; +x_437 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_437, 0, x_355); +lean_ctor_set(x_437, 1, x_356); +lean_ctor_set(x_437, 2, x_357); +lean_ctor_set(x_437, 3, x_363); +lean_ctor_set_uint8(x_437, sizeof(void*)*4, x_436); +return x_437; +} +} +else { -lean_object* x_334; lean_object* x_335; uint8_t x_336; -x_334 = lean_ctor_get(x_203, 3); -lean_dec(x_334); -x_335 = lean_ctor_get(x_203, 0); -lean_dec(x_335); -x_336 = !lean_is_exclusive(x_205); -if (x_336 == 0) +uint8_t x_438; lean_object* x_439; lean_object* x_440; +lean_dec(x_357); +lean_dec(x_356); +x_438 = 1; +x_439 = lean_box_uint64(x_2); +x_440 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_440, 0, x_355); +lean_ctor_set(x_440, 1, x_439); +lean_ctor_set(x_440, 2, x_3); +lean_ctor_set(x_440, 3, x_358); +lean_ctor_set_uint8(x_440, sizeof(void*)*4, x_438); +return x_440; +} +} +else { -uint8_t x_337; -lean_ctor_set_uint8(x_205, sizeof(void*)*4, x_291); -x_337 = 1; -lean_ctor_set(x_1, 0, x_203); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_337); -return x_1; +lean_object* x_441; uint8_t x_442; +x_441 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_355, x_2, x_3); +x_442 = lean_ctor_get_uint8(x_441, sizeof(void*)*4); +if (x_442 == 0) +{ +lean_object* x_443; +x_443 = lean_ctor_get(x_441, 0); +lean_inc(x_443); +if (lean_obj_tag(x_443) == 0) +{ +lean_object* x_444; +x_444 = lean_ctor_get(x_441, 3); +lean_inc(x_444); +if (lean_obj_tag(x_444) == 0) +{ +lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; uint8_t x_449; lean_object* x_450; +x_445 = lean_ctor_get(x_441, 1); +lean_inc(x_445); +x_446 = lean_ctor_get(x_441, 2); +lean_inc(x_446); +if (lean_is_exclusive(x_441)) { + lean_ctor_release(x_441, 0); + lean_ctor_release(x_441, 1); + lean_ctor_release(x_441, 2); + lean_ctor_release(x_441, 3); + x_447 = x_441; +} else { + lean_dec_ref(x_441); + x_447 = lean_box(0); +} +if (lean_is_scalar(x_447)) { + x_448 = lean_alloc_ctor(1, 4, 1); +} else { + x_448 = x_447; +} +lean_ctor_set(x_448, 0, x_444); +lean_ctor_set(x_448, 1, x_445); +lean_ctor_set(x_448, 2, x_446); +lean_ctor_set(x_448, 3, x_444); +lean_ctor_set_uint8(x_448, sizeof(void*)*4, x_442); +x_449 = 1; +x_450 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_450, 0, x_448); +lean_ctor_set(x_450, 1, x_356); +lean_ctor_set(x_450, 2, x_357); +lean_ctor_set(x_450, 3, x_358); +lean_ctor_set_uint8(x_450, sizeof(void*)*4, x_449); +return x_450; } else { -lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; -x_338 = lean_ctor_get(x_205, 0); -x_339 = lean_ctor_get(x_205, 1); -x_340 = lean_ctor_get(x_205, 2); -x_341 = lean_ctor_get(x_205, 3); -lean_inc(x_341); -lean_inc(x_340); -lean_inc(x_339); -lean_inc(x_338); -lean_dec(x_205); -x_342 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_342, 0, x_338); -lean_ctor_set(x_342, 1, x_339); -lean_ctor_set(x_342, 2, x_340); -lean_ctor_set(x_342, 3, x_341); -lean_ctor_set_uint8(x_342, sizeof(void*)*4, x_291); -lean_ctor_set(x_203, 0, x_342); -x_343 = 1; -lean_ctor_set(x_1, 0, x_203); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_343); -return x_1; +uint8_t x_451; +x_451 = lean_ctor_get_uint8(x_444, sizeof(void*)*4); +if (x_451 == 0) +{ +lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; uint8_t x_460; lean_object* x_461; lean_object* x_462; uint8_t x_463; lean_object* x_464; +x_452 = lean_ctor_get(x_441, 1); +lean_inc(x_452); +x_453 = lean_ctor_get(x_441, 2); +lean_inc(x_453); +if (lean_is_exclusive(x_441)) { + lean_ctor_release(x_441, 0); + lean_ctor_release(x_441, 1); + lean_ctor_release(x_441, 2); + lean_ctor_release(x_441, 3); + x_454 = x_441; +} else { + lean_dec_ref(x_441); + x_454 = lean_box(0); } +x_455 = lean_ctor_get(x_444, 0); +lean_inc(x_455); +x_456 = lean_ctor_get(x_444, 1); +lean_inc(x_456); +x_457 = lean_ctor_get(x_444, 2); +lean_inc(x_457); +x_458 = lean_ctor_get(x_444, 3); +lean_inc(x_458); +if (lean_is_exclusive(x_444)) { + lean_ctor_release(x_444, 0); + lean_ctor_release(x_444, 1); + lean_ctor_release(x_444, 2); + lean_ctor_release(x_444, 3); + x_459 = x_444; +} else { + lean_dec_ref(x_444); + x_459 = lean_box(0); } -else -{ -lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; uint8_t x_353; -x_344 = lean_ctor_get(x_203, 1); -x_345 = lean_ctor_get(x_203, 2); -lean_inc(x_345); -lean_inc(x_344); -lean_dec(x_203); -x_346 = lean_ctor_get(x_205, 0); -lean_inc(x_346); -x_347 = lean_ctor_get(x_205, 1); -lean_inc(x_347); -x_348 = lean_ctor_get(x_205, 2); -lean_inc(x_348); -x_349 = lean_ctor_get(x_205, 3); -lean_inc(x_349); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - lean_ctor_release(x_205, 2); - lean_ctor_release(x_205, 3); - x_350 = x_205; +x_460 = 1; +if (lean_is_scalar(x_459)) { + x_461 = lean_alloc_ctor(1, 4, 1); } else { - lean_dec_ref(x_205); - x_350 = lean_box(0); + x_461 = x_459; } -if (lean_is_scalar(x_350)) { - x_351 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_461, 0, x_443); +lean_ctor_set(x_461, 1, x_452); +lean_ctor_set(x_461, 2, x_453); +lean_ctor_set(x_461, 3, x_455); +lean_ctor_set_uint8(x_461, sizeof(void*)*4, x_460); +if (lean_is_scalar(x_454)) { + x_462 = lean_alloc_ctor(1, 4, 1); } else { - x_351 = x_350; + x_462 = x_454; } -lean_ctor_set(x_351, 0, x_346); -lean_ctor_set(x_351, 1, x_347); -lean_ctor_set(x_351, 2, x_348); -lean_ctor_set(x_351, 3, x_349); -lean_ctor_set_uint8(x_351, sizeof(void*)*4, x_291); -x_352 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_352, 0, x_351); -lean_ctor_set(x_352, 1, x_344); -lean_ctor_set(x_352, 2, x_345); -lean_ctor_set(x_352, 3, x_282); -lean_ctor_set_uint8(x_352, sizeof(void*)*4, x_204); -x_353 = 1; -lean_ctor_set(x_1, 0, x_352); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_353); -return x_1; +lean_ctor_set(x_462, 0, x_458); +lean_ctor_set(x_462, 1, x_356); +lean_ctor_set(x_462, 2, x_357); +lean_ctor_set(x_462, 3, x_358); +lean_ctor_set_uint8(x_462, sizeof(void*)*4, x_460); +x_463 = 0; +x_464 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_464, 0, x_461); +lean_ctor_set(x_464, 1, x_456); +lean_ctor_set(x_464, 2, x_457); +lean_ctor_set(x_464, 3, x_462); +lean_ctor_set_uint8(x_464, sizeof(void*)*4, x_463); +return x_464; } +else +{ +lean_object* x_465; uint8_t x_466; lean_object* x_467; +if (lean_is_exclusive(x_444)) { + lean_ctor_release(x_444, 0); + lean_ctor_release(x_444, 1); + lean_ctor_release(x_444, 2); + lean_ctor_release(x_444, 3); + x_465 = x_444; +} else { + lean_dec_ref(x_444); + x_465 = lean_box(0); } +x_466 = 1; +if (lean_is_scalar(x_465)) { + x_467 = lean_alloc_ctor(1, 4, 1); +} else { + x_467 = x_465; } +lean_ctor_set(x_467, 0, x_441); +lean_ctor_set(x_467, 1, x_356); +lean_ctor_set(x_467, 2, x_357); +lean_ctor_set(x_467, 3, x_358); +lean_ctor_set_uint8(x_467, sizeof(void*)*4, x_466); +return x_467; } } } else { -uint8_t x_354; -x_354 = 1; -lean_ctor_set(x_1, 0, x_203); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_354); -return x_1; +uint8_t x_468; +x_468 = lean_ctor_get_uint8(x_443, sizeof(void*)*4); +if (x_468 == 0) +{ +lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; uint8_t x_478; lean_object* x_479; lean_object* x_480; uint8_t x_481; lean_object* x_482; +x_469 = lean_ctor_get(x_441, 1); +lean_inc(x_469); +x_470 = lean_ctor_get(x_441, 2); +lean_inc(x_470); +x_471 = lean_ctor_get(x_441, 3); +lean_inc(x_471); +if (lean_is_exclusive(x_441)) { + lean_ctor_release(x_441, 0); + lean_ctor_release(x_441, 1); + lean_ctor_release(x_441, 2); + lean_ctor_release(x_441, 3); + x_472 = x_441; +} else { + lean_dec_ref(x_441); + x_472 = lean_box(0); +} +x_473 = lean_ctor_get(x_443, 0); +lean_inc(x_473); +x_474 = lean_ctor_get(x_443, 1); +lean_inc(x_474); +x_475 = lean_ctor_get(x_443, 2); +lean_inc(x_475); +x_476 = lean_ctor_get(x_443, 3); +lean_inc(x_476); +if (lean_is_exclusive(x_443)) { + lean_ctor_release(x_443, 0); + lean_ctor_release(x_443, 1); + lean_ctor_release(x_443, 2); + lean_ctor_release(x_443, 3); + x_477 = x_443; +} else { + lean_dec_ref(x_443); + x_477 = lean_box(0); +} +x_478 = 1; +if (lean_is_scalar(x_477)) { + x_479 = lean_alloc_ctor(1, 4, 1); +} else { + x_479 = x_477; } +lean_ctor_set(x_479, 0, x_473); +lean_ctor_set(x_479, 1, x_474); +lean_ctor_set(x_479, 2, x_475); +lean_ctor_set(x_479, 3, x_476); +lean_ctor_set_uint8(x_479, sizeof(void*)*4, x_478); +if (lean_is_scalar(x_472)) { + x_480 = lean_alloc_ctor(1, 4, 1); +} else { + x_480 = x_472; } +lean_ctor_set(x_480, 0, x_471); +lean_ctor_set(x_480, 1, x_356); +lean_ctor_set(x_480, 2, x_357); +lean_ctor_set(x_480, 3, x_358); +lean_ctor_set_uint8(x_480, sizeof(void*)*4, x_478); +x_481 = 0; +x_482 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_482, 0, x_479); +lean_ctor_set(x_482, 1, x_469); +lean_ctor_set(x_482, 2, x_470); +lean_ctor_set(x_482, 3, x_480); +lean_ctor_set_uint8(x_482, sizeof(void*)*4, x_481); +return x_482; } else { -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; uint64_t x_359; uint8_t x_360; -x_355 = lean_ctor_get(x_1, 0); -x_356 = lean_ctor_get(x_1, 1); -x_357 = lean_ctor_get(x_1, 2); -x_358 = lean_ctor_get(x_1, 3); -lean_inc(x_358); -lean_inc(x_357); -lean_inc(x_356); -lean_inc(x_355); -lean_dec(x_1); -x_359 = lean_unbox_uint64(x_356); -x_360 = lean_uint64_dec_lt(x_2, x_359); -if (x_360 == 0) -{ -uint64_t x_361; uint8_t x_362; -x_361 = lean_unbox_uint64(x_356); -x_362 = lean_uint64_dec_eq(x_2, x_361); -if (x_362 == 0) -{ -lean_object* x_363; uint8_t x_364; -x_363 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_358, x_2, x_3); -x_364 = lean_ctor_get_uint8(x_363, sizeof(void*)*4); -if (x_364 == 0) -{ -lean_object* x_365; -x_365 = lean_ctor_get(x_363, 0); -lean_inc(x_365); -if (lean_obj_tag(x_365) == 0) -{ -lean_object* x_366; -x_366 = lean_ctor_get(x_363, 3); -lean_inc(x_366); -if (lean_obj_tag(x_366) == 0) -{ -lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; uint8_t x_371; lean_object* x_372; -x_367 = lean_ctor_get(x_363, 1); -lean_inc(x_367); -x_368 = lean_ctor_get(x_363, 2); -lean_inc(x_368); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - lean_ctor_release(x_363, 2); - lean_ctor_release(x_363, 3); - x_369 = x_363; +lean_object* x_483; +x_483 = lean_ctor_get(x_441, 3); +lean_inc(x_483); +if (lean_obj_tag(x_483) == 0) +{ +lean_object* x_484; uint8_t x_485; lean_object* x_486; +if (lean_is_exclusive(x_443)) { + lean_ctor_release(x_443, 0); + lean_ctor_release(x_443, 1); + lean_ctor_release(x_443, 2); + lean_ctor_release(x_443, 3); + x_484 = x_443; } else { - lean_dec_ref(x_363); - x_369 = lean_box(0); + lean_dec_ref(x_443); + x_484 = lean_box(0); } -if (lean_is_scalar(x_369)) { - x_370 = lean_alloc_ctor(1, 4, 1); +x_485 = 1; +if (lean_is_scalar(x_484)) { + x_486 = lean_alloc_ctor(1, 4, 1); } else { - x_370 = x_369; + x_486 = x_484; } -lean_ctor_set(x_370, 0, x_366); -lean_ctor_set(x_370, 1, x_367); -lean_ctor_set(x_370, 2, x_368); -lean_ctor_set(x_370, 3, x_366); -lean_ctor_set_uint8(x_370, sizeof(void*)*4, x_364); -x_371 = 1; -x_372 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_372, 0, x_355); -lean_ctor_set(x_372, 1, x_356); -lean_ctor_set(x_372, 2, x_357); -lean_ctor_set(x_372, 3, x_370); -lean_ctor_set_uint8(x_372, sizeof(void*)*4, x_371); -return x_372; +lean_ctor_set(x_486, 0, x_441); +lean_ctor_set(x_486, 1, x_356); +lean_ctor_set(x_486, 2, x_357); +lean_ctor_set(x_486, 3, x_358); +lean_ctor_set_uint8(x_486, sizeof(void*)*4, x_485); +return x_486; } else { -uint8_t x_373; -x_373 = lean_ctor_get_uint8(x_366, sizeof(void*)*4); -if (x_373 == 0) +uint8_t x_487; +x_487 = lean_ctor_get_uint8(x_483, sizeof(void*)*4); +if (x_487 == 0) { -lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; uint8_t x_382; lean_object* x_383; lean_object* x_384; uint8_t x_385; lean_object* x_386; -x_374 = lean_ctor_get(x_363, 1); -lean_inc(x_374); -x_375 = lean_ctor_get(x_363, 2); -lean_inc(x_375); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - lean_ctor_release(x_363, 2); - lean_ctor_release(x_363, 3); - x_376 = x_363; +lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; uint8_t x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; uint8_t x_500; lean_object* x_501; +x_488 = lean_ctor_get(x_441, 1); +lean_inc(x_488); +x_489 = lean_ctor_get(x_441, 2); +lean_inc(x_489); +if (lean_is_exclusive(x_441)) { + lean_ctor_release(x_441, 0); + lean_ctor_release(x_441, 1); + lean_ctor_release(x_441, 2); + lean_ctor_release(x_441, 3); + x_490 = x_441; } else { - lean_dec_ref(x_363); - x_376 = lean_box(0); + lean_dec_ref(x_441); + x_490 = lean_box(0); } -x_377 = lean_ctor_get(x_366, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_366, 1); -lean_inc(x_378); -x_379 = lean_ctor_get(x_366, 2); -lean_inc(x_379); -x_380 = lean_ctor_get(x_366, 3); -lean_inc(x_380); -if (lean_is_exclusive(x_366)) { - lean_ctor_release(x_366, 0); - lean_ctor_release(x_366, 1); - lean_ctor_release(x_366, 2); - lean_ctor_release(x_366, 3); - x_381 = x_366; +x_491 = lean_ctor_get(x_483, 0); +lean_inc(x_491); +x_492 = lean_ctor_get(x_483, 1); +lean_inc(x_492); +x_493 = lean_ctor_get(x_483, 2); +lean_inc(x_493); +x_494 = lean_ctor_get(x_483, 3); +lean_inc(x_494); +if (lean_is_exclusive(x_483)) { + lean_ctor_release(x_483, 0); + lean_ctor_release(x_483, 1); + lean_ctor_release(x_483, 2); + lean_ctor_release(x_483, 3); + x_495 = x_483; } else { - lean_dec_ref(x_366); - x_381 = lean_box(0); + lean_dec_ref(x_483); + x_495 = lean_box(0); } -x_382 = 1; -if (lean_is_scalar(x_381)) { - x_383 = lean_alloc_ctor(1, 4, 1); +x_496 = 1; +lean_inc(x_443); +if (lean_is_scalar(x_495)) { + x_497 = lean_alloc_ctor(1, 4, 1); } else { - x_383 = x_381; + x_497 = x_495; } -lean_ctor_set(x_383, 0, x_355); -lean_ctor_set(x_383, 1, x_356); -lean_ctor_set(x_383, 2, x_357); -lean_ctor_set(x_383, 3, x_365); -lean_ctor_set_uint8(x_383, sizeof(void*)*4, x_382); -if (lean_is_scalar(x_376)) { - x_384 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_497, 0, x_443); +lean_ctor_set(x_497, 1, x_488); +lean_ctor_set(x_497, 2, x_489); +lean_ctor_set(x_497, 3, x_491); +if (lean_is_exclusive(x_443)) { + lean_ctor_release(x_443, 0); + lean_ctor_release(x_443, 1); + lean_ctor_release(x_443, 2); + lean_ctor_release(x_443, 3); + x_498 = x_443; } else { - x_384 = x_376; + lean_dec_ref(x_443); + x_498 = lean_box(0); } -lean_ctor_set(x_384, 0, x_377); -lean_ctor_set(x_384, 1, x_378); -lean_ctor_set(x_384, 2, x_379); -lean_ctor_set(x_384, 3, x_380); -lean_ctor_set_uint8(x_384, sizeof(void*)*4, x_382); -x_385 = 0; -x_386 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_386, 0, x_383); -lean_ctor_set(x_386, 1, x_374); -lean_ctor_set(x_386, 2, x_375); -lean_ctor_set(x_386, 3, x_384); -lean_ctor_set_uint8(x_386, sizeof(void*)*4, x_385); -return x_386; +lean_ctor_set_uint8(x_497, sizeof(void*)*4, x_496); +if (lean_is_scalar(x_498)) { + x_499 = lean_alloc_ctor(1, 4, 1); +} else { + x_499 = x_498; +} +lean_ctor_set(x_499, 0, x_494); +lean_ctor_set(x_499, 1, x_356); +lean_ctor_set(x_499, 2, x_357); +lean_ctor_set(x_499, 3, x_358); +lean_ctor_set_uint8(x_499, sizeof(void*)*4, x_496); +x_500 = 0; +if (lean_is_scalar(x_490)) { + x_501 = lean_alloc_ctor(1, 4, 1); +} else { + x_501 = x_490; +} +lean_ctor_set(x_501, 0, x_497); +lean_ctor_set(x_501, 1, x_492); +lean_ctor_set(x_501, 2, x_493); +lean_ctor_set(x_501, 3, x_499); +lean_ctor_set_uint8(x_501, sizeof(void*)*4, x_500); +return x_501; } else { -lean_object* x_387; uint8_t x_388; lean_object* x_389; -if (lean_is_exclusive(x_366)) { - lean_ctor_release(x_366, 0); - lean_ctor_release(x_366, 1); - lean_ctor_release(x_366, 2); - lean_ctor_release(x_366, 3); - x_387 = x_366; +lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; uint8_t x_512; lean_object* x_513; +x_502 = lean_ctor_get(x_441, 1); +lean_inc(x_502); +x_503 = lean_ctor_get(x_441, 2); +lean_inc(x_503); +if (lean_is_exclusive(x_441)) { + lean_ctor_release(x_441, 0); + lean_ctor_release(x_441, 1); + lean_ctor_release(x_441, 2); + lean_ctor_release(x_441, 3); + x_504 = x_441; } else { - lean_dec_ref(x_366); - x_387 = lean_box(0); + lean_dec_ref(x_441); + x_504 = lean_box(0); } -x_388 = 1; -if (lean_is_scalar(x_387)) { - x_389 = lean_alloc_ctor(1, 4, 1); +x_505 = lean_ctor_get(x_443, 0); +lean_inc(x_505); +x_506 = lean_ctor_get(x_443, 1); +lean_inc(x_506); +x_507 = lean_ctor_get(x_443, 2); +lean_inc(x_507); +x_508 = lean_ctor_get(x_443, 3); +lean_inc(x_508); +if (lean_is_exclusive(x_443)) { + lean_ctor_release(x_443, 0); + lean_ctor_release(x_443, 1); + lean_ctor_release(x_443, 2); + lean_ctor_release(x_443, 3); + x_509 = x_443; } else { - x_389 = x_387; + lean_dec_ref(x_443); + x_509 = lean_box(0); +} +if (lean_is_scalar(x_509)) { + x_510 = lean_alloc_ctor(1, 4, 1); +} else { + x_510 = x_509; +} +lean_ctor_set(x_510, 0, x_505); +lean_ctor_set(x_510, 1, x_506); +lean_ctor_set(x_510, 2, x_507); +lean_ctor_set(x_510, 3, x_508); +lean_ctor_set_uint8(x_510, sizeof(void*)*4, x_487); +if (lean_is_scalar(x_504)) { + x_511 = lean_alloc_ctor(1, 4, 1); +} else { + x_511 = x_504; +} +lean_ctor_set(x_511, 0, x_510); +lean_ctor_set(x_511, 1, x_502); +lean_ctor_set(x_511, 2, x_503); +lean_ctor_set(x_511, 3, x_483); +lean_ctor_set_uint8(x_511, sizeof(void*)*4, x_442); +x_512 = 1; +x_513 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_513, 0, x_511); +lean_ctor_set(x_513, 1, x_356); +lean_ctor_set(x_513, 2, x_357); +lean_ctor_set(x_513, 3, x_358); +lean_ctor_set_uint8(x_513, sizeof(void*)*4, x_512); +return x_513; +} } -lean_ctor_set(x_389, 0, x_355); -lean_ctor_set(x_389, 1, x_356); -lean_ctor_set(x_389, 2, x_357); -lean_ctor_set(x_389, 3, x_363); -lean_ctor_set_uint8(x_389, sizeof(void*)*4, x_388); -return x_389; } } } else { -uint8_t x_390; -x_390 = lean_ctor_get_uint8(x_365, sizeof(void*)*4); -if (x_390 == 0) -{ -lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; uint8_t x_400; lean_object* x_401; lean_object* x_402; uint8_t x_403; lean_object* x_404; -x_391 = lean_ctor_get(x_363, 1); -lean_inc(x_391); -x_392 = lean_ctor_get(x_363, 2); -lean_inc(x_392); -x_393 = lean_ctor_get(x_363, 3); -lean_inc(x_393); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - lean_ctor_release(x_363, 2); - lean_ctor_release(x_363, 3); - x_394 = x_363; -} else { - lean_dec_ref(x_363); - x_394 = lean_box(0); +uint8_t x_514; lean_object* x_515; +x_514 = 1; +x_515 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_515, 0, x_441); +lean_ctor_set(x_515, 1, x_356); +lean_ctor_set(x_515, 2, x_357); +lean_ctor_set(x_515, 3, x_358); +lean_ctor_set_uint8(x_515, sizeof(void*)*4, x_514); +return x_515; } -x_395 = lean_ctor_get(x_365, 0); -lean_inc(x_395); -x_396 = lean_ctor_get(x_365, 1); -lean_inc(x_396); -x_397 = lean_ctor_get(x_365, 2); -lean_inc(x_397); -x_398 = lean_ctor_get(x_365, 3); -lean_inc(x_398); -if (lean_is_exclusive(x_365)) { - lean_ctor_release(x_365, 0); - lean_ctor_release(x_365, 1); - lean_ctor_release(x_365, 2); - lean_ctor_release(x_365, 3); - x_399 = x_365; -} else { - lean_dec_ref(x_365); - x_399 = lean_box(0); } -x_400 = 1; -if (lean_is_scalar(x_399)) { - x_401 = lean_alloc_ctor(1, 4, 1); -} else { - x_401 = x_399; } -lean_ctor_set(x_401, 0, x_355); -lean_ctor_set(x_401, 1, x_356); -lean_ctor_set(x_401, 2, x_357); -lean_ctor_set(x_401, 3, x_395); -lean_ctor_set_uint8(x_401, sizeof(void*)*4, x_400); -if (lean_is_scalar(x_394)) { - x_402 = lean_alloc_ctor(1, 4, 1); -} else { - x_402 = x_394; } -lean_ctor_set(x_402, 0, x_398); -lean_ctor_set(x_402, 1, x_391); -lean_ctor_set(x_402, 2, x_392); -lean_ctor_set(x_402, 3, x_393); -lean_ctor_set_uint8(x_402, sizeof(void*)*4, x_400); -x_403 = 0; -x_404 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_404, 0, x_401); -lean_ctor_set(x_404, 1, x_396); -lean_ctor_set(x_404, 2, x_397); -lean_ctor_set(x_404, 3, x_402); -lean_ctor_set_uint8(x_404, sizeof(void*)*4, x_403); -return x_404; } -else -{ -lean_object* x_405; -x_405 = lean_ctor_get(x_363, 3); -lean_inc(x_405); -if (lean_obj_tag(x_405) == 0) -{ -lean_object* x_406; uint8_t x_407; lean_object* x_408; -if (lean_is_exclusive(x_365)) { - lean_ctor_release(x_365, 0); - lean_ctor_release(x_365, 1); - lean_ctor_release(x_365, 2); - lean_ctor_release(x_365, 3); - x_406 = x_365; -} else { - lean_dec_ref(x_365); - x_406 = lean_box(0); } -x_407 = 1; -if (lean_is_scalar(x_406)) { - x_408 = lean_alloc_ctor(1, 4, 1); -} else { - x_408 = x_406; } -lean_ctor_set(x_408, 0, x_355); -lean_ctor_set(x_408, 1, x_356); -lean_ctor_set(x_408, 2, x_357); -lean_ctor_set(x_408, 3, x_363); -lean_ctor_set_uint8(x_408, sizeof(void*)*4, x_407); -return x_408; +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1(lean_object* x_1, uint64_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_RBNode_isRed___rarg(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_1, x_2, x_3); +return x_5; } else { -uint8_t x_409; -x_409 = lean_ctor_get_uint8(x_405, sizeof(void*)*4); -if (x_409 == 0) -{ -lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; lean_object* x_423; -x_410 = lean_ctor_get(x_363, 1); -lean_inc(x_410); -x_411 = lean_ctor_get(x_363, 2); -lean_inc(x_411); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - lean_ctor_release(x_363, 2); - lean_ctor_release(x_363, 3); - x_412 = x_363; -} else { - lean_dec_ref(x_363); - x_412 = lean_box(0); +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_1, x_2, x_3); +x_7 = l_Lean_RBNode_setBlack___rarg(x_6); +return x_7; } -x_413 = lean_ctor_get(x_405, 0); -lean_inc(x_413); -x_414 = lean_ctor_get(x_405, 1); -lean_inc(x_414); -x_415 = lean_ctor_get(x_405, 2); -lean_inc(x_415); -x_416 = lean_ctor_get(x_405, 3); -lean_inc(x_416); -if (lean_is_exclusive(x_405)) { - lean_ctor_release(x_405, 0); - lean_ctor_release(x_405, 1); - lean_ctor_release(x_405, 2); - lean_ctor_release(x_405, 3); - x_417 = x_405; -} else { - lean_dec_ref(x_405); - x_417 = lean_box(0); } -x_418 = 1; -lean_inc(x_365); -if (lean_is_scalar(x_417)) { - x_419 = lean_alloc_ctor(1, 4, 1); -} else { - x_419 = x_417; } -lean_ctor_set(x_419, 0, x_355); -lean_ctor_set(x_419, 1, x_356); -lean_ctor_set(x_419, 2, x_357); -lean_ctor_set(x_419, 3, x_365); -if (lean_is_exclusive(x_365)) { - lean_ctor_release(x_365, 0); - lean_ctor_release(x_365, 1); - lean_ctor_release(x_365, 2); - lean_ctor_release(x_365, 3); - x_420 = x_365; -} else { - lean_dec_ref(x_365); - x_420 = lean_box(0); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Server_FileWorker_RpcSession_new(x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +lean_dec(x_4); +x_8 = lean_st_mk_ref(x_7, x_5); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_st_ref_take(x_1, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; uint64_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_12, 5); +x_16 = lean_unbox_uint64(x_6); +x_17 = l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1(x_15, x_16, x_9); +lean_ctor_set(x_12, 5, x_17); +x_18 = lean_st_ref_set(x_1, x_12, x_13); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_6); +return x_18; } -lean_ctor_set_uint8(x_419, sizeof(void*)*4, x_418); -if (lean_is_scalar(x_420)) { - x_421 = lean_alloc_ctor(1, 4, 1); -} else { - x_421 = x_420; +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_6); +lean_ctor_set(x_22, 1, x_21); +return x_22; } -lean_ctor_set(x_421, 0, x_413); -lean_ctor_set(x_421, 1, x_414); -lean_ctor_set(x_421, 2, x_415); -lean_ctor_set(x_421, 3, x_416); -lean_ctor_set_uint8(x_421, sizeof(void*)*4, x_418); -x_422 = 0; -if (lean_is_scalar(x_412)) { - x_423 = lean_alloc_ctor(1, 4, 1); +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint64_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_23 = lean_ctor_get(x_12, 0); +x_24 = lean_ctor_get(x_12, 1); +x_25 = lean_ctor_get(x_12, 2); +x_26 = lean_ctor_get(x_12, 3); +x_27 = lean_ctor_get(x_12, 4); +x_28 = lean_ctor_get(x_12, 5); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_12); +x_29 = lean_unbox_uint64(x_6); +x_30 = l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1(x_28, x_29, x_9); +x_31 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_31, 0, x_23); +lean_ctor_set(x_31, 1, x_24); +lean_ctor_set(x_31, 2, x_25); +lean_ctor_set(x_31, 3, x_26); +lean_ctor_set(x_31, 4, x_27); +lean_ctor_set(x_31, 5, x_30); +x_32 = lean_st_ref_set(x_1, x_31, x_13); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_32)) { + lean_ctor_release(x_32, 0); + lean_ctor_release(x_32, 1); + x_34 = x_32; } else { - x_423 = x_412; + lean_dec_ref(x_32); + x_34 = lean_box(0); +} +if (lean_is_scalar(x_34)) { + x_35 = lean_alloc_ctor(0, 2, 0); +} else { + x_35 = x_34; +} +lean_ctor_set(x_35, 0, x_6); +lean_ctor_set(x_35, 1, x_33); +return x_35; } -lean_ctor_set(x_423, 0, x_419); -lean_ctor_set(x_423, 1, x_410); -lean_ctor_set(x_423, 2, x_411); -lean_ctor_set(x_423, 3, x_421); -lean_ctor_set_uint8(x_423, sizeof(void*)*4, x_422); -return x_423; } else { -lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; uint8_t x_434; lean_object* x_435; -x_424 = lean_ctor_get(x_363, 1); -lean_inc(x_424); -x_425 = lean_ctor_get(x_363, 2); -lean_inc(x_425); -if (lean_is_exclusive(x_363)) { - lean_ctor_release(x_363, 0); - lean_ctor_release(x_363, 1); - lean_ctor_release(x_363, 2); - lean_ctor_release(x_363, 3); - x_426 = x_363; -} else { - lean_dec_ref(x_363); - x_426 = lean_box(0); +uint8_t x_36; +x_36 = !lean_is_exclusive(x_3); +if (x_36 == 0) +{ +return x_3; } -x_427 = lean_ctor_get(x_365, 0); -lean_inc(x_427); -x_428 = lean_ctor_get(x_365, 1); -lean_inc(x_428); -x_429 = lean_ctor_get(x_365, 2); -lean_inc(x_429); -x_430 = lean_ctor_get(x_365, 3); -lean_inc(x_430); -if (lean_is_exclusive(x_365)) { - lean_ctor_release(x_365, 0); - lean_ctor_release(x_365, 1); - lean_ctor_release(x_365, 2); - lean_ctor_release(x_365, 3); - x_431 = x_365; -} else { - lean_dec_ref(x_365); - x_431 = lean_box(0); +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_3, 0); +x_38 = lean_ctor_get(x_3, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_3); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; } -if (lean_is_scalar(x_431)) { - x_432 = lean_alloc_ctor(1, 4, 1); -} else { - x_432 = x_431; } -lean_ctor_set(x_432, 0, x_427); -lean_ctor_set(x_432, 1, x_428); -lean_ctor_set(x_432, 2, x_429); -lean_ctor_set(x_432, 3, x_430); -lean_ctor_set_uint8(x_432, sizeof(void*)*4, x_409); -if (lean_is_scalar(x_426)) { - x_433 = lean_alloc_ctor(1, 4, 1); -} else { - x_433 = x_426; } -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_424); -lean_ctor_set(x_433, 2, x_425); -lean_ctor_set(x_433, 3, x_405); -lean_ctor_set_uint8(x_433, sizeof(void*)*4, x_364); -x_434 = 1; -x_435 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_435, 0, x_355); -lean_ctor_set(x_435, 1, x_356); -lean_ctor_set(x_435, 2, x_357); -lean_ctor_set(x_435, 3, x_433); -lean_ctor_set_uint8(x_435, sizeof(void*)*4, x_434); -return x_435; } +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleRpcConnect___rarg___boxed), 2, 0); +return x_3; } } +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint64_t x_4; lean_object* x_5; +x_4 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_5 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_1, x_4, x_3); +return x_5; } } -else +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: { -uint8_t x_436; lean_object* x_437; -x_436 = 1; -x_437 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_437, 0, x_355); -lean_ctor_set(x_437, 1, x_356); -lean_ctor_set(x_437, 2, x_357); -lean_ctor_set(x_437, 3, x_363); -lean_ctor_set_uint8(x_437, sizeof(void*)*4, x_436); -return x_437; +uint64_t x_4; lean_object* x_5; +x_4 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_5 = l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1(x_1, x_4, x_3); +return x_5; } } -else +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: { -uint8_t x_438; lean_object* x_439; lean_object* x_440; -lean_dec(x_357); -lean_dec(x_356); -x_438 = 1; -x_439 = lean_box_uint64(x_2); -x_440 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_440, 0, x_355); -lean_ctor_set(x_440, 1, x_439); -lean_ctor_set(x_440, 2, x_3); -lean_ctor_set(x_440, 3, x_358); -lean_ctor_set_uint8(x_440, sizeof(void*)*4, x_438); -return x_440; +lean_object* x_3; +x_3 = l_Lean_Server_FileWorker_handleRpcConnect___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; } } -else -{ -lean_object* x_441; uint8_t x_442; -x_441 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_355, x_2, x_3); -x_442 = lean_ctor_get_uint8(x_441, sizeof(void*)*4); -if (x_442 == 0) -{ -lean_object* x_443; -x_443 = lean_ctor_get(x_441, 0); -lean_inc(x_443); -if (lean_obj_tag(x_443) == 0) +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___boxed(lean_object* x_1, lean_object* x_2) { +_start: { -lean_object* x_444; -x_444 = lean_ctor_get(x_441, 3); -lean_inc(x_444); -if (lean_obj_tag(x_444) == 0) +lean_object* x_3; +x_3 = l_Lean_Server_FileWorker_handleRpcConnect(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_parseParams___rarg___closed__1() { +_start: { -lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; uint8_t x_449; lean_object* x_450; -x_445 = lean_ctor_get(x_441, 1); -lean_inc(x_445); -x_446 = lean_ctor_get(x_441, 2); -lean_inc(x_446); -if (lean_is_exclusive(x_441)) { - lean_ctor_release(x_441, 0); - lean_ctor_release(x_441, 1); - lean_ctor_release(x_441, 2); - lean_ctor_release(x_441, 3); - x_447 = x_441; -} else { - lean_dec_ref(x_441); - x_447 = lean_box(0); +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Got param with wrong structure: ", 32); +return x_1; } -if (lean_is_scalar(x_447)) { - x_448 = lean_alloc_ctor(1, 4, 1); -} else { - x_448 = x_447; } -lean_ctor_set(x_448, 0, x_444); -lean_ctor_set(x_448, 1, x_445); -lean_ctor_set(x_448, 2, x_446); -lean_ctor_set(x_448, 3, x_444); -lean_ctor_set_uint8(x_448, sizeof(void*)*4, x_442); -x_449 = 1; -x_450 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_450, 0, x_448); -lean_ctor_set(x_450, 1, x_356); -lean_ctor_set(x_450, 2, x_357); -lean_ctor_set(x_450, 3, x_358); -lean_ctor_set_uint8(x_450, sizeof(void*)*4, x_449); -return x_450; +static lean_object* _init_l_Lean_Server_FileWorker_parseParams___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\n", 1); +return x_1; } -else +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: { -uint8_t x_451; -x_451 = lean_ctor_get_uint8(x_444, sizeof(void*)*4); -if (x_451 == 0) +lean_object* x_6; +lean_inc(x_2); +x_6 = lean_apply_1(x_1, x_2); +if (lean_obj_tag(x_6) == 0) { -lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; uint8_t x_460; lean_object* x_461; lean_object* x_462; uint8_t x_463; lean_object* x_464; -x_452 = lean_ctor_get(x_441, 1); -lean_inc(x_452); -x_453 = lean_ctor_get(x_441, 2); -lean_inc(x_453); -if (lean_is_exclusive(x_441)) { - lean_ctor_release(x_441, 0); - lean_ctor_release(x_441, 1); - lean_ctor_release(x_441, 2); - lean_ctor_release(x_441, 3); - x_454 = x_441; -} else { - lean_dec_ref(x_441); - x_454 = lean_box(0); -} -x_455 = lean_ctor_get(x_444, 0); -lean_inc(x_455); -x_456 = lean_ctor_get(x_444, 1); -lean_inc(x_456); -x_457 = lean_ctor_get(x_444, 2); -lean_inc(x_457); -x_458 = lean_ctor_get(x_444, 3); -lean_inc(x_458); -if (lean_is_exclusive(x_444)) { - lean_ctor_release(x_444, 0); - lean_ctor_release(x_444, 1); - lean_ctor_release(x_444, 2); - lean_ctor_release(x_444, 3); - x_459 = x_444; -} else { - lean_dec_ref(x_444); - x_459 = lean_box(0); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = l_Lean_Json_compress(x_2); +x_9 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; +x_12 = lean_string_append(x_10, x_11); +x_13 = lean_string_append(x_12, x_7); +lean_dec(x_7); +x_14 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; +x_15 = lean_string_append(x_13, x_14); +x_16 = l_IO_throwServerError___rarg(x_15, x_5); +return x_16; } -x_460 = 1; -if (lean_is_scalar(x_459)) { - x_461 = lean_alloc_ctor(1, 4, 1); -} else { - x_461 = x_459; +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_2); +x_17 = lean_ctor_get(x_6, 0); +lean_inc(x_17); +lean_dec(x_6); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_5); +return x_18; } -lean_ctor_set(x_461, 0, x_443); -lean_ctor_set(x_461, 1, x_452); -lean_ctor_set(x_461, 2, x_453); -lean_ctor_set(x_461, 3, x_455); -lean_ctor_set_uint8(x_461, sizeof(void*)*4, x_460); -if (lean_is_scalar(x_454)) { - x_462 = lean_alloc_ctor(1, 4, 1); -} else { - x_462 = x_454; } -lean_ctor_set(x_462, 0, x_458); -lean_ctor_set(x_462, 1, x_356); -lean_ctor_set(x_462, 2, x_357); -lean_ctor_set(x_462, 3, x_358); -lean_ctor_set_uint8(x_462, sizeof(void*)*4, x_460); -x_463 = 0; -x_464 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_464, 0, x_461); -lean_ctor_set(x_464, 1, x_456); -lean_ctor_set(x_464, 2, x_457); -lean_ctor_set(x_464, 3, x_462); -lean_ctor_set_uint8(x_464, sizeof(void*)*4, x_463); -return x_464; } -else +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams(lean_object* x_1) { +_start: { -lean_object* x_465; uint8_t x_466; lean_object* x_467; -if (lean_is_exclusive(x_444)) { - lean_ctor_release(x_444, 0); - lean_ctor_release(x_444, 1); - lean_ctor_release(x_444, 2); - lean_ctor_release(x_444, 3); - x_465 = x_444; -} else { - lean_dec_ref(x_444); - x_465 = lean_box(0); +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_parseParams___rarg___boxed), 5, 0); +return x_2; } -x_466 = 1; -if (lean_is_scalar(x_465)) { - x_467 = lean_alloc_ctor(1, 4, 1); -} else { - x_467 = x_465; } -lean_ctor_set(x_467, 0, x_441); -lean_ctor_set(x_467, 1, x_356); -lean_ctor_set(x_467, 2, x_357); -lean_ctor_set(x_467, 3, x_358); -lean_ctor_set_uint8(x_467, sizeof(void*)*4, x_466); -return x_467; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_FileWorker_parseParams___rarg(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; } } +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +lean_inc(x_1); +x_5 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcKeepAliveParams____x40_Lean_Data_Lsp_Extra___hyg_2703_(x_1); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Json_compress(x_1); +x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_string_append(x_11, x_6); +lean_dec(x_6); +x_13 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; +x_14 = lean_string_append(x_12, x_13); +x_15 = l_IO_throwServerError___rarg(x_14, x_4); +return x_15; } else { -uint8_t x_468; -x_468 = lean_ctor_get_uint8(x_443, sizeof(void*)*4); -if (x_468 == 0) +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_4); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; uint8_t x_478; lean_object* x_479; lean_object* x_480; uint8_t x_481; lean_object* x_482; -x_469 = lean_ctor_get(x_441, 1); -lean_inc(x_469); -x_470 = lean_ctor_get(x_441, 2); -lean_inc(x_470); -x_471 = lean_ctor_get(x_441, 3); -lean_inc(x_471); -if (lean_is_exclusive(x_441)) { - lean_ctor_release(x_441, 0); - lean_ctor_release(x_441, 1); - lean_ctor_release(x_441, 2); - lean_ctor_release(x_441, 3); - x_472 = x_441; -} else { - lean_dec_ref(x_441); - x_472 = lean_box(0); +lean_object* x_5; +lean_inc(x_1); +x_5 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcReleaseParams____x40_Lean_Data_Lsp_Extra___hyg_2464_(x_1); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Json_compress(x_1); +x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_string_append(x_11, x_6); +lean_dec(x_6); +x_13 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; +x_14 = lean_string_append(x_12, x_13); +x_15 = l_IO_throwServerError___rarg(x_14, x_4); +return x_15; } -x_473 = lean_ctor_get(x_443, 0); -lean_inc(x_473); -x_474 = lean_ctor_get(x_443, 1); -lean_inc(x_474); -x_475 = lean_ctor_get(x_443, 2); -lean_inc(x_475); -x_476 = lean_ctor_get(x_443, 3); -lean_inc(x_476); -if (lean_is_exclusive(x_443)) { - lean_ctor_release(x_443, 0); - lean_ctor_release(x_443, 1); - lean_ctor_release(x_443, 2); - lean_ctor_release(x_443, 3); - x_477 = x_443; -} else { - lean_dec_ref(x_443); - x_477 = lean_box(0); +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_4); +return x_17; } -x_478 = 1; -if (lean_is_scalar(x_477)) { - x_479 = lean_alloc_ctor(1, 4, 1); -} else { - x_479 = x_477; } -lean_ctor_set(x_479, 0, x_473); -lean_ctor_set(x_479, 1, x_474); -lean_ctor_set(x_479, 2, x_475); -lean_ctor_set(x_479, 3, x_476); -lean_ctor_set_uint8(x_479, sizeof(void*)*4, x_478); -if (lean_is_scalar(x_472)) { - x_480 = lean_alloc_ctor(1, 4, 1); -} else { - x_480 = x_472; } -lean_ctor_set(x_480, 0, x_471); -lean_ctor_set(x_480, 1, x_356); -lean_ctor_set(x_480, 2, x_357); -lean_ctor_set(x_480, 3, x_358); -lean_ctor_set_uint8(x_480, sizeof(void*)*4, x_478); -x_481 = 0; -x_482 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_482, 0, x_479); -lean_ctor_set(x_482, 1, x_469); -lean_ctor_set(x_482, 2, x_470); -lean_ctor_set(x_482, 3, x_480); -lean_ctor_set_uint8(x_482, sizeof(void*)*4, x_481); -return x_482; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_144_(x_1); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Json_compress(x_1); +x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_string_append(x_11, x_6); +lean_dec(x_6); +x_13 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; +x_14 = lean_string_append(x_12, x_13); +x_15 = l_IO_throwServerError___rarg(x_14, x_4); +return x_15; } else { -lean_object* x_483; -x_483 = lean_ctor_get(x_441, 3); -lean_inc(x_483); -if (lean_obj_tag(x_483) == 0) -{ -lean_object* x_484; uint8_t x_485; lean_object* x_486; -if (lean_is_exclusive(x_443)) { - lean_ctor_release(x_443, 0); - lean_ctor_release(x_443, 1); - lean_ctor_release(x_443, 2); - lean_ctor_release(x_443, 3); - x_484 = x_443; -} else { - lean_dec_ref(x_443); - x_484 = lean_box(0); +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_4); +return x_17; } -x_485 = 1; -if (lean_is_scalar(x_484)) { - x_486 = lean_alloc_ctor(1, 4, 1); -} else { - x_486 = x_484; } -lean_ctor_set(x_486, 0, x_441); -lean_ctor_set(x_486, 1, x_356); -lean_ctor_set(x_486, 2, x_357); -lean_ctor_set(x_486, 3, x_358); -lean_ctor_set_uint8(x_486, sizeof(void*)*4, x_485); -return x_486; } -else +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -uint8_t x_487; -x_487 = lean_ctor_get_uint8(x_483, sizeof(void*)*4); -if (x_487 == 0) +lean_object* x_5; +lean_inc(x_1); +x_5 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_709_(x_1); +if (lean_obj_tag(x_5) == 0) { -lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; uint8_t x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; uint8_t x_500; lean_object* x_501; -x_488 = lean_ctor_get(x_441, 1); -lean_inc(x_488); -x_489 = lean_ctor_get(x_441, 2); -lean_inc(x_489); -if (lean_is_exclusive(x_441)) { - lean_ctor_release(x_441, 0); - lean_ctor_release(x_441, 1); - lean_ctor_release(x_441, 2); - lean_ctor_release(x_441, 3); - x_490 = x_441; -} else { - lean_dec_ref(x_441); - x_490 = lean_box(0); +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Json_compress(x_1); +x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_string_append(x_11, x_6); +lean_dec(x_6); +x_13 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; +x_14 = lean_string_append(x_12, x_13); +x_15 = l_IO_throwServerError___rarg(x_14, x_4); +return x_15; } -x_491 = lean_ctor_get(x_483, 0); -lean_inc(x_491); -x_492 = lean_ctor_get(x_483, 1); -lean_inc(x_492); -x_493 = lean_ctor_get(x_483, 2); -lean_inc(x_493); -x_494 = lean_ctor_get(x_483, 3); -lean_inc(x_494); -if (lean_is_exclusive(x_483)) { - lean_ctor_release(x_483, 0); - lean_ctor_release(x_483, 1); - lean_ctor_release(x_483, 2); - lean_ctor_release(x_483, 3); - x_495 = x_483; -} else { - lean_dec_ref(x_483); - x_495 = lean_box(0); +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_4); +return x_17; } -x_496 = 1; -lean_inc(x_443); -if (lean_is_scalar(x_495)) { - x_497 = lean_alloc_ctor(1, 4, 1); -} else { - x_497 = x_495; } -lean_ctor_set(x_497, 0, x_443); -lean_ctor_set(x_497, 1, x_488); -lean_ctor_set(x_497, 2, x_489); -lean_ctor_set(x_497, 3, x_491); -if (lean_is_exclusive(x_443)) { - lean_ctor_release(x_443, 0); - lean_ctor_release(x_443, 1); - lean_ctor_release(x_443, 2); - lean_ctor_release(x_443, 3); - x_498 = x_443; -} else { - lean_dec_ref(x_443); - x_498 = lean_box(0); } -lean_ctor_set_uint8(x_497, sizeof(void*)*4, x_496); -if (lean_is_scalar(x_498)) { - x_499 = lean_alloc_ctor(1, 4, 1); -} else { - x_499 = x_498; +static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("textDocument/didChange", 22); +return x_1; } -lean_ctor_set(x_499, 0, x_494); -lean_ctor_set(x_499, 1, x_356); -lean_ctor_set(x_499, 2, x_357); -lean_ctor_set(x_499, 3, x_358); -lean_ctor_set_uint8(x_499, sizeof(void*)*4, x_496); -x_500 = 0; -if (lean_is_scalar(x_490)) { - x_501 = lean_alloc_ctor(1, 4, 1); -} else { - x_501 = x_490; } -lean_ctor_set(x_501, 0, x_497); -lean_ctor_set(x_501, 1, x_492); -lean_ctor_set(x_501, 2, x_493); -lean_ctor_set(x_501, 3, x_499); -lean_ctor_set_uint8(x_501, sizeof(void*)*4, x_500); -return x_501; +static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("$/cancelRequest", 15); +return x_1; } -else +} +static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__3() { +_start: { -lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; uint8_t x_512; lean_object* x_513; -x_502 = lean_ctor_get(x_441, 1); -lean_inc(x_502); -x_503 = lean_ctor_get(x_441, 2); -lean_inc(x_503); -if (lean_is_exclusive(x_441)) { - lean_ctor_release(x_441, 0); - lean_ctor_release(x_441, 1); - lean_ctor_release(x_441, 2); - lean_ctor_release(x_441, 3); - x_504 = x_441; -} else { - lean_dec_ref(x_441); - x_504 = lean_box(0); +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("$/lean/rpc/release", 18); +return x_1; } -x_505 = lean_ctor_get(x_443, 0); -lean_inc(x_505); -x_506 = lean_ctor_get(x_443, 1); -lean_inc(x_506); -x_507 = lean_ctor_get(x_443, 2); -lean_inc(x_507); -x_508 = lean_ctor_get(x_443, 3); -lean_inc(x_508); -if (lean_is_exclusive(x_443)) { - lean_ctor_release(x_443, 0); - lean_ctor_release(x_443, 1); - lean_ctor_release(x_443, 2); - lean_ctor_release(x_443, 3); - x_509 = x_443; -} else { - lean_dec_ref(x_443); - x_509 = lean_box(0); } -if (lean_is_scalar(x_509)) { - x_510 = lean_alloc_ctor(1, 4, 1); -} else { - x_510 = x_509; +static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("$/lean/rpc/keepAlive", 20); +return x_1; } -lean_ctor_set(x_510, 0, x_505); -lean_ctor_set(x_510, 1, x_506); -lean_ctor_set(x_510, 2, x_507); -lean_ctor_set(x_510, 3, x_508); -lean_ctor_set_uint8(x_510, sizeof(void*)*4, x_487); -if (lean_is_scalar(x_504)) { - x_511 = lean_alloc_ctor(1, 4, 1); -} else { - x_511 = x_504; } -lean_ctor_set(x_511, 0, x_510); -lean_ctor_set(x_511, 1, x_502); -lean_ctor_set(x_511, 2, x_503); -lean_ctor_set(x_511, 3, x_483); -lean_ctor_set_uint8(x_511, sizeof(void*)*4, x_442); -x_512 = 1; -x_513 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_513, 0, x_511); -lean_ctor_set(x_513, 1, x_356); -lean_ctor_set(x_513, 2, x_357); -lean_ctor_set(x_513, 3, x_358); -lean_ctor_set_uint8(x_513, sizeof(void*)*4, x_512); -return x_513; +static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Got unsupported notification method: ", 37); +return x_1; } } +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleNotification(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = l_Lean_Server_FileWorker_handleNotification___closed__1; +x_7 = lean_string_dec_eq(x_1, x_6); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_Server_FileWorker_handleNotification___closed__2; +x_9 = lean_string_dec_eq(x_1, x_8); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = l_Lean_Server_FileWorker_handleNotification___closed__3; +x_11 = lean_string_dec_eq(x_1, x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_Server_FileWorker_handleNotification___closed__4; +x_13 = lean_string_dec_eq(x_1, x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_14 = l_Lean_Server_FileWorker_handleNotification___closed__5; +x_15 = lean_string_append(x_14, x_1); +x_16 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; +x_17 = lean_string_append(x_15, x_16); +x_18 = l_IO_throwServerError___rarg(x_17, x_5); +return x_18; } +else +{ +lean_object* x_19; +x_19 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1(x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_Server_FileWorker_handleRpcKeepAlive(x_20, x_3, x_4, x_21); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_20); +return x_22; } +else +{ +uint8_t x_23; +lean_dec(x_4); +lean_dec(x_3); +x_23 = !lean_is_exclusive(x_19); +if (x_23 == 0) +{ +return x_19; } else { -uint8_t x_514; lean_object* x_515; -x_514 = 1; -x_515 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_515, 0, x_441); -lean_ctor_set(x_515, 1, x_356); -lean_ctor_set(x_515, 2, x_357); -lean_ctor_set(x_515, 3, x_358); -lean_ctor_set_uint8(x_515, sizeof(void*)*4, x_514); -return x_515; -} -} +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_19, 0); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_19); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } } +else +{ +lean_object* x_27; +x_27 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2(x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = l_Lean_Server_FileWorker_handleRpcRelease(x_28, x_3, x_4, x_29); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_28); +return x_30; } -LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1(lean_object* x_1, uint64_t x_2, lean_object* x_3) { -_start: +else { -uint8_t x_4; -x_4 = l_Lean_RBNode_isRed___rarg(x_1); -if (x_4 == 0) +uint8_t x_31; +lean_dec(x_4); +lean_dec(x_3); +x_31 = !lean_is_exclusive(x_27); +if (x_31 == 0) { -lean_object* x_5; -x_5 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_1, x_2, x_3); -return x_5; +return x_27; } else { -lean_object* x_6; lean_object* x_7; -x_6 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_1, x_2, x_3); -x_7 = l_Lean_RBNode_setBlack___rarg(x_6); -return x_7; +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_27, 0); +x_33 = lean_ctor_get(x_27, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_27); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___rarg(lean_object* x_1, lean_object* x_2) { -_start: +} +else { -lean_object* x_3; -x_3 = l_Lean_Server_FileWorker_RpcSession_new(x_2); -if (lean_obj_tag(x_3) == 0) +lean_object* x_35; +x_35 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3(x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_3, 1); -lean_inc(x_5); -lean_dec(x_3); -x_6 = lean_ctor_get(x_4, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_4, 1); -lean_inc(x_7); +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = l_Lean_Server_FileWorker_handleCancelRequest(x_36, x_3, x_4, x_37); lean_dec(x_4); -x_8 = lean_st_mk_ref(x_7, x_5); -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_st_ref_take(x_1, x_10); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_object* x_15; uint64_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_ctor_get(x_12, 3); -x_16 = lean_unbox_uint64(x_6); -x_17 = l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1(x_15, x_16, x_9); -lean_ctor_set(x_12, 3, x_17); -x_18 = lean_st_ref_set(x_1, x_12, x_13); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_18, 0); -lean_dec(x_20); -lean_ctor_set(x_18, 0, x_6); -return x_18; +lean_dec(x_3); +return x_38; } else { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_6); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} +uint8_t x_39; +lean_dec(x_4); +lean_dec(x_3); +x_39 = !lean_is_exclusive(x_35); +if (x_39 == 0) +{ +return x_35; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint64_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_23 = lean_ctor_get(x_12, 0); -x_24 = lean_ctor_get(x_12, 1); -x_25 = lean_ctor_get(x_12, 2); -x_26 = lean_ctor_get(x_12, 3); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_12); -x_27 = lean_unbox_uint64(x_6); -x_28 = l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1(x_26, x_27, x_9); -x_29 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_29, 0, x_23); -lean_ctor_set(x_29, 1, x_24); -lean_ctor_set(x_29, 2, x_25); -lean_ctor_set(x_29, 3, x_28); -x_30 = lean_st_ref_set(x_1, x_29, x_13); -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_32 = x_30; -} else { - lean_dec_ref(x_30); - x_32 = lean_box(0); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_35, 0); +x_41 = lean_ctor_get(x_35, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_35); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } -if (lean_is_scalar(x_32)) { - x_33 = lean_alloc_ctor(0, 2, 0); -} else { - x_33 = x_32; } -lean_ctor_set(x_33, 0, x_6); -lean_ctor_set(x_33, 1, x_31); -return x_33; } } else { -uint8_t x_34; -x_34 = !lean_is_exclusive(x_3); -if (x_34 == 0) +lean_object* x_43; +x_43 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4(x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_43) == 0) { -return x_3; +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Server_FileWorker_handleDidChange(x_44, x_3, x_4, x_45); +lean_dec(x_44); +return x_46; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_3, 0); -x_36 = lean_ctor_get(x_3, 1); -lean_inc(x_36); -lean_inc(x_35); +uint8_t x_47; +lean_dec(x_4); lean_dec(x_3); -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -return x_37; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect(lean_object* x_1, lean_object* x_2) { -_start: +x_47 = !lean_is_exclusive(x_43); +if (x_47 == 0) { -lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleRpcConnect___rarg___boxed), 2, 0); -return x_3; -} +return x_43; } -LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: +else { -uint64_t x_4; lean_object* x_5; -x_4 = lean_unbox_uint64(x_2); -lean_dec(x_2); -x_5 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_handleRpcConnect___spec__2(x_1, x_4, x_3); -return x_5; -} +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_43, 0); +x_49 = lean_ctor_get(x_43, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_43); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } -LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint64_t x_4; lean_object* x_5; -x_4 = lean_unbox_uint64(x_2); -lean_dec(x_2); -x_5 = l_Lean_RBNode_insert___at_Lean_Server_FileWorker_handleRpcConnect___spec__1(x_1, x_4, x_3); -return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___rarg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Server_FileWorker_handleRpcConnect___rarg(x_1, x_2); -lean_dec(x_1); -return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_3; -x_3 = l_Lean_Server_FileWorker_handleRpcConnect(x_1, x_2); +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Server_FileWorker_parseParams___rarg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Got param with wrong structure: ", 32); -return x_1; +return x_5; } } -static lean_object* _init_l_Lean_Server_FileWorker_parseParams___rarg___closed__2() { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("\n", 1); -return x_1; +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_6; -lean_inc(x_2); -x_6 = lean_apply_1(x_1, x_2); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_7 = lean_ctor_get(x_6, 0); -lean_inc(x_7); -lean_dec(x_6); -x_8 = l_Lean_Json_compress(x_2); -x_9 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; -x_10 = lean_string_append(x_9, x_8); -lean_dec(x_8); -x_11 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; -x_12 = lean_string_append(x_10, x_11); -x_13 = lean_string_append(x_12, x_7); -lean_dec(x_7); -x_14 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_15 = lean_string_append(x_13, x_14); -x_16 = l_IO_throwServerError___rarg(x_15, x_5); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); lean_dec(x_2); -x_17 = lean_ctor_get(x_6, 0); -lean_inc(x_17); -lean_dec(x_6); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_5); -return x_18; -} +return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_parseParams___rarg___boxed), 5, 0); -return x_2; +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleNotification___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Server_FileWorker_parseParams___rarg(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_4); -lean_dec(x_3); +x_6 = l_Lean_Server_FileWorker_handleNotification(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_5; -lean_inc(x_1); -x_5 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcKeepAliveParams____x40_Lean_Data_Lsp_Extra___hyg_2703_(x_1); -if (lean_obj_tag(x_5) == 0) +if (lean_obj_tag(x_1) == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Lean_Json_compress(x_1); -x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; -x_9 = lean_string_append(x_8, x_7); -lean_dec(x_7); -x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; -x_11 = lean_string_append(x_9, x_10); -x_12 = lean_string_append(x_11, x_6); -lean_dec(x_6); -x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_14 = lean_string_append(x_12, x_13); -x_15 = l_IO_throwServerError___rarg(x_14, x_4); -return x_15; +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_box(0); +x_5 = 0; +x_6 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; } else { -lean_object* x_16; lean_object* x_17; -lean_dec(x_1); -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); -lean_dec(x_5); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_4); -return x_17; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +if (x_7 == 0) { -lean_object* x_5; -lean_inc(x_1); -x_5 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcReleaseParams____x40_Lean_Data_Lsp_Extra___hyg_2464_(x_1); -if (lean_obj_tag(x_5) == 0) +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Lean_Json_compress(x_1); -x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; -x_9 = lean_string_append(x_8, x_7); -lean_dec(x_7); -x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; -x_11 = lean_string_append(x_9, x_10); -x_12 = lean_string_append(x_11, x_6); -lean_dec(x_6); -x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_14 = lean_string_append(x_12, x_13); -x_15 = l_IO_throwServerError___rarg(x_14, x_4); -return x_15; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get(x_1, 3); +lean_inc(x_10); +lean_inc(x_2); +x_13 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_2, x_10); +switch (x_13) { +case 0: +{ +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_9, x_2, x_3); +x_15 = 0; +lean_ctor_set(x_1, 0, x_14); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_15); +return x_1; } -else +case 1: { -lean_object* x_16; lean_object* x_17; -lean_dec(x_1); -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); -lean_dec(x_5); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_4); -return x_17; +uint8_t x_16; +lean_dec(x_11); +lean_dec(x_10); +x_16 = 0; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_16); +return x_1; } +default: +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_12, x_2, x_3); +x_18 = 0; +lean_ctor_set(x_1, 3, x_17); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_18); +return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_144_(x_1); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Lean_Json_compress(x_1); -x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; -x_9 = lean_string_append(x_8, x_7); -lean_dec(x_7); -x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; -x_11 = lean_string_append(x_9, x_10); -x_12 = lean_string_append(x_11, x_6); -lean_dec(x_6); -x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_14 = lean_string_append(x_12, x_13); -x_15 = l_IO_throwServerError___rarg(x_14, x_4); -return x_15; } else { -lean_object* x_16; lean_object* x_17; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_1, 0); +x_20 = lean_ctor_get(x_1, 1); +x_21 = lean_ctor_get(x_1, 2); +x_22 = lean_ctor_get(x_1, 3); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); lean_dec(x_1); -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); -lean_dec(x_5); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_4); -return x_17; +lean_inc(x_20); +lean_inc(x_2); +x_23 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_2, x_20); +switch (x_23) { +case 0: +{ +lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_24 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_19, x_2, x_3); +x_25 = 0; +x_26 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_22); +lean_ctor_set_uint8(x_26, sizeof(void*)*4, x_25); +return x_26; +} +case 1: +{ +uint8_t x_27; lean_object* x_28; +lean_dec(x_21); +lean_dec(x_20); +x_27 = 0; +x_28 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_28, 0, x_19); +lean_ctor_set(x_28, 1, x_2); +lean_ctor_set(x_28, 2, x_3); +lean_ctor_set(x_28, 3, x_22); +lean_ctor_set_uint8(x_28, sizeof(void*)*4, x_27); +return x_28; +} +default: +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_22, x_2, x_3); +x_30 = 0; +x_31 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_20); +lean_ctor_set(x_31, 2, x_21); +lean_ctor_set(x_31, 3, x_29); +lean_ctor_set_uint8(x_31, sizeof(void*)*4, x_30); +return x_31; } } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -lean_inc(x_1); -x_5 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_709_(x_1); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -lean_dec(x_5); -x_7 = l_Lean_Json_compress(x_1); -x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; -x_9 = lean_string_append(x_8, x_7); -lean_dec(x_7); -x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; -x_11 = lean_string_append(x_9, x_10); -x_12 = lean_string_append(x_11, x_6); -lean_dec(x_6); -x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_14 = lean_string_append(x_12, x_13); -x_15 = l_IO_throwServerError___rarg(x_14, x_4); -return x_15; } else { -lean_object* x_16; lean_object* x_17; -lean_dec(x_1); -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); -lean_dec(x_5); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_4); -return x_17; -} -} -} -static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__1() { -_start: +uint8_t x_32; +x_32 = !lean_is_exclusive(x_1); +if (x_32 == 0) { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("textDocument/didChange", 22); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_1, 0); +x_34 = lean_ctor_get(x_1, 1); +x_35 = lean_ctor_get(x_1, 2); +x_36 = lean_ctor_get(x_1, 3); +lean_inc(x_34); +lean_inc(x_2); +x_37 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_2, x_34); +switch (x_37) { +case 0: +{ +lean_object* x_38; uint8_t x_39; +x_38 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_33, x_2, x_3); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*4); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_38, 3); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_38, 3); +lean_dec(x_43); +x_44 = lean_ctor_get(x_38, 0); +lean_dec(x_44); +lean_ctor_set(x_38, 0, x_41); +x_45 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_45); return x_1; } -} -static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__2() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("$/cancelRequest", 15); +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_38, 1); +x_47 = lean_ctor_get(x_38, 2); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_38); +x_48 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_47); +lean_ctor_set(x_48, 3, x_41); +lean_ctor_set_uint8(x_48, sizeof(void*)*4, x_39); +x_49 = 1; +lean_ctor_set(x_1, 0, x_48); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_49); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__3() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("$/lean/rpc/release", 18); +uint8_t x_50; +x_50 = lean_ctor_get_uint8(x_41, sizeof(void*)*4); +if (x_50 == 0) +{ +uint8_t x_51; +x_51 = !lean_is_exclusive(x_38); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_38, 1); +x_53 = lean_ctor_get(x_38, 2); +x_54 = lean_ctor_get(x_38, 3); +lean_dec(x_54); +x_55 = lean_ctor_get(x_38, 0); +lean_dec(x_55); +x_56 = !lean_is_exclusive(x_41); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; uint8_t x_62; +x_57 = lean_ctor_get(x_41, 0); +x_58 = lean_ctor_get(x_41, 1); +x_59 = lean_ctor_get(x_41, 2); +x_60 = lean_ctor_get(x_41, 3); +x_61 = 1; +lean_ctor_set(x_41, 3, x_57); +lean_ctor_set(x_41, 2, x_53); +lean_ctor_set(x_41, 1, x_52); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_61); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_60); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_61); +x_62 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_59); +lean_ctor_set(x_1, 1, x_58); +lean_ctor_set(x_1, 0, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_62); return x_1; } -} -static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__4() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("$/lean/rpc/keepAlive", 20); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; uint8_t x_69; +x_63 = lean_ctor_get(x_41, 0); +x_64 = lean_ctor_get(x_41, 1); +x_65 = lean_ctor_get(x_41, 2); +x_66 = lean_ctor_get(x_41, 3); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_41); +x_67 = 1; +x_68 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_68, 0, x_40); +lean_ctor_set(x_68, 1, x_52); +lean_ctor_set(x_68, 2, x_53); +lean_ctor_set(x_68, 3, x_63); +lean_ctor_set_uint8(x_68, sizeof(void*)*4, x_67); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_66); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_67); +x_69 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_65); +lean_ctor_set(x_1, 1, x_64); +lean_ctor_set(x_1, 0, x_68); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_69); return x_1; } } -static lean_object* _init_l_Lean_Server_FileWorker_handleNotification___closed__5() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Got unsupported notification method: ", 37); -return x_1; +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_70 = lean_ctor_get(x_38, 1); +x_71 = lean_ctor_get(x_38, 2); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_38); +x_72 = lean_ctor_get(x_41, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_41, 1); +lean_inc(x_73); +x_74 = lean_ctor_get(x_41, 2); +lean_inc(x_74); +x_75 = lean_ctor_get(x_41, 3); +lean_inc(x_75); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + lean_ctor_release(x_41, 3); + x_76 = x_41; +} else { + lean_dec_ref(x_41); + x_76 = lean_box(0); } +x_77 = 1; +if (lean_is_scalar(x_76)) { + x_78 = lean_alloc_ctor(1, 4, 1); +} else { + x_78 = x_76; } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleNotification(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_7; -x_6 = l_Lean_Server_FileWorker_handleNotification___closed__1; -x_7 = lean_string_dec_eq(x_1, x_6); -if (x_7 == 0) -{ -lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_Server_FileWorker_handleNotification___closed__2; -x_9 = lean_string_dec_eq(x_1, x_8); -if (x_9 == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = l_Lean_Server_FileWorker_handleNotification___closed__3; -x_11 = lean_string_dec_eq(x_1, x_10); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_Server_FileWorker_handleNotification___closed__4; -x_13 = lean_string_dec_eq(x_1, x_12); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_14 = l_Lean_Server_FileWorker_handleNotification___closed__5; -x_15 = lean_string_append(x_14, x_1); -x_16 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_17 = lean_string_append(x_15, x_16); -x_18 = l_IO_throwServerError___rarg(x_17, x_5); -return x_18; +lean_ctor_set(x_78, 0, x_40); +lean_ctor_set(x_78, 1, x_70); +lean_ctor_set(x_78, 2, x_71); +lean_ctor_set(x_78, 3, x_72); +lean_ctor_set_uint8(x_78, sizeof(void*)*4, x_77); +x_79 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_79, 0, x_75); +lean_ctor_set(x_79, 1, x_34); +lean_ctor_set(x_79, 2, x_35); +lean_ctor_set(x_79, 3, x_36); +lean_ctor_set_uint8(x_79, sizeof(void*)*4, x_77); +x_80 = 0; +lean_ctor_set(x_1, 3, x_79); +lean_ctor_set(x_1, 2, x_74); +lean_ctor_set(x_1, 1, x_73); +lean_ctor_set(x_1, 0, x_78); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_80); +return x_1; } -else -{ -lean_object* x_19; -x_19 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1(x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Server_FileWorker_handleRpcKeepAlive(x_20, x_3, x_4, x_21); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_20); -return x_22; } else { -uint8_t x_23; -lean_dec(x_4); -lean_dec(x_3); -x_23 = !lean_is_exclusive(x_19); -if (x_23 == 0) +uint8_t x_81; +lean_free_object(x_1); +x_81 = !lean_is_exclusive(x_41); +if (x_81 == 0) { -return x_19; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_82 = lean_ctor_get(x_41, 3); +lean_dec(x_82); +x_83 = lean_ctor_get(x_41, 2); +lean_dec(x_83); +x_84 = lean_ctor_get(x_41, 1); +lean_dec(x_84); +x_85 = lean_ctor_get(x_41, 0); +lean_dec(x_85); +x_86 = 1; +lean_ctor_set(x_41, 3, x_36); +lean_ctor_set(x_41, 2, x_35); +lean_ctor_set(x_41, 1, x_34); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_86); +return x_41; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_19, 0); -x_25 = lean_ctor_get(x_19, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_19); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +uint8_t x_87; lean_object* x_88; +lean_dec(x_41); +x_87 = 1; +x_88 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_88, 0, x_38); +lean_ctor_set(x_88, 1, x_34); +lean_ctor_set(x_88, 2, x_35); +lean_ctor_set(x_88, 3, x_36); +lean_ctor_set_uint8(x_88, sizeof(void*)*4, x_87); +return x_88; } } } } else { -lean_object* x_27; -x_27 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2(x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_27) == 0) +uint8_t x_89; +x_89 = lean_ctor_get_uint8(x_40, sizeof(void*)*4); +if (x_89 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_Server_FileWorker_handleRpcRelease(x_28, x_3, x_4, x_29); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_28); -return x_30; +uint8_t x_90; +x_90 = !lean_is_exclusive(x_38); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_91 = lean_ctor_get(x_38, 1); +x_92 = lean_ctor_get(x_38, 2); +x_93 = lean_ctor_get(x_38, 3); +x_94 = lean_ctor_get(x_38, 0); +lean_dec(x_94); +x_95 = !lean_is_exclusive(x_40); +if (x_95 == 0) +{ +uint8_t x_96; uint8_t x_97; +x_96 = 1; +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_96); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_93); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_96); +x_97 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_92); +lean_ctor_set(x_1, 1, x_91); +lean_ctor_set(x_1, 0, x_40); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_97); +return x_1; } else { -uint8_t x_31; -lean_dec(x_4); -lean_dec(x_3); -x_31 = !lean_is_exclusive(x_27); -if (x_31 == 0) -{ -return x_27; +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; uint8_t x_104; +x_98 = lean_ctor_get(x_40, 0); +x_99 = lean_ctor_get(x_40, 1); +x_100 = lean_ctor_get(x_40, 2); +x_101 = lean_ctor_get(x_40, 3); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_40); +x_102 = 1; +x_103 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_103, 0, x_98); +lean_ctor_set(x_103, 1, x_99); +lean_ctor_set(x_103, 2, x_100); +lean_ctor_set(x_103, 3, x_101); +lean_ctor_set_uint8(x_103, sizeof(void*)*4, x_102); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_93); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_102); +x_104 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_92); +lean_ctor_set(x_1, 1, x_91); +lean_ctor_set(x_1, 0, x_103); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_104); +return x_1; +} } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_27, 0); -x_33 = lean_ctor_get(x_27, 1); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_27); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_105 = lean_ctor_get(x_38, 1); +x_106 = lean_ctor_get(x_38, 2); +x_107 = lean_ctor_get(x_38, 3); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_38); +x_108 = lean_ctor_get(x_40, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_40, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_40, 2); +lean_inc(x_110); +x_111 = lean_ctor_get(x_40, 3); +lean_inc(x_111); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_112 = x_40; +} else { + lean_dec_ref(x_40); + x_112 = lean_box(0); } +x_113 = 1; +if (lean_is_scalar(x_112)) { + x_114 = lean_alloc_ctor(1, 4, 1); +} else { + x_114 = x_112; } +lean_ctor_set(x_114, 0, x_108); +lean_ctor_set(x_114, 1, x_109); +lean_ctor_set(x_114, 2, x_110); +lean_ctor_set(x_114, 3, x_111); +lean_ctor_set_uint8(x_114, sizeof(void*)*4, x_113); +x_115 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_115, 0, x_107); +lean_ctor_set(x_115, 1, x_34); +lean_ctor_set(x_115, 2, x_35); +lean_ctor_set(x_115, 3, x_36); +lean_ctor_set_uint8(x_115, sizeof(void*)*4, x_113); +x_116 = 0; +lean_ctor_set(x_1, 3, x_115); +lean_ctor_set(x_1, 2, x_106); +lean_ctor_set(x_1, 1, x_105); +lean_ctor_set(x_1, 0, x_114); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_116); +return x_1; } } else { -lean_object* x_35; -x_35 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3(x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_35, 1); -lean_inc(x_37); -lean_dec(x_35); -x_38 = l_Lean_Server_FileWorker_handleCancelRequest(x_36, x_3, x_4, x_37); -lean_dec(x_4); -lean_dec(x_3); -return x_38; -} -else +lean_object* x_117; +x_117 = lean_ctor_get(x_38, 3); +lean_inc(x_117); +if (lean_obj_tag(x_117) == 0) { -uint8_t x_39; -lean_dec(x_4); -lean_dec(x_3); -x_39 = !lean_is_exclusive(x_35); -if (x_39 == 0) +uint8_t x_118; +lean_free_object(x_1); +x_118 = !lean_is_exclusive(x_40); +if (x_118 == 0) { -return x_35; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_119 = lean_ctor_get(x_40, 3); +lean_dec(x_119); +x_120 = lean_ctor_get(x_40, 2); +lean_dec(x_120); +x_121 = lean_ctor_get(x_40, 1); +lean_dec(x_121); +x_122 = lean_ctor_get(x_40, 0); +lean_dec(x_122); +x_123 = 1; +lean_ctor_set(x_40, 3, x_36); +lean_ctor_set(x_40, 2, x_35); +lean_ctor_set(x_40, 1, x_34); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_123); +return x_40; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_35, 0); -x_41 = lean_ctor_get(x_35, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_35); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; -} -} +uint8_t x_124; lean_object* x_125; +lean_dec(x_40); +x_124 = 1; +x_125 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_125, 0, x_38); +lean_ctor_set(x_125, 1, x_34); +lean_ctor_set(x_125, 2, x_35); +lean_ctor_set(x_125, 3, x_36); +lean_ctor_set_uint8(x_125, sizeof(void*)*4, x_124); +return x_125; } } else { -lean_object* x_43; -x_43 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4(x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_43) == 0) +uint8_t x_126; +x_126 = lean_ctor_get_uint8(x_117, sizeof(void*)*4); +if (x_126 == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); -lean_inc(x_45); -lean_dec(x_43); -x_46 = l_Lean_Server_FileWorker_handleDidChange(x_44, x_3, x_4, x_45); -lean_dec(x_44); -return x_46; -} -else +uint8_t x_127; +lean_free_object(x_1); +x_127 = !lean_is_exclusive(x_38); +if (x_127 == 0) { -uint8_t x_47; -lean_dec(x_4); -lean_dec(x_3); -x_47 = !lean_is_exclusive(x_43); -if (x_47 == 0) +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_128 = lean_ctor_get(x_38, 1); +x_129 = lean_ctor_get(x_38, 2); +x_130 = lean_ctor_get(x_38, 3); +lean_dec(x_130); +x_131 = lean_ctor_get(x_38, 0); +lean_dec(x_131); +x_132 = !lean_is_exclusive(x_117); +if (x_132 == 0) { -return x_43; +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; uint8_t x_138; +x_133 = lean_ctor_get(x_117, 0); +x_134 = lean_ctor_get(x_117, 1); +x_135 = lean_ctor_get(x_117, 2); +x_136 = lean_ctor_get(x_117, 3); +x_137 = 1; +lean_inc(x_40); +lean_ctor_set(x_117, 3, x_133); +lean_ctor_set(x_117, 2, x_129); +lean_ctor_set(x_117, 1, x_128); +lean_ctor_set(x_117, 0, x_40); +x_138 = !lean_is_exclusive(x_40); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_139 = lean_ctor_get(x_40, 3); +lean_dec(x_139); +x_140 = lean_ctor_get(x_40, 2); +lean_dec(x_140); +x_141 = lean_ctor_get(x_40, 1); +lean_dec(x_141); +x_142 = lean_ctor_get(x_40, 0); +lean_dec(x_142); +lean_ctor_set_uint8(x_117, sizeof(void*)*4, x_137); +lean_ctor_set(x_40, 3, x_36); +lean_ctor_set(x_40, 2, x_35); +lean_ctor_set(x_40, 1, x_34); +lean_ctor_set(x_40, 0, x_136); +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_137); +x_143 = 0; +lean_ctor_set(x_38, 3, x_40); +lean_ctor_set(x_38, 2, x_135); +lean_ctor_set(x_38, 1, x_134); +lean_ctor_set(x_38, 0, x_117); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_143); +return x_38; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_43, 0); -x_49 = lean_ctor_get(x_43, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_43); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; -} -} -} +lean_object* x_144; uint8_t x_145; +lean_dec(x_40); +lean_ctor_set_uint8(x_117, sizeof(void*)*4, x_137); +x_144 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_144, 0, x_136); +lean_ctor_set(x_144, 1, x_34); +lean_ctor_set(x_144, 2, x_35); +lean_ctor_set(x_144, 3, x_36); +lean_ctor_set_uint8(x_144, sizeof(void*)*4, x_137); +x_145 = 0; +lean_ctor_set(x_38, 3, x_144); +lean_ctor_set(x_38, 2, x_135); +lean_ctor_set(x_38, 1, x_134); +lean_ctor_set(x_38, 0, x_117); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_145); +return x_38; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +else { -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__1(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_146 = lean_ctor_get(x_117, 0); +x_147 = lean_ctor_get(x_117, 1); +x_148 = lean_ctor_get(x_117, 2); +x_149 = lean_ctor_get(x_117, 3); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_117); +x_150 = 1; +lean_inc(x_40); +x_151 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_151, 0, x_40); +lean_ctor_set(x_151, 1, x_128); +lean_ctor_set(x_151, 2, x_129); +lean_ctor_set(x_151, 3, x_146); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_152 = x_40; +} else { + lean_dec_ref(x_40); + x_152 = lean_box(0); } +lean_ctor_set_uint8(x_151, sizeof(void*)*4, x_150); +if (lean_is_scalar(x_152)) { + x_153 = lean_alloc_ctor(1, 4, 1); +} else { + x_153 = x_152; } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__2(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; +lean_ctor_set(x_153, 0, x_149); +lean_ctor_set(x_153, 1, x_34); +lean_ctor_set(x_153, 2, x_35); +lean_ctor_set(x_153, 3, x_36); +lean_ctor_set_uint8(x_153, sizeof(void*)*4, x_150); +x_154 = 0; +lean_ctor_set(x_38, 3, x_153); +lean_ctor_set(x_38, 2, x_148); +lean_ctor_set(x_38, 1, x_147); +lean_ctor_set(x_38, 0, x_151); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_154); +return x_38; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: +else { -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__3(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; +x_155 = lean_ctor_get(x_38, 1); +x_156 = lean_ctor_get(x_38, 2); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_38); +x_157 = lean_ctor_get(x_117, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_117, 1); +lean_inc(x_158); +x_159 = lean_ctor_get(x_117, 2); +lean_inc(x_159); +x_160 = lean_ctor_get(x_117, 3); +lean_inc(x_160); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + lean_ctor_release(x_117, 2); + lean_ctor_release(x_117, 3); + x_161 = x_117; +} else { + lean_dec_ref(x_117); + x_161 = lean_box(0); } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleNotification___spec__4(x_1, x_2, x_3, x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_5; +x_162 = 1; +lean_inc(x_40); +if (lean_is_scalar(x_161)) { + x_163 = lean_alloc_ctor(1, 4, 1); +} else { + x_163 = x_161; } +lean_ctor_set(x_163, 0, x_40); +lean_ctor_set(x_163, 1, x_155); +lean_ctor_set(x_163, 2, x_156); +lean_ctor_set(x_163, 3, x_157); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_164 = x_40; +} else { + lean_dec_ref(x_40); + x_164 = lean_box(0); } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleNotification___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_Server_FileWorker_handleNotification(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_1); -return x_6; +lean_ctor_set_uint8(x_163, sizeof(void*)*4, x_162); +if (lean_is_scalar(x_164)) { + x_165 = lean_alloc_ctor(1, 4, 1); +} else { + x_165 = x_164; } +lean_ctor_set(x_165, 0, x_160); +lean_ctor_set(x_165, 1, x_34); +lean_ctor_set(x_165, 2, x_35); +lean_ctor_set(x_165, 3, x_36); +lean_ctor_set_uint8(x_165, sizeof(void*)*4, x_162); +x_166 = 0; +x_167 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_167, 0, x_163); +lean_ctor_set(x_167, 1, x_158); +lean_ctor_set(x_167, 2, x_159); +lean_ctor_set(x_167, 3, x_165); +lean_ctor_set_uint8(x_167, sizeof(void*)*4, x_166); +return x_167; } -LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; -x_4 = lean_box(0); -x_5 = 0; -x_6 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_6, 1, x_2); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_4); -lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); -return x_6; } else { -uint8_t x_7; -x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = !lean_is_exclusive(x_1); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_1, 1); -x_11 = lean_ctor_get(x_1, 2); -x_12 = lean_ctor_get(x_1, 3); -lean_inc(x_10); -lean_inc(x_2); -x_13 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_2, x_10); -switch (x_13) { -case 0: +uint8_t x_168; +x_168 = !lean_is_exclusive(x_38); +if (x_168 == 0) { -lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_9, x_2, x_3); -x_15 = 0; -lean_ctor_set(x_1, 0, x_14); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_15); -return x_1; -} -case 1: +lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_169 = lean_ctor_get(x_38, 3); +lean_dec(x_169); +x_170 = lean_ctor_get(x_38, 0); +lean_dec(x_170); +x_171 = !lean_is_exclusive(x_40); +if (x_171 == 0) { -uint8_t x_16; -lean_dec(x_11); -lean_dec(x_10); -x_16 = 0; -lean_ctor_set(x_1, 2, x_3); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_16); +uint8_t x_172; +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_126); +x_172 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_172); return x_1; } -default: +else { -lean_object* x_17; uint8_t x_18; -x_17 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_12, x_2, x_3); -x_18 = 0; -lean_ctor_set(x_1, 3, x_17); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_18); +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_173 = lean_ctor_get(x_40, 0); +x_174 = lean_ctor_get(x_40, 1); +x_175 = lean_ctor_get(x_40, 2); +x_176 = lean_ctor_get(x_40, 3); +lean_inc(x_176); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_40); +x_177 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_177, 0, x_173); +lean_ctor_set(x_177, 1, x_174); +lean_ctor_set(x_177, 2, x_175); +lean_ctor_set(x_177, 3, x_176); +lean_ctor_set_uint8(x_177, sizeof(void*)*4, x_126); +lean_ctor_set(x_38, 0, x_177); +x_178 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_178); return x_1; } } -} else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_19 = lean_ctor_get(x_1, 0); -x_20 = lean_ctor_get(x_1, 1); -x_21 = lean_ctor_get(x_1, 2); -x_22 = lean_ctor_get(x_1, 3); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_dec(x_1); -lean_inc(x_20); -lean_inc(x_2); -x_23 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_2, x_20); -switch (x_23) { -case 0: -{ -lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_24 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_19, x_2, x_3); -x_25 = 0; -x_26 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_20); -lean_ctor_set(x_26, 2, x_21); -lean_ctor_set(x_26, 3, x_22); -lean_ctor_set_uint8(x_26, sizeof(void*)*4, x_25); -return x_26; +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_179 = lean_ctor_get(x_38, 1); +x_180 = lean_ctor_get(x_38, 2); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_38); +x_181 = lean_ctor_get(x_40, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_40, 1); +lean_inc(x_182); +x_183 = lean_ctor_get(x_40, 2); +lean_inc(x_183); +x_184 = lean_ctor_get(x_40, 3); +lean_inc(x_184); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_185 = x_40; +} else { + lean_dec_ref(x_40); + x_185 = lean_box(0); +} +if (lean_is_scalar(x_185)) { + x_186 = lean_alloc_ctor(1, 4, 1); +} else { + x_186 = x_185; +} +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_182); +lean_ctor_set(x_186, 2, x_183); +lean_ctor_set(x_186, 3, x_184); +lean_ctor_set_uint8(x_186, sizeof(void*)*4, x_126); +x_187 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_179); +lean_ctor_set(x_187, 2, x_180); +lean_ctor_set(x_187, 3, x_117); +lean_ctor_set_uint8(x_187, sizeof(void*)*4, x_39); +x_188 = 1; +lean_ctor_set(x_1, 0, x_187); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_188); +return x_1; } -case 1: -{ -uint8_t x_27; lean_object* x_28; -lean_dec(x_21); -lean_dec(x_20); -x_27 = 0; -x_28 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_28, 0, x_19); -lean_ctor_set(x_28, 1, x_2); -lean_ctor_set(x_28, 2, x_3); -lean_ctor_set(x_28, 3, x_22); -lean_ctor_set_uint8(x_28, sizeof(void*)*4, x_27); -return x_28; } -default: -{ -lean_object* x_29; uint8_t x_30; lean_object* x_31; -x_29 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_22, x_2, x_3); -x_30 = 0; -x_31 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_31, 0, x_19); -lean_ctor_set(x_31, 1, x_20); -lean_ctor_set(x_31, 2, x_21); -lean_ctor_set(x_31, 3, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*4, x_30); -return x_31; } } } } else { -uint8_t x_32; -x_32 = !lean_is_exclusive(x_1); -if (x_32 == 0) +uint8_t x_189; +x_189 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_189); +return x_1; +} +} +case 1: { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_33 = lean_ctor_get(x_1, 0); -x_34 = lean_ctor_get(x_1, 1); -x_35 = lean_ctor_get(x_1, 2); -x_36 = lean_ctor_get(x_1, 3); -lean_inc(x_34); -lean_inc(x_2); -x_37 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_2, x_34); -switch (x_37) { -case 0: +uint8_t x_190; +lean_dec(x_35); +lean_dec(x_34); +x_190 = 1; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_190); +return x_1; +} +default: { -lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_33, x_2, x_3); -x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*4); -if (x_39 == 0) +lean_object* x_191; uint8_t x_192; +x_191 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_36, x_2, x_3); +x_192 = lean_ctor_get_uint8(x_191, sizeof(void*)*4); +if (x_192 == 0) { -lean_object* x_40; -x_40 = lean_ctor_get(x_38, 0); -lean_inc(x_40); -if (lean_obj_tag(x_40) == 0) +lean_object* x_193; +x_193 = lean_ctor_get(x_191, 0); +lean_inc(x_193); +if (lean_obj_tag(x_193) == 0) { -lean_object* x_41; -x_41 = lean_ctor_get(x_38, 3); -lean_inc(x_41); -if (lean_obj_tag(x_41) == 0) +lean_object* x_194; +x_194 = lean_ctor_get(x_191, 3); +lean_inc(x_194); +if (lean_obj_tag(x_194) == 0) { -uint8_t x_42; -x_42 = !lean_is_exclusive(x_38); -if (x_42 == 0) +uint8_t x_195; +x_195 = !lean_is_exclusive(x_191); +if (x_195 == 0) { -lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_43 = lean_ctor_get(x_38, 3); -lean_dec(x_43); -x_44 = lean_ctor_get(x_38, 0); -lean_dec(x_44); -lean_ctor_set(x_38, 0, x_41); -x_45 = 1; -lean_ctor_set(x_1, 0, x_38); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_45); +lean_object* x_196; lean_object* x_197; uint8_t x_198; +x_196 = lean_ctor_get(x_191, 3); +lean_dec(x_196); +x_197 = lean_ctor_get(x_191, 0); +lean_dec(x_197); +lean_ctor_set(x_191, 0, x_194); +x_198 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_198); return x_1; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = lean_ctor_get(x_38, 1); -x_47 = lean_ctor_get(x_38, 2); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_38); -x_48 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_48, 0, x_41); -lean_ctor_set(x_48, 1, x_46); -lean_ctor_set(x_48, 2, x_47); -lean_ctor_set(x_48, 3, x_41); -lean_ctor_set_uint8(x_48, sizeof(void*)*4, x_39); -x_49 = 1; -lean_ctor_set(x_1, 0, x_48); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_49); +lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +x_199 = lean_ctor_get(x_191, 1); +x_200 = lean_ctor_get(x_191, 2); +lean_inc(x_200); +lean_inc(x_199); +lean_dec(x_191); +x_201 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_201, 0, x_194); +lean_ctor_set(x_201, 1, x_199); +lean_ctor_set(x_201, 2, x_200); +lean_ctor_set(x_201, 3, x_194); +lean_ctor_set_uint8(x_201, sizeof(void*)*4, x_192); +x_202 = 1; +lean_ctor_set(x_1, 3, x_201); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_202); return x_1; } } else { -uint8_t x_50; -x_50 = lean_ctor_get_uint8(x_41, sizeof(void*)*4); -if (x_50 == 0) +uint8_t x_203; +x_203 = lean_ctor_get_uint8(x_194, sizeof(void*)*4); +if (x_203 == 0) { -uint8_t x_51; -x_51 = !lean_is_exclusive(x_38); -if (x_51 == 0) +uint8_t x_204; +x_204 = !lean_is_exclusive(x_191); +if (x_204 == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_52 = lean_ctor_get(x_38, 1); -x_53 = lean_ctor_get(x_38, 2); -x_54 = lean_ctor_get(x_38, 3); -lean_dec(x_54); -x_55 = lean_ctor_get(x_38, 0); -lean_dec(x_55); -x_56 = !lean_is_exclusive(x_41); -if (x_56 == 0) +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +x_205 = lean_ctor_get(x_191, 1); +x_206 = lean_ctor_get(x_191, 2); +x_207 = lean_ctor_get(x_191, 3); +lean_dec(x_207); +x_208 = lean_ctor_get(x_191, 0); +lean_dec(x_208); +x_209 = !lean_is_exclusive(x_194); +if (x_209 == 0) { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; uint8_t x_62; -x_57 = lean_ctor_get(x_41, 0); -x_58 = lean_ctor_get(x_41, 1); -x_59 = lean_ctor_get(x_41, 2); -x_60 = lean_ctor_get(x_41, 3); -x_61 = 1; -lean_ctor_set(x_41, 3, x_57); -lean_ctor_set(x_41, 2, x_53); -lean_ctor_set(x_41, 1, x_52); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_61); -lean_ctor_set(x_38, 3, x_36); -lean_ctor_set(x_38, 2, x_35); -lean_ctor_set(x_38, 1, x_34); -lean_ctor_set(x_38, 0, x_60); -lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_61); -x_62 = 0; -lean_ctor_set(x_1, 3, x_38); -lean_ctor_set(x_1, 2, x_59); -lean_ctor_set(x_1, 1, x_58); -lean_ctor_set(x_1, 0, x_41); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_62); +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; uint8_t x_215; +x_210 = lean_ctor_get(x_194, 0); +x_211 = lean_ctor_get(x_194, 1); +x_212 = lean_ctor_get(x_194, 2); +x_213 = lean_ctor_get(x_194, 3); +x_214 = 1; +lean_ctor_set(x_194, 3, x_193); +lean_ctor_set(x_194, 2, x_35); +lean_ctor_set(x_194, 1, x_34); +lean_ctor_set(x_194, 0, x_33); +lean_ctor_set_uint8(x_194, sizeof(void*)*4, x_214); +lean_ctor_set(x_191, 3, x_213); +lean_ctor_set(x_191, 2, x_212); +lean_ctor_set(x_191, 1, x_211); +lean_ctor_set(x_191, 0, x_210); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_214); +x_215 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_206); +lean_ctor_set(x_1, 1, x_205); +lean_ctor_set(x_1, 0, x_194); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_215); return x_1; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; uint8_t x_69; -x_63 = lean_ctor_get(x_41, 0); -x_64 = lean_ctor_get(x_41, 1); -x_65 = lean_ctor_get(x_41, 2); -x_66 = lean_ctor_get(x_41, 3); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_41); -x_67 = 1; -x_68 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_68, 0, x_40); -lean_ctor_set(x_68, 1, x_52); -lean_ctor_set(x_68, 2, x_53); -lean_ctor_set(x_68, 3, x_63); -lean_ctor_set_uint8(x_68, sizeof(void*)*4, x_67); -lean_ctor_set(x_38, 3, x_36); -lean_ctor_set(x_38, 2, x_35); -lean_ctor_set(x_38, 1, x_34); -lean_ctor_set(x_38, 0, x_66); -lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_67); -x_69 = 0; -lean_ctor_set(x_1, 3, x_38); -lean_ctor_set(x_1, 2, x_65); -lean_ctor_set(x_1, 1, x_64); -lean_ctor_set(x_1, 0, x_68); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_69); +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; lean_object* x_221; uint8_t x_222; +x_216 = lean_ctor_get(x_194, 0); +x_217 = lean_ctor_get(x_194, 1); +x_218 = lean_ctor_get(x_194, 2); +x_219 = lean_ctor_get(x_194, 3); +lean_inc(x_219); +lean_inc(x_218); +lean_inc(x_217); +lean_inc(x_216); +lean_dec(x_194); +x_220 = 1; +x_221 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_221, 0, x_33); +lean_ctor_set(x_221, 1, x_34); +lean_ctor_set(x_221, 2, x_35); +lean_ctor_set(x_221, 3, x_193); +lean_ctor_set_uint8(x_221, sizeof(void*)*4, x_220); +lean_ctor_set(x_191, 3, x_219); +lean_ctor_set(x_191, 2, x_218); +lean_ctor_set(x_191, 1, x_217); +lean_ctor_set(x_191, 0, x_216); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_220); +x_222 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_206); +lean_ctor_set(x_1, 1, x_205); +lean_ctor_set(x_1, 0, x_221); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_222); return x_1; } } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_70 = lean_ctor_get(x_38, 1); -x_71 = lean_ctor_get(x_38, 2); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_38); -x_72 = lean_ctor_get(x_41, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_41, 1); -lean_inc(x_73); -x_74 = lean_ctor_get(x_41, 2); -lean_inc(x_74); -x_75 = lean_ctor_get(x_41, 3); -lean_inc(x_75); -if (lean_is_exclusive(x_41)) { - lean_ctor_release(x_41, 0); - lean_ctor_release(x_41, 1); - lean_ctor_release(x_41, 2); - lean_ctor_release(x_41, 3); - x_76 = x_41; +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; +x_223 = lean_ctor_get(x_191, 1); +x_224 = lean_ctor_get(x_191, 2); +lean_inc(x_224); +lean_inc(x_223); +lean_dec(x_191); +x_225 = lean_ctor_get(x_194, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_194, 1); +lean_inc(x_226); +x_227 = lean_ctor_get(x_194, 2); +lean_inc(x_227); +x_228 = lean_ctor_get(x_194, 3); +lean_inc(x_228); +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + lean_ctor_release(x_194, 1); + lean_ctor_release(x_194, 2); + lean_ctor_release(x_194, 3); + x_229 = x_194; } else { - lean_dec_ref(x_41); - x_76 = lean_box(0); + lean_dec_ref(x_194); + x_229 = lean_box(0); } -x_77 = 1; -if (lean_is_scalar(x_76)) { - x_78 = lean_alloc_ctor(1, 4, 1); +x_230 = 1; +if (lean_is_scalar(x_229)) { + x_231 = lean_alloc_ctor(1, 4, 1); } else { - x_78 = x_76; + x_231 = x_229; } -lean_ctor_set(x_78, 0, x_40); -lean_ctor_set(x_78, 1, x_70); -lean_ctor_set(x_78, 2, x_71); -lean_ctor_set(x_78, 3, x_72); -lean_ctor_set_uint8(x_78, sizeof(void*)*4, x_77); -x_79 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_79, 0, x_75); -lean_ctor_set(x_79, 1, x_34); -lean_ctor_set(x_79, 2, x_35); -lean_ctor_set(x_79, 3, x_36); -lean_ctor_set_uint8(x_79, sizeof(void*)*4, x_77); -x_80 = 0; -lean_ctor_set(x_1, 3, x_79); -lean_ctor_set(x_1, 2, x_74); -lean_ctor_set(x_1, 1, x_73); -lean_ctor_set(x_1, 0, x_78); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_80); +lean_ctor_set(x_231, 0, x_33); +lean_ctor_set(x_231, 1, x_34); +lean_ctor_set(x_231, 2, x_35); +lean_ctor_set(x_231, 3, x_193); +lean_ctor_set_uint8(x_231, sizeof(void*)*4, x_230); +x_232 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_232, 0, x_225); +lean_ctor_set(x_232, 1, x_226); +lean_ctor_set(x_232, 2, x_227); +lean_ctor_set(x_232, 3, x_228); +lean_ctor_set_uint8(x_232, sizeof(void*)*4, x_230); +x_233 = 0; +lean_ctor_set(x_1, 3, x_232); +lean_ctor_set(x_1, 2, x_224); +lean_ctor_set(x_1, 1, x_223); +lean_ctor_set(x_1, 0, x_231); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_233); return x_1; } } else { -uint8_t x_81; +uint8_t x_234; lean_free_object(x_1); -x_81 = !lean_is_exclusive(x_41); -if (x_81 == 0) +x_234 = !lean_is_exclusive(x_194); +if (x_234 == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_82 = lean_ctor_get(x_41, 3); -lean_dec(x_82); -x_83 = lean_ctor_get(x_41, 2); -lean_dec(x_83); -x_84 = lean_ctor_get(x_41, 1); -lean_dec(x_84); -x_85 = lean_ctor_get(x_41, 0); -lean_dec(x_85); -x_86 = 1; -lean_ctor_set(x_41, 3, x_36); -lean_ctor_set(x_41, 2, x_35); -lean_ctor_set(x_41, 1, x_34); -lean_ctor_set(x_41, 0, x_38); -lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_86); -return x_41; +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; +x_235 = lean_ctor_get(x_194, 3); +lean_dec(x_235); +x_236 = lean_ctor_get(x_194, 2); +lean_dec(x_236); +x_237 = lean_ctor_get(x_194, 1); +lean_dec(x_237); +x_238 = lean_ctor_get(x_194, 0); +lean_dec(x_238); +x_239 = 1; +lean_ctor_set(x_194, 3, x_191); +lean_ctor_set(x_194, 2, x_35); +lean_ctor_set(x_194, 1, x_34); +lean_ctor_set(x_194, 0, x_33); +lean_ctor_set_uint8(x_194, sizeof(void*)*4, x_239); +return x_194; } else { -uint8_t x_87; lean_object* x_88; -lean_dec(x_41); -x_87 = 1; -x_88 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_88, 0, x_38); -lean_ctor_set(x_88, 1, x_34); -lean_ctor_set(x_88, 2, x_35); -lean_ctor_set(x_88, 3, x_36); -lean_ctor_set_uint8(x_88, sizeof(void*)*4, x_87); -return x_88; +uint8_t x_240; lean_object* x_241; +lean_dec(x_194); +x_240 = 1; +x_241 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_241, 0, x_33); +lean_ctor_set(x_241, 1, x_34); +lean_ctor_set(x_241, 2, x_35); +lean_ctor_set(x_241, 3, x_191); +lean_ctor_set_uint8(x_241, sizeof(void*)*4, x_240); +return x_241; } } } } else { -uint8_t x_89; -x_89 = lean_ctor_get_uint8(x_40, sizeof(void*)*4); -if (x_89 == 0) +uint8_t x_242; +x_242 = lean_ctor_get_uint8(x_193, sizeof(void*)*4); +if (x_242 == 0) { -uint8_t x_90; -x_90 = !lean_is_exclusive(x_38); -if (x_90 == 0) +uint8_t x_243; +x_243 = !lean_is_exclusive(x_191); +if (x_243 == 0) { -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_91 = lean_ctor_get(x_38, 1); -x_92 = lean_ctor_get(x_38, 2); -x_93 = lean_ctor_get(x_38, 3); -x_94 = lean_ctor_get(x_38, 0); -lean_dec(x_94); -x_95 = !lean_is_exclusive(x_40); -if (x_95 == 0) +lean_object* x_244; uint8_t x_245; +x_244 = lean_ctor_get(x_191, 0); +lean_dec(x_244); +x_245 = !lean_is_exclusive(x_193); +if (x_245 == 0) { -uint8_t x_96; uint8_t x_97; -x_96 = 1; -lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_96); -lean_ctor_set(x_38, 3, x_36); -lean_ctor_set(x_38, 2, x_35); -lean_ctor_set(x_38, 1, x_34); -lean_ctor_set(x_38, 0, x_93); -lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_96); -x_97 = 0; -lean_ctor_set(x_1, 3, x_38); -lean_ctor_set(x_1, 2, x_92); -lean_ctor_set(x_1, 1, x_91); -lean_ctor_set(x_1, 0, x_40); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_97); +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; uint8_t x_251; +x_246 = lean_ctor_get(x_193, 0); +x_247 = lean_ctor_get(x_193, 1); +x_248 = lean_ctor_get(x_193, 2); +x_249 = lean_ctor_get(x_193, 3); +x_250 = 1; +lean_ctor_set(x_193, 3, x_246); +lean_ctor_set(x_193, 2, x_35); +lean_ctor_set(x_193, 1, x_34); +lean_ctor_set(x_193, 0, x_33); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_250); +lean_ctor_set(x_191, 0, x_249); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_250); +x_251 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_248); +lean_ctor_set(x_1, 1, x_247); +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_251); return x_1; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; uint8_t x_104; -x_98 = lean_ctor_get(x_40, 0); -x_99 = lean_ctor_get(x_40, 1); -x_100 = lean_ctor_get(x_40, 2); -x_101 = lean_ctor_get(x_40, 3); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_40); -x_102 = 1; -x_103 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_103, 0, x_98); -lean_ctor_set(x_103, 1, x_99); -lean_ctor_set(x_103, 2, x_100); -lean_ctor_set(x_103, 3, x_101); -lean_ctor_set_uint8(x_103, sizeof(void*)*4, x_102); -lean_ctor_set(x_38, 3, x_36); -lean_ctor_set(x_38, 2, x_35); -lean_ctor_set(x_38, 1, x_34); -lean_ctor_set(x_38, 0, x_93); -lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_102); -x_104 = 0; -lean_ctor_set(x_1, 3, x_38); -lean_ctor_set(x_1, 2, x_92); -lean_ctor_set(x_1, 1, x_91); -lean_ctor_set(x_1, 0, x_103); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_104); +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; lean_object* x_257; uint8_t x_258; +x_252 = lean_ctor_get(x_193, 0); +x_253 = lean_ctor_get(x_193, 1); +x_254 = lean_ctor_get(x_193, 2); +x_255 = lean_ctor_get(x_193, 3); +lean_inc(x_255); +lean_inc(x_254); +lean_inc(x_253); +lean_inc(x_252); +lean_dec(x_193); +x_256 = 1; +x_257 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_257, 0, x_33); +lean_ctor_set(x_257, 1, x_34); +lean_ctor_set(x_257, 2, x_35); +lean_ctor_set(x_257, 3, x_252); +lean_ctor_set_uint8(x_257, sizeof(void*)*4, x_256); +lean_ctor_set(x_191, 0, x_255); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_256); +x_258 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_254); +lean_ctor_set(x_1, 1, x_253); +lean_ctor_set(x_1, 0, x_257); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_258); return x_1; } } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_105 = lean_ctor_get(x_38, 1); -x_106 = lean_ctor_get(x_38, 2); -x_107 = lean_ctor_get(x_38, 3); -lean_inc(x_107); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_38); -x_108 = lean_ctor_get(x_40, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_40, 1); -lean_inc(x_109); -x_110 = lean_ctor_get(x_40, 2); -lean_inc(x_110); -x_111 = lean_ctor_get(x_40, 3); -lean_inc(x_111); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - lean_ctor_release(x_40, 3); - x_112 = x_40; -} else { - lean_dec_ref(x_40); - x_112 = lean_box(0); -} -x_113 = 1; -if (lean_is_scalar(x_112)) { - x_114 = lean_alloc_ctor(1, 4, 1); -} else { - x_114 = x_112; -} -lean_ctor_set(x_114, 0, x_108); -lean_ctor_set(x_114, 1, x_109); -lean_ctor_set(x_114, 2, x_110); -lean_ctor_set(x_114, 3, x_111); -lean_ctor_set_uint8(x_114, sizeof(void*)*4, x_113); -x_115 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_115, 0, x_107); -lean_ctor_set(x_115, 1, x_34); -lean_ctor_set(x_115, 2, x_35); -lean_ctor_set(x_115, 3, x_36); -lean_ctor_set_uint8(x_115, sizeof(void*)*4, x_113); -x_116 = 0; -lean_ctor_set(x_1, 3, x_115); -lean_ctor_set(x_1, 2, x_106); -lean_ctor_set(x_1, 1, x_105); -lean_ctor_set(x_1, 0, x_114); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_116); +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; +x_259 = lean_ctor_get(x_191, 1); +x_260 = lean_ctor_get(x_191, 2); +x_261 = lean_ctor_get(x_191, 3); +lean_inc(x_261); +lean_inc(x_260); +lean_inc(x_259); +lean_dec(x_191); +x_262 = lean_ctor_get(x_193, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_193, 1); +lean_inc(x_263); +x_264 = lean_ctor_get(x_193, 2); +lean_inc(x_264); +x_265 = lean_ctor_get(x_193, 3); +lean_inc(x_265); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_266 = x_193; +} else { + lean_dec_ref(x_193); + x_266 = lean_box(0); +} +x_267 = 1; +if (lean_is_scalar(x_266)) { + x_268 = lean_alloc_ctor(1, 4, 1); +} else { + x_268 = x_266; +} +lean_ctor_set(x_268, 0, x_33); +lean_ctor_set(x_268, 1, x_34); +lean_ctor_set(x_268, 2, x_35); +lean_ctor_set(x_268, 3, x_262); +lean_ctor_set_uint8(x_268, sizeof(void*)*4, x_267); +x_269 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_269, 0, x_265); +lean_ctor_set(x_269, 1, x_259); +lean_ctor_set(x_269, 2, x_260); +lean_ctor_set(x_269, 3, x_261); +lean_ctor_set_uint8(x_269, sizeof(void*)*4, x_267); +x_270 = 0; +lean_ctor_set(x_1, 3, x_269); +lean_ctor_set(x_1, 2, x_264); +lean_ctor_set(x_1, 1, x_263); +lean_ctor_set(x_1, 0, x_268); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_270); return x_1; } } else { -lean_object* x_117; -x_117 = lean_ctor_get(x_38, 3); -lean_inc(x_117); -if (lean_obj_tag(x_117) == 0) +lean_object* x_271; +x_271 = lean_ctor_get(x_191, 3); +lean_inc(x_271); +if (lean_obj_tag(x_271) == 0) { -uint8_t x_118; +uint8_t x_272; lean_free_object(x_1); -x_118 = !lean_is_exclusive(x_40); -if (x_118 == 0) +x_272 = !lean_is_exclusive(x_193); +if (x_272 == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -x_119 = lean_ctor_get(x_40, 3); -lean_dec(x_119); -x_120 = lean_ctor_get(x_40, 2); -lean_dec(x_120); -x_121 = lean_ctor_get(x_40, 1); -lean_dec(x_121); -x_122 = lean_ctor_get(x_40, 0); -lean_dec(x_122); -x_123 = 1; -lean_ctor_set(x_40, 3, x_36); -lean_ctor_set(x_40, 2, x_35); -lean_ctor_set(x_40, 1, x_34); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_123); -return x_40; +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_273 = lean_ctor_get(x_193, 3); +lean_dec(x_273); +x_274 = lean_ctor_get(x_193, 2); +lean_dec(x_274); +x_275 = lean_ctor_get(x_193, 1); +lean_dec(x_275); +x_276 = lean_ctor_get(x_193, 0); +lean_dec(x_276); +x_277 = 1; +lean_ctor_set(x_193, 3, x_191); +lean_ctor_set(x_193, 2, x_35); +lean_ctor_set(x_193, 1, x_34); +lean_ctor_set(x_193, 0, x_33); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_277); +return x_193; } else { -uint8_t x_124; lean_object* x_125; -lean_dec(x_40); -x_124 = 1; -x_125 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_125, 0, x_38); -lean_ctor_set(x_125, 1, x_34); -lean_ctor_set(x_125, 2, x_35); -lean_ctor_set(x_125, 3, x_36); -lean_ctor_set_uint8(x_125, sizeof(void*)*4, x_124); -return x_125; +uint8_t x_278; lean_object* x_279; +lean_dec(x_193); +x_278 = 1; +x_279 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_279, 0, x_33); +lean_ctor_set(x_279, 1, x_34); +lean_ctor_set(x_279, 2, x_35); +lean_ctor_set(x_279, 3, x_191); +lean_ctor_set_uint8(x_279, sizeof(void*)*4, x_278); +return x_279; } } else { -uint8_t x_126; -x_126 = lean_ctor_get_uint8(x_117, sizeof(void*)*4); -if (x_126 == 0) +uint8_t x_280; +x_280 = lean_ctor_get_uint8(x_271, sizeof(void*)*4); +if (x_280 == 0) { -uint8_t x_127; +uint8_t x_281; lean_free_object(x_1); -x_127 = !lean_is_exclusive(x_38); -if (x_127 == 0) +x_281 = !lean_is_exclusive(x_191); +if (x_281 == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -x_128 = lean_ctor_get(x_38, 1); -x_129 = lean_ctor_get(x_38, 2); -x_130 = lean_ctor_get(x_38, 3); -lean_dec(x_130); -x_131 = lean_ctor_get(x_38, 0); -lean_dec(x_131); -x_132 = !lean_is_exclusive(x_117); -if (x_132 == 0) +lean_object* x_282; lean_object* x_283; uint8_t x_284; +x_282 = lean_ctor_get(x_191, 3); +lean_dec(x_282); +x_283 = lean_ctor_get(x_191, 0); +lean_dec(x_283); +x_284 = !lean_is_exclusive(x_271); +if (x_284 == 0) { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; uint8_t x_138; -x_133 = lean_ctor_get(x_117, 0); -x_134 = lean_ctor_get(x_117, 1); -x_135 = lean_ctor_get(x_117, 2); -x_136 = lean_ctor_get(x_117, 3); -x_137 = 1; -lean_inc(x_40); -lean_ctor_set(x_117, 3, x_133); -lean_ctor_set(x_117, 2, x_129); -lean_ctor_set(x_117, 1, x_128); -lean_ctor_set(x_117, 0, x_40); -x_138 = !lean_is_exclusive(x_40); -if (x_138 == 0) +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t x_289; uint8_t x_290; +x_285 = lean_ctor_get(x_271, 0); +x_286 = lean_ctor_get(x_271, 1); +x_287 = lean_ctor_get(x_271, 2); +x_288 = lean_ctor_get(x_271, 3); +x_289 = 1; +lean_inc(x_193); +lean_ctor_set(x_271, 3, x_193); +lean_ctor_set(x_271, 2, x_35); +lean_ctor_set(x_271, 1, x_34); +lean_ctor_set(x_271, 0, x_33); +x_290 = !lean_is_exclusive(x_193); +if (x_290 == 0) { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; -x_139 = lean_ctor_get(x_40, 3); -lean_dec(x_139); -x_140 = lean_ctor_get(x_40, 2); -lean_dec(x_140); -x_141 = lean_ctor_get(x_40, 1); -lean_dec(x_141); -x_142 = lean_ctor_get(x_40, 0); -lean_dec(x_142); -lean_ctor_set_uint8(x_117, sizeof(void*)*4, x_137); -lean_ctor_set(x_40, 3, x_36); -lean_ctor_set(x_40, 2, x_35); -lean_ctor_set(x_40, 1, x_34); -lean_ctor_set(x_40, 0, x_136); -lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_137); -x_143 = 0; -lean_ctor_set(x_38, 3, x_40); -lean_ctor_set(x_38, 2, x_135); -lean_ctor_set(x_38, 1, x_134); -lean_ctor_set(x_38, 0, x_117); -lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_143); -return x_38; +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; +x_291 = lean_ctor_get(x_193, 3); +lean_dec(x_291); +x_292 = lean_ctor_get(x_193, 2); +lean_dec(x_292); +x_293 = lean_ctor_get(x_193, 1); +lean_dec(x_293); +x_294 = lean_ctor_get(x_193, 0); +lean_dec(x_294); +lean_ctor_set_uint8(x_271, sizeof(void*)*4, x_289); +lean_ctor_set(x_193, 3, x_288); +lean_ctor_set(x_193, 2, x_287); +lean_ctor_set(x_193, 1, x_286); +lean_ctor_set(x_193, 0, x_285); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_289); +x_295 = 0; +lean_ctor_set(x_191, 3, x_193); +lean_ctor_set(x_191, 0, x_271); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_295); +return x_191; } else { -lean_object* x_144; uint8_t x_145; -lean_dec(x_40); -lean_ctor_set_uint8(x_117, sizeof(void*)*4, x_137); -x_144 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_144, 0, x_136); -lean_ctor_set(x_144, 1, x_34); -lean_ctor_set(x_144, 2, x_35); -lean_ctor_set(x_144, 3, x_36); -lean_ctor_set_uint8(x_144, sizeof(void*)*4, x_137); -x_145 = 0; -lean_ctor_set(x_38, 3, x_144); -lean_ctor_set(x_38, 2, x_135); -lean_ctor_set(x_38, 1, x_134); -lean_ctor_set(x_38, 0, x_117); -lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_145); -return x_38; +lean_object* x_296; uint8_t x_297; +lean_dec(x_193); +lean_ctor_set_uint8(x_271, sizeof(void*)*4, x_289); +x_296 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_296, 0, x_285); +lean_ctor_set(x_296, 1, x_286); +lean_ctor_set(x_296, 2, x_287); +lean_ctor_set(x_296, 3, x_288); +lean_ctor_set_uint8(x_296, sizeof(void*)*4, x_289); +x_297 = 0; +lean_ctor_set(x_191, 3, x_296); +lean_ctor_set(x_191, 0, x_271); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_297); +return x_191; } } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; -x_146 = lean_ctor_get(x_117, 0); -x_147 = lean_ctor_get(x_117, 1); -x_148 = lean_ctor_get(x_117, 2); -x_149 = lean_ctor_get(x_117, 3); -lean_inc(x_149); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_117); -x_150 = 1; -lean_inc(x_40); -x_151 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_151, 0, x_40); -lean_ctor_set(x_151, 1, x_128); -lean_ctor_set(x_151, 2, x_129); -lean_ctor_set(x_151, 3, x_146); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - lean_ctor_release(x_40, 3); - x_152 = x_40; +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; +x_298 = lean_ctor_get(x_271, 0); +x_299 = lean_ctor_get(x_271, 1); +x_300 = lean_ctor_get(x_271, 2); +x_301 = lean_ctor_get(x_271, 3); +lean_inc(x_301); +lean_inc(x_300); +lean_inc(x_299); +lean_inc(x_298); +lean_dec(x_271); +x_302 = 1; +lean_inc(x_193); +x_303 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_303, 0, x_33); +lean_ctor_set(x_303, 1, x_34); +lean_ctor_set(x_303, 2, x_35); +lean_ctor_set(x_303, 3, x_193); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_304 = x_193; } else { - lean_dec_ref(x_40); - x_152 = lean_box(0); + lean_dec_ref(x_193); + x_304 = lean_box(0); } -lean_ctor_set_uint8(x_151, sizeof(void*)*4, x_150); -if (lean_is_scalar(x_152)) { - x_153 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set_uint8(x_303, sizeof(void*)*4, x_302); +if (lean_is_scalar(x_304)) { + x_305 = lean_alloc_ctor(1, 4, 1); } else { - x_153 = x_152; + x_305 = x_304; } -lean_ctor_set(x_153, 0, x_149); -lean_ctor_set(x_153, 1, x_34); -lean_ctor_set(x_153, 2, x_35); -lean_ctor_set(x_153, 3, x_36); -lean_ctor_set_uint8(x_153, sizeof(void*)*4, x_150); -x_154 = 0; -lean_ctor_set(x_38, 3, x_153); -lean_ctor_set(x_38, 2, x_148); -lean_ctor_set(x_38, 1, x_147); -lean_ctor_set(x_38, 0, x_151); -lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_154); -return x_38; +lean_ctor_set(x_305, 0, x_298); +lean_ctor_set(x_305, 1, x_299); +lean_ctor_set(x_305, 2, x_300); +lean_ctor_set(x_305, 3, x_301); +lean_ctor_set_uint8(x_305, sizeof(void*)*4, x_302); +x_306 = 0; +lean_ctor_set(x_191, 3, x_305); +lean_ctor_set(x_191, 0, x_303); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_306); +return x_191; } } else { -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; -x_155 = lean_ctor_get(x_38, 1); -x_156 = lean_ctor_get(x_38, 2); -lean_inc(x_156); -lean_inc(x_155); -lean_dec(x_38); -x_157 = lean_ctor_get(x_117, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_117, 1); -lean_inc(x_158); -x_159 = lean_ctor_get(x_117, 2); -lean_inc(x_159); -x_160 = lean_ctor_get(x_117, 3); -lean_inc(x_160); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - lean_ctor_release(x_117, 2); - lean_ctor_release(x_117, 3); - x_161 = x_117; +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; uint8_t x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; lean_object* x_319; +x_307 = lean_ctor_get(x_191, 1); +x_308 = lean_ctor_get(x_191, 2); +lean_inc(x_308); +lean_inc(x_307); +lean_dec(x_191); +x_309 = lean_ctor_get(x_271, 0); +lean_inc(x_309); +x_310 = lean_ctor_get(x_271, 1); +lean_inc(x_310); +x_311 = lean_ctor_get(x_271, 2); +lean_inc(x_311); +x_312 = lean_ctor_get(x_271, 3); +lean_inc(x_312); +if (lean_is_exclusive(x_271)) { + lean_ctor_release(x_271, 0); + lean_ctor_release(x_271, 1); + lean_ctor_release(x_271, 2); + lean_ctor_release(x_271, 3); + x_313 = x_271; } else { - lean_dec_ref(x_117); - x_161 = lean_box(0); + lean_dec_ref(x_271); + x_313 = lean_box(0); } -x_162 = 1; -lean_inc(x_40); -if (lean_is_scalar(x_161)) { - x_163 = lean_alloc_ctor(1, 4, 1); +x_314 = 1; +lean_inc(x_193); +if (lean_is_scalar(x_313)) { + x_315 = lean_alloc_ctor(1, 4, 1); } else { - x_163 = x_161; + x_315 = x_313; } -lean_ctor_set(x_163, 0, x_40); -lean_ctor_set(x_163, 1, x_155); -lean_ctor_set(x_163, 2, x_156); -lean_ctor_set(x_163, 3, x_157); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - lean_ctor_release(x_40, 3); - x_164 = x_40; +lean_ctor_set(x_315, 0, x_33); +lean_ctor_set(x_315, 1, x_34); +lean_ctor_set(x_315, 2, x_35); +lean_ctor_set(x_315, 3, x_193); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_316 = x_193; } else { - lean_dec_ref(x_40); - x_164 = lean_box(0); + lean_dec_ref(x_193); + x_316 = lean_box(0); } -lean_ctor_set_uint8(x_163, sizeof(void*)*4, x_162); -if (lean_is_scalar(x_164)) { - x_165 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set_uint8(x_315, sizeof(void*)*4, x_314); +if (lean_is_scalar(x_316)) { + x_317 = lean_alloc_ctor(1, 4, 1); } else { - x_165 = x_164; + x_317 = x_316; } -lean_ctor_set(x_165, 0, x_160); -lean_ctor_set(x_165, 1, x_34); -lean_ctor_set(x_165, 2, x_35); -lean_ctor_set(x_165, 3, x_36); -lean_ctor_set_uint8(x_165, sizeof(void*)*4, x_162); -x_166 = 0; -x_167 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_167, 0, x_163); -lean_ctor_set(x_167, 1, x_158); -lean_ctor_set(x_167, 2, x_159); -lean_ctor_set(x_167, 3, x_165); -lean_ctor_set_uint8(x_167, sizeof(void*)*4, x_166); -return x_167; +lean_ctor_set(x_317, 0, x_309); +lean_ctor_set(x_317, 1, x_310); +lean_ctor_set(x_317, 2, x_311); +lean_ctor_set(x_317, 3, x_312); +lean_ctor_set_uint8(x_317, sizeof(void*)*4, x_314); +x_318 = 0; +x_319 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_319, 0, x_315); +lean_ctor_set(x_319, 1, x_307); +lean_ctor_set(x_319, 2, x_308); +lean_ctor_set(x_319, 3, x_317); +lean_ctor_set_uint8(x_319, sizeof(void*)*4, x_318); +return x_319; } } else { -uint8_t x_168; -x_168 = !lean_is_exclusive(x_38); -if (x_168 == 0) +uint8_t x_320; +x_320 = !lean_is_exclusive(x_191); +if (x_320 == 0) { -lean_object* x_169; lean_object* x_170; uint8_t x_171; -x_169 = lean_ctor_get(x_38, 3); -lean_dec(x_169); -x_170 = lean_ctor_get(x_38, 0); -lean_dec(x_170); -x_171 = !lean_is_exclusive(x_40); -if (x_171 == 0) +lean_object* x_321; lean_object* x_322; uint8_t x_323; +x_321 = lean_ctor_get(x_191, 3); +lean_dec(x_321); +x_322 = lean_ctor_get(x_191, 0); +lean_dec(x_322); +x_323 = !lean_is_exclusive(x_193); +if (x_323 == 0) { -uint8_t x_172; -lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_126); -x_172 = 1; -lean_ctor_set(x_1, 0, x_38); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_172); +uint8_t x_324; +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_280); +x_324 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_324); return x_1; } else { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; -x_173 = lean_ctor_get(x_40, 0); -x_174 = lean_ctor_get(x_40, 1); -x_175 = lean_ctor_get(x_40, 2); -x_176 = lean_ctor_get(x_40, 3); -lean_inc(x_176); -lean_inc(x_175); -lean_inc(x_174); -lean_inc(x_173); -lean_dec(x_40); -x_177 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_177, 0, x_173); -lean_ctor_set(x_177, 1, x_174); -lean_ctor_set(x_177, 2, x_175); -lean_ctor_set(x_177, 3, x_176); -lean_ctor_set_uint8(x_177, sizeof(void*)*4, x_126); -lean_ctor_set(x_38, 0, x_177); -x_178 = 1; -lean_ctor_set(x_1, 0, x_38); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_178); +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; +x_325 = lean_ctor_get(x_193, 0); +x_326 = lean_ctor_get(x_193, 1); +x_327 = lean_ctor_get(x_193, 2); +x_328 = lean_ctor_get(x_193, 3); +lean_inc(x_328); +lean_inc(x_327); +lean_inc(x_326); +lean_inc(x_325); +lean_dec(x_193); +x_329 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_329, 0, x_325); +lean_ctor_set(x_329, 1, x_326); +lean_ctor_set(x_329, 2, x_327); +lean_ctor_set(x_329, 3, x_328); +lean_ctor_set_uint8(x_329, sizeof(void*)*4, x_280); +lean_ctor_set(x_191, 0, x_329); +x_330 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_330); return x_1; } } else { -lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; -x_179 = lean_ctor_get(x_38, 1); -x_180 = lean_ctor_get(x_38, 2); -lean_inc(x_180); -lean_inc(x_179); -lean_dec(x_38); -x_181 = lean_ctor_get(x_40, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_40, 1); -lean_inc(x_182); -x_183 = lean_ctor_get(x_40, 2); -lean_inc(x_183); -x_184 = lean_ctor_get(x_40, 3); -lean_inc(x_184); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - lean_ctor_release(x_40, 2); - lean_ctor_release(x_40, 3); - x_185 = x_40; +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; +x_331 = lean_ctor_get(x_191, 1); +x_332 = lean_ctor_get(x_191, 2); +lean_inc(x_332); +lean_inc(x_331); +lean_dec(x_191); +x_333 = lean_ctor_get(x_193, 0); +lean_inc(x_333); +x_334 = lean_ctor_get(x_193, 1); +lean_inc(x_334); +x_335 = lean_ctor_get(x_193, 2); +lean_inc(x_335); +x_336 = lean_ctor_get(x_193, 3); +lean_inc(x_336); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_337 = x_193; } else { - lean_dec_ref(x_40); - x_185 = lean_box(0); + lean_dec_ref(x_193); + x_337 = lean_box(0); } -if (lean_is_scalar(x_185)) { - x_186 = lean_alloc_ctor(1, 4, 1); +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(1, 4, 1); } else { - x_186 = x_185; + x_338 = x_337; } -lean_ctor_set(x_186, 0, x_181); -lean_ctor_set(x_186, 1, x_182); -lean_ctor_set(x_186, 2, x_183); -lean_ctor_set(x_186, 3, x_184); -lean_ctor_set_uint8(x_186, sizeof(void*)*4, x_126); -x_187 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_187, 0, x_186); -lean_ctor_set(x_187, 1, x_179); -lean_ctor_set(x_187, 2, x_180); -lean_ctor_set(x_187, 3, x_117); -lean_ctor_set_uint8(x_187, sizeof(void*)*4, x_39); -x_188 = 1; -lean_ctor_set(x_1, 0, x_187); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_188); +lean_ctor_set(x_338, 0, x_333); +lean_ctor_set(x_338, 1, x_334); +lean_ctor_set(x_338, 2, x_335); +lean_ctor_set(x_338, 3, x_336); +lean_ctor_set_uint8(x_338, sizeof(void*)*4, x_280); +x_339 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_331); +lean_ctor_set(x_339, 2, x_332); +lean_ctor_set(x_339, 3, x_271); +lean_ctor_set_uint8(x_339, sizeof(void*)*4, x_192); +x_340 = 1; +lean_ctor_set(x_1, 3, x_339); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_340); return x_1; } } @@ -13100,1617 +11585,1515 @@ return x_1; } else { -uint8_t x_189; -x_189 = 1; -lean_ctor_set(x_1, 0, x_38); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_189); +uint8_t x_341; +x_341 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_341); return x_1; } } -case 1: -{ -uint8_t x_190; -lean_dec(x_35); -lean_dec(x_34); -x_190 = 1; -lean_ctor_set(x_1, 2, x_3); -lean_ctor_set(x_1, 1, x_2); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_190); -return x_1; } -default: +} +else { -lean_object* x_191; uint8_t x_192; -x_191 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_36, x_2, x_3); -x_192 = lean_ctor_get_uint8(x_191, sizeof(void*)*4); -if (x_192 == 0) +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; +x_342 = lean_ctor_get(x_1, 0); +x_343 = lean_ctor_get(x_1, 1); +x_344 = lean_ctor_get(x_1, 2); +x_345 = lean_ctor_get(x_1, 3); +lean_inc(x_345); +lean_inc(x_344); +lean_inc(x_343); +lean_inc(x_342); +lean_dec(x_1); +lean_inc(x_343); +lean_inc(x_2); +x_346 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_2, x_343); +switch (x_346) { +case 0: { -lean_object* x_193; -x_193 = lean_ctor_get(x_191, 0); -lean_inc(x_193); -if (lean_obj_tag(x_193) == 0) +lean_object* x_347; uint8_t x_348; +x_347 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_342, x_2, x_3); +x_348 = lean_ctor_get_uint8(x_347, sizeof(void*)*4); +if (x_348 == 0) { -lean_object* x_194; -x_194 = lean_ctor_get(x_191, 3); -lean_inc(x_194); -if (lean_obj_tag(x_194) == 0) +lean_object* x_349; +x_349 = lean_ctor_get(x_347, 0); +lean_inc(x_349); +if (lean_obj_tag(x_349) == 0) { -uint8_t x_195; -x_195 = !lean_is_exclusive(x_191); -if (x_195 == 0) +lean_object* x_350; +x_350 = lean_ctor_get(x_347, 3); +lean_inc(x_350); +if (lean_obj_tag(x_350) == 0) { -lean_object* x_196; lean_object* x_197; uint8_t x_198; -x_196 = lean_ctor_get(x_191, 3); -lean_dec(x_196); -x_197 = lean_ctor_get(x_191, 0); -lean_dec(x_197); -lean_ctor_set(x_191, 0, x_194); -x_198 = 1; -lean_ctor_set(x_1, 3, x_191); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_198); -return x_1; +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; uint8_t x_355; lean_object* x_356; +x_351 = lean_ctor_get(x_347, 1); +lean_inc(x_351); +x_352 = lean_ctor_get(x_347, 2); +lean_inc(x_352); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_353 = x_347; +} else { + lean_dec_ref(x_347); + x_353 = lean_box(0); } -else -{ -lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_199 = lean_ctor_get(x_191, 1); -x_200 = lean_ctor_get(x_191, 2); -lean_inc(x_200); -lean_inc(x_199); -lean_dec(x_191); -x_201 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_201, 0, x_194); -lean_ctor_set(x_201, 1, x_199); -lean_ctor_set(x_201, 2, x_200); -lean_ctor_set(x_201, 3, x_194); -lean_ctor_set_uint8(x_201, sizeof(void*)*4, x_192); -x_202 = 1; -lean_ctor_set(x_1, 3, x_201); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_202); -return x_1; +if (lean_is_scalar(x_353)) { + x_354 = lean_alloc_ctor(1, 4, 1); +} else { + x_354 = x_353; } +lean_ctor_set(x_354, 0, x_350); +lean_ctor_set(x_354, 1, x_351); +lean_ctor_set(x_354, 2, x_352); +lean_ctor_set(x_354, 3, x_350); +lean_ctor_set_uint8(x_354, sizeof(void*)*4, x_348); +x_355 = 1; +x_356 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_356, 0, x_354); +lean_ctor_set(x_356, 1, x_343); +lean_ctor_set(x_356, 2, x_344); +lean_ctor_set(x_356, 3, x_345); +lean_ctor_set_uint8(x_356, sizeof(void*)*4, x_355); +return x_356; } else { -uint8_t x_203; -x_203 = lean_ctor_get_uint8(x_194, sizeof(void*)*4); -if (x_203 == 0) -{ -uint8_t x_204; -x_204 = !lean_is_exclusive(x_191); -if (x_204 == 0) -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; -x_205 = lean_ctor_get(x_191, 1); -x_206 = lean_ctor_get(x_191, 2); -x_207 = lean_ctor_get(x_191, 3); -lean_dec(x_207); -x_208 = lean_ctor_get(x_191, 0); -lean_dec(x_208); -x_209 = !lean_is_exclusive(x_194); -if (x_209 == 0) -{ -lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; uint8_t x_215; -x_210 = lean_ctor_get(x_194, 0); -x_211 = lean_ctor_get(x_194, 1); -x_212 = lean_ctor_get(x_194, 2); -x_213 = lean_ctor_get(x_194, 3); -x_214 = 1; -lean_ctor_set(x_194, 3, x_193); -lean_ctor_set(x_194, 2, x_35); -lean_ctor_set(x_194, 1, x_34); -lean_ctor_set(x_194, 0, x_33); -lean_ctor_set_uint8(x_194, sizeof(void*)*4, x_214); -lean_ctor_set(x_191, 3, x_213); -lean_ctor_set(x_191, 2, x_212); -lean_ctor_set(x_191, 1, x_211); -lean_ctor_set(x_191, 0, x_210); -lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_214); -x_215 = 0; -lean_ctor_set(x_1, 3, x_191); -lean_ctor_set(x_1, 2, x_206); -lean_ctor_set(x_1, 1, x_205); -lean_ctor_set(x_1, 0, x_194); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_215); -return x_1; -} -else +uint8_t x_357; +x_357 = lean_ctor_get_uint8(x_350, sizeof(void*)*4); +if (x_357 == 0) { -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; lean_object* x_221; uint8_t x_222; -x_216 = lean_ctor_get(x_194, 0); -x_217 = lean_ctor_get(x_194, 1); -x_218 = lean_ctor_get(x_194, 2); -x_219 = lean_ctor_get(x_194, 3); -lean_inc(x_219); -lean_inc(x_218); -lean_inc(x_217); -lean_inc(x_216); -lean_dec(x_194); -x_220 = 1; -x_221 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_221, 0, x_33); -lean_ctor_set(x_221, 1, x_34); -lean_ctor_set(x_221, 2, x_35); -lean_ctor_set(x_221, 3, x_193); -lean_ctor_set_uint8(x_221, sizeof(void*)*4, x_220); -lean_ctor_set(x_191, 3, x_219); -lean_ctor_set(x_191, 2, x_218); -lean_ctor_set(x_191, 1, x_217); -lean_ctor_set(x_191, 0, x_216); -lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_220); -x_222 = 0; -lean_ctor_set(x_1, 3, x_191); -lean_ctor_set(x_1, 2, x_206); -lean_ctor_set(x_1, 1, x_205); -lean_ctor_set(x_1, 0, x_221); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_222); -return x_1; -} +lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; lean_object* x_370; +x_358 = lean_ctor_get(x_347, 1); +lean_inc(x_358); +x_359 = lean_ctor_get(x_347, 2); +lean_inc(x_359); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_360 = x_347; +} else { + lean_dec_ref(x_347); + x_360 = lean_box(0); } -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; -x_223 = lean_ctor_get(x_191, 1); -x_224 = lean_ctor_get(x_191, 2); -lean_inc(x_224); -lean_inc(x_223); -lean_dec(x_191); -x_225 = lean_ctor_get(x_194, 0); -lean_inc(x_225); -x_226 = lean_ctor_get(x_194, 1); -lean_inc(x_226); -x_227 = lean_ctor_get(x_194, 2); -lean_inc(x_227); -x_228 = lean_ctor_get(x_194, 3); -lean_inc(x_228); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - lean_ctor_release(x_194, 2); - lean_ctor_release(x_194, 3); - x_229 = x_194; +x_361 = lean_ctor_get(x_350, 0); +lean_inc(x_361); +x_362 = lean_ctor_get(x_350, 1); +lean_inc(x_362); +x_363 = lean_ctor_get(x_350, 2); +lean_inc(x_363); +x_364 = lean_ctor_get(x_350, 3); +lean_inc(x_364); +if (lean_is_exclusive(x_350)) { + lean_ctor_release(x_350, 0); + lean_ctor_release(x_350, 1); + lean_ctor_release(x_350, 2); + lean_ctor_release(x_350, 3); + x_365 = x_350; } else { - lean_dec_ref(x_194); - x_229 = lean_box(0); + lean_dec_ref(x_350); + x_365 = lean_box(0); } -x_230 = 1; -if (lean_is_scalar(x_229)) { - x_231 = lean_alloc_ctor(1, 4, 1); +x_366 = 1; +if (lean_is_scalar(x_365)) { + x_367 = lean_alloc_ctor(1, 4, 1); } else { - x_231 = x_229; + x_367 = x_365; } -lean_ctor_set(x_231, 0, x_33); -lean_ctor_set(x_231, 1, x_34); -lean_ctor_set(x_231, 2, x_35); -lean_ctor_set(x_231, 3, x_193); -lean_ctor_set_uint8(x_231, sizeof(void*)*4, x_230); -x_232 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_232, 0, x_225); -lean_ctor_set(x_232, 1, x_226); -lean_ctor_set(x_232, 2, x_227); -lean_ctor_set(x_232, 3, x_228); -lean_ctor_set_uint8(x_232, sizeof(void*)*4, x_230); -x_233 = 0; -lean_ctor_set(x_1, 3, x_232); -lean_ctor_set(x_1, 2, x_224); -lean_ctor_set(x_1, 1, x_223); -lean_ctor_set(x_1, 0, x_231); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_233); -return x_1; +lean_ctor_set(x_367, 0, x_349); +lean_ctor_set(x_367, 1, x_358); +lean_ctor_set(x_367, 2, x_359); +lean_ctor_set(x_367, 3, x_361); +lean_ctor_set_uint8(x_367, sizeof(void*)*4, x_366); +if (lean_is_scalar(x_360)) { + x_368 = lean_alloc_ctor(1, 4, 1); +} else { + x_368 = x_360; } +lean_ctor_set(x_368, 0, x_364); +lean_ctor_set(x_368, 1, x_343); +lean_ctor_set(x_368, 2, x_344); +lean_ctor_set(x_368, 3, x_345); +lean_ctor_set_uint8(x_368, sizeof(void*)*4, x_366); +x_369 = 0; +x_370 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_370, 0, x_367); +lean_ctor_set(x_370, 1, x_362); +lean_ctor_set(x_370, 2, x_363); +lean_ctor_set(x_370, 3, x_368); +lean_ctor_set_uint8(x_370, sizeof(void*)*4, x_369); +return x_370; } else { -uint8_t x_234; -lean_free_object(x_1); -x_234 = !lean_is_exclusive(x_194); -if (x_234 == 0) -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; -x_235 = lean_ctor_get(x_194, 3); -lean_dec(x_235); -x_236 = lean_ctor_get(x_194, 2); -lean_dec(x_236); -x_237 = lean_ctor_get(x_194, 1); -lean_dec(x_237); -x_238 = lean_ctor_get(x_194, 0); -lean_dec(x_238); -x_239 = 1; -lean_ctor_set(x_194, 3, x_191); -lean_ctor_set(x_194, 2, x_35); -lean_ctor_set(x_194, 1, x_34); -lean_ctor_set(x_194, 0, x_33); -lean_ctor_set_uint8(x_194, sizeof(void*)*4, x_239); -return x_194; +lean_object* x_371; uint8_t x_372; lean_object* x_373; +if (lean_is_exclusive(x_350)) { + lean_ctor_release(x_350, 0); + lean_ctor_release(x_350, 1); + lean_ctor_release(x_350, 2); + lean_ctor_release(x_350, 3); + x_371 = x_350; +} else { + lean_dec_ref(x_350); + x_371 = lean_box(0); } -else -{ -uint8_t x_240; lean_object* x_241; -lean_dec(x_194); -x_240 = 1; -x_241 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_241, 0, x_33); -lean_ctor_set(x_241, 1, x_34); -lean_ctor_set(x_241, 2, x_35); -lean_ctor_set(x_241, 3, x_191); -lean_ctor_set_uint8(x_241, sizeof(void*)*4, x_240); -return x_241; +x_372 = 1; +if (lean_is_scalar(x_371)) { + x_373 = lean_alloc_ctor(1, 4, 1); +} else { + x_373 = x_371; } +lean_ctor_set(x_373, 0, x_347); +lean_ctor_set(x_373, 1, x_343); +lean_ctor_set(x_373, 2, x_344); +lean_ctor_set(x_373, 3, x_345); +lean_ctor_set_uint8(x_373, sizeof(void*)*4, x_372); +return x_373; } } } else { -uint8_t x_242; -x_242 = lean_ctor_get_uint8(x_193, sizeof(void*)*4); -if (x_242 == 0) -{ -uint8_t x_243; -x_243 = !lean_is_exclusive(x_191); -if (x_243 == 0) -{ -lean_object* x_244; uint8_t x_245; -x_244 = lean_ctor_get(x_191, 0); -lean_dec(x_244); -x_245 = !lean_is_exclusive(x_193); -if (x_245 == 0) -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; uint8_t x_251; -x_246 = lean_ctor_get(x_193, 0); -x_247 = lean_ctor_get(x_193, 1); -x_248 = lean_ctor_get(x_193, 2); -x_249 = lean_ctor_get(x_193, 3); -x_250 = 1; -lean_ctor_set(x_193, 3, x_246); -lean_ctor_set(x_193, 2, x_35); -lean_ctor_set(x_193, 1, x_34); -lean_ctor_set(x_193, 0, x_33); -lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_250); -lean_ctor_set(x_191, 0, x_249); -lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_250); -x_251 = 0; -lean_ctor_set(x_1, 3, x_191); -lean_ctor_set(x_1, 2, x_248); -lean_ctor_set(x_1, 1, x_247); -lean_ctor_set(x_1, 0, x_193); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_251); -return x_1; -} -else +uint8_t x_374; +x_374 = lean_ctor_get_uint8(x_349, sizeof(void*)*4); +if (x_374 == 0) { -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; lean_object* x_257; uint8_t x_258; -x_252 = lean_ctor_get(x_193, 0); -x_253 = lean_ctor_get(x_193, 1); -x_254 = lean_ctor_get(x_193, 2); -x_255 = lean_ctor_get(x_193, 3); -lean_inc(x_255); -lean_inc(x_254); -lean_inc(x_253); -lean_inc(x_252); -lean_dec(x_193); -x_256 = 1; -x_257 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_257, 0, x_33); -lean_ctor_set(x_257, 1, x_34); -lean_ctor_set(x_257, 2, x_35); -lean_ctor_set(x_257, 3, x_252); -lean_ctor_set_uint8(x_257, sizeof(void*)*4, x_256); -lean_ctor_set(x_191, 0, x_255); -lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_256); -x_258 = 0; -lean_ctor_set(x_1, 3, x_191); -lean_ctor_set(x_1, 2, x_254); -lean_ctor_set(x_1, 1, x_253); -lean_ctor_set(x_1, 0, x_257); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_258); -return x_1; -} +lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; lean_object* x_388; +x_375 = lean_ctor_get(x_347, 1); +lean_inc(x_375); +x_376 = lean_ctor_get(x_347, 2); +lean_inc(x_376); +x_377 = lean_ctor_get(x_347, 3); +lean_inc(x_377); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_378 = x_347; +} else { + lean_dec_ref(x_347); + x_378 = lean_box(0); } -else -{ -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; -x_259 = lean_ctor_get(x_191, 1); -x_260 = lean_ctor_get(x_191, 2); -x_261 = lean_ctor_get(x_191, 3); -lean_inc(x_261); -lean_inc(x_260); -lean_inc(x_259); -lean_dec(x_191); -x_262 = lean_ctor_get(x_193, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_193, 1); -lean_inc(x_263); -x_264 = lean_ctor_get(x_193, 2); -lean_inc(x_264); -x_265 = lean_ctor_get(x_193, 3); -lean_inc(x_265); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - lean_ctor_release(x_193, 2); - lean_ctor_release(x_193, 3); - x_266 = x_193; +x_379 = lean_ctor_get(x_349, 0); +lean_inc(x_379); +x_380 = lean_ctor_get(x_349, 1); +lean_inc(x_380); +x_381 = lean_ctor_get(x_349, 2); +lean_inc(x_381); +x_382 = lean_ctor_get(x_349, 3); +lean_inc(x_382); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_383 = x_349; } else { - lean_dec_ref(x_193); - x_266 = lean_box(0); + lean_dec_ref(x_349); + x_383 = lean_box(0); } -x_267 = 1; -if (lean_is_scalar(x_266)) { - x_268 = lean_alloc_ctor(1, 4, 1); +x_384 = 1; +if (lean_is_scalar(x_383)) { + x_385 = lean_alloc_ctor(1, 4, 1); } else { - x_268 = x_266; + x_385 = x_383; } -lean_ctor_set(x_268, 0, x_33); -lean_ctor_set(x_268, 1, x_34); -lean_ctor_set(x_268, 2, x_35); -lean_ctor_set(x_268, 3, x_262); -lean_ctor_set_uint8(x_268, sizeof(void*)*4, x_267); -x_269 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_269, 0, x_265); -lean_ctor_set(x_269, 1, x_259); -lean_ctor_set(x_269, 2, x_260); -lean_ctor_set(x_269, 3, x_261); -lean_ctor_set_uint8(x_269, sizeof(void*)*4, x_267); -x_270 = 0; -lean_ctor_set(x_1, 3, x_269); -lean_ctor_set(x_1, 2, x_264); -lean_ctor_set(x_1, 1, x_263); -lean_ctor_set(x_1, 0, x_268); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_270); -return x_1; +lean_ctor_set(x_385, 0, x_379); +lean_ctor_set(x_385, 1, x_380); +lean_ctor_set(x_385, 2, x_381); +lean_ctor_set(x_385, 3, x_382); +lean_ctor_set_uint8(x_385, sizeof(void*)*4, x_384); +if (lean_is_scalar(x_378)) { + x_386 = lean_alloc_ctor(1, 4, 1); +} else { + x_386 = x_378; } +lean_ctor_set(x_386, 0, x_377); +lean_ctor_set(x_386, 1, x_343); +lean_ctor_set(x_386, 2, x_344); +lean_ctor_set(x_386, 3, x_345); +lean_ctor_set_uint8(x_386, sizeof(void*)*4, x_384); +x_387 = 0; +x_388 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_388, 0, x_385); +lean_ctor_set(x_388, 1, x_375); +lean_ctor_set(x_388, 2, x_376); +lean_ctor_set(x_388, 3, x_386); +lean_ctor_set_uint8(x_388, sizeof(void*)*4, x_387); +return x_388; } else { -lean_object* x_271; -x_271 = lean_ctor_get(x_191, 3); -lean_inc(x_271); -if (lean_obj_tag(x_271) == 0) -{ -uint8_t x_272; -lean_free_object(x_1); -x_272 = !lean_is_exclusive(x_193); -if (x_272 == 0) +lean_object* x_389; +x_389 = lean_ctor_get(x_347, 3); +lean_inc(x_389); +if (lean_obj_tag(x_389) == 0) { -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; -x_273 = lean_ctor_get(x_193, 3); -lean_dec(x_273); -x_274 = lean_ctor_get(x_193, 2); -lean_dec(x_274); -x_275 = lean_ctor_get(x_193, 1); -lean_dec(x_275); -x_276 = lean_ctor_get(x_193, 0); -lean_dec(x_276); -x_277 = 1; -lean_ctor_set(x_193, 3, x_191); -lean_ctor_set(x_193, 2, x_35); -lean_ctor_set(x_193, 1, x_34); -lean_ctor_set(x_193, 0, x_33); -lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_277); -return x_193; +lean_object* x_390; uint8_t x_391; lean_object* x_392; +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_390 = x_349; +} else { + lean_dec_ref(x_349); + x_390 = lean_box(0); } -else -{ -uint8_t x_278; lean_object* x_279; -lean_dec(x_193); -x_278 = 1; -x_279 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_279, 0, x_33); -lean_ctor_set(x_279, 1, x_34); -lean_ctor_set(x_279, 2, x_35); -lean_ctor_set(x_279, 3, x_191); -lean_ctor_set_uint8(x_279, sizeof(void*)*4, x_278); -return x_279; +x_391 = 1; +if (lean_is_scalar(x_390)) { + x_392 = lean_alloc_ctor(1, 4, 1); +} else { + x_392 = x_390; } +lean_ctor_set(x_392, 0, x_347); +lean_ctor_set(x_392, 1, x_343); +lean_ctor_set(x_392, 2, x_344); +lean_ctor_set(x_392, 3, x_345); +lean_ctor_set_uint8(x_392, sizeof(void*)*4, x_391); +return x_392; } else { -uint8_t x_280; -x_280 = lean_ctor_get_uint8(x_271, sizeof(void*)*4); -if (x_280 == 0) -{ -uint8_t x_281; -lean_free_object(x_1); -x_281 = !lean_is_exclusive(x_191); -if (x_281 == 0) -{ -lean_object* x_282; lean_object* x_283; uint8_t x_284; -x_282 = lean_ctor_get(x_191, 3); -lean_dec(x_282); -x_283 = lean_ctor_get(x_191, 0); -lean_dec(x_283); -x_284 = !lean_is_exclusive(x_271); -if (x_284 == 0) -{ -lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t x_289; uint8_t x_290; -x_285 = lean_ctor_get(x_271, 0); -x_286 = lean_ctor_get(x_271, 1); -x_287 = lean_ctor_get(x_271, 2); -x_288 = lean_ctor_get(x_271, 3); -x_289 = 1; -lean_inc(x_193); -lean_ctor_set(x_271, 3, x_193); -lean_ctor_set(x_271, 2, x_35); -lean_ctor_set(x_271, 1, x_34); -lean_ctor_set(x_271, 0, x_33); -x_290 = !lean_is_exclusive(x_193); -if (x_290 == 0) -{ -lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; -x_291 = lean_ctor_get(x_193, 3); -lean_dec(x_291); -x_292 = lean_ctor_get(x_193, 2); -lean_dec(x_292); -x_293 = lean_ctor_get(x_193, 1); -lean_dec(x_293); -x_294 = lean_ctor_get(x_193, 0); -lean_dec(x_294); -lean_ctor_set_uint8(x_271, sizeof(void*)*4, x_289); -lean_ctor_set(x_193, 3, x_288); -lean_ctor_set(x_193, 2, x_287); -lean_ctor_set(x_193, 1, x_286); -lean_ctor_set(x_193, 0, x_285); -lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_289); -x_295 = 0; -lean_ctor_set(x_191, 3, x_193); -lean_ctor_set(x_191, 0, x_271); -lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_295); -return x_191; -} -else +uint8_t x_393; +x_393 = lean_ctor_get_uint8(x_389, sizeof(void*)*4); +if (x_393 == 0) { -lean_object* x_296; uint8_t x_297; -lean_dec(x_193); -lean_ctor_set_uint8(x_271, sizeof(void*)*4, x_289); -x_296 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_296, 0, x_285); -lean_ctor_set(x_296, 1, x_286); -lean_ctor_set(x_296, 2, x_287); -lean_ctor_set(x_296, 3, x_288); -lean_ctor_set_uint8(x_296, sizeof(void*)*4, x_289); -x_297 = 0; -lean_ctor_set(x_191, 3, x_296); -lean_ctor_set(x_191, 0, x_271); -lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_297); -return x_191; +lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; uint8_t x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; lean_object* x_407; +x_394 = lean_ctor_get(x_347, 1); +lean_inc(x_394); +x_395 = lean_ctor_get(x_347, 2); +lean_inc(x_395); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_396 = x_347; +} else { + lean_dec_ref(x_347); + x_396 = lean_box(0); } +x_397 = lean_ctor_get(x_389, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_389, 1); +lean_inc(x_398); +x_399 = lean_ctor_get(x_389, 2); +lean_inc(x_399); +x_400 = lean_ctor_get(x_389, 3); +lean_inc(x_400); +if (lean_is_exclusive(x_389)) { + lean_ctor_release(x_389, 0); + lean_ctor_release(x_389, 1); + lean_ctor_release(x_389, 2); + lean_ctor_release(x_389, 3); + x_401 = x_389; +} else { + lean_dec_ref(x_389); + x_401 = lean_box(0); } -else -{ -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; -x_298 = lean_ctor_get(x_271, 0); -x_299 = lean_ctor_get(x_271, 1); -x_300 = lean_ctor_get(x_271, 2); -x_301 = lean_ctor_get(x_271, 3); -lean_inc(x_301); -lean_inc(x_300); -lean_inc(x_299); -lean_inc(x_298); -lean_dec(x_271); -x_302 = 1; -lean_inc(x_193); -x_303 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_303, 0, x_33); -lean_ctor_set(x_303, 1, x_34); -lean_ctor_set(x_303, 2, x_35); -lean_ctor_set(x_303, 3, x_193); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - lean_ctor_release(x_193, 2); - lean_ctor_release(x_193, 3); - x_304 = x_193; +x_402 = 1; +lean_inc(x_349); +if (lean_is_scalar(x_401)) { + x_403 = lean_alloc_ctor(1, 4, 1); +} else { + x_403 = x_401; +} +lean_ctor_set(x_403, 0, x_349); +lean_ctor_set(x_403, 1, x_394); +lean_ctor_set(x_403, 2, x_395); +lean_ctor_set(x_403, 3, x_397); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_404 = x_349; } else { - lean_dec_ref(x_193); - x_304 = lean_box(0); + lean_dec_ref(x_349); + x_404 = lean_box(0); } -lean_ctor_set_uint8(x_303, sizeof(void*)*4, x_302); -if (lean_is_scalar(x_304)) { - x_305 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set_uint8(x_403, sizeof(void*)*4, x_402); +if (lean_is_scalar(x_404)) { + x_405 = lean_alloc_ctor(1, 4, 1); } else { - x_305 = x_304; + x_405 = x_404; } -lean_ctor_set(x_305, 0, x_298); -lean_ctor_set(x_305, 1, x_299); -lean_ctor_set(x_305, 2, x_300); -lean_ctor_set(x_305, 3, x_301); -lean_ctor_set_uint8(x_305, sizeof(void*)*4, x_302); -x_306 = 0; -lean_ctor_set(x_191, 3, x_305); -lean_ctor_set(x_191, 0, x_303); -lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_306); -return x_191; +lean_ctor_set(x_405, 0, x_400); +lean_ctor_set(x_405, 1, x_343); +lean_ctor_set(x_405, 2, x_344); +lean_ctor_set(x_405, 3, x_345); +lean_ctor_set_uint8(x_405, sizeof(void*)*4, x_402); +x_406 = 0; +if (lean_is_scalar(x_396)) { + x_407 = lean_alloc_ctor(1, 4, 1); +} else { + x_407 = x_396; } +lean_ctor_set(x_407, 0, x_403); +lean_ctor_set(x_407, 1, x_398); +lean_ctor_set(x_407, 2, x_399); +lean_ctor_set(x_407, 3, x_405); +lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); +return x_407; } else { -lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; uint8_t x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; lean_object* x_319; -x_307 = lean_ctor_get(x_191, 1); -x_308 = lean_ctor_get(x_191, 2); -lean_inc(x_308); -lean_inc(x_307); -lean_dec(x_191); -x_309 = lean_ctor_get(x_271, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_271, 1); -lean_inc(x_310); -x_311 = lean_ctor_get(x_271, 2); -lean_inc(x_311); -x_312 = lean_ctor_get(x_271, 3); -lean_inc(x_312); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - lean_ctor_release(x_271, 2); - lean_ctor_release(x_271, 3); - x_313 = x_271; +lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; lean_object* x_419; +x_408 = lean_ctor_get(x_347, 1); +lean_inc(x_408); +x_409 = lean_ctor_get(x_347, 2); +lean_inc(x_409); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_410 = x_347; } else { - lean_dec_ref(x_271); - x_313 = lean_box(0); + lean_dec_ref(x_347); + x_410 = lean_box(0); } -x_314 = 1; -lean_inc(x_193); -if (lean_is_scalar(x_313)) { - x_315 = lean_alloc_ctor(1, 4, 1); +x_411 = lean_ctor_get(x_349, 0); +lean_inc(x_411); +x_412 = lean_ctor_get(x_349, 1); +lean_inc(x_412); +x_413 = lean_ctor_get(x_349, 2); +lean_inc(x_413); +x_414 = lean_ctor_get(x_349, 3); +lean_inc(x_414); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_415 = x_349; } else { - x_315 = x_313; + lean_dec_ref(x_349); + x_415 = lean_box(0); } -lean_ctor_set(x_315, 0, x_33); -lean_ctor_set(x_315, 1, x_34); -lean_ctor_set(x_315, 2, x_35); -lean_ctor_set(x_315, 3, x_193); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - lean_ctor_release(x_193, 2); - lean_ctor_release(x_193, 3); - x_316 = x_193; +if (lean_is_scalar(x_415)) { + x_416 = lean_alloc_ctor(1, 4, 1); } else { - lean_dec_ref(x_193); - x_316 = lean_box(0); + x_416 = x_415; } -lean_ctor_set_uint8(x_315, sizeof(void*)*4, x_314); -if (lean_is_scalar(x_316)) { - x_317 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_416, 0, x_411); +lean_ctor_set(x_416, 1, x_412); +lean_ctor_set(x_416, 2, x_413); +lean_ctor_set(x_416, 3, x_414); +lean_ctor_set_uint8(x_416, sizeof(void*)*4, x_393); +if (lean_is_scalar(x_410)) { + x_417 = lean_alloc_ctor(1, 4, 1); } else { - x_317 = x_316; + x_417 = x_410; +} +lean_ctor_set(x_417, 0, x_416); +lean_ctor_set(x_417, 1, x_408); +lean_ctor_set(x_417, 2, x_409); +lean_ctor_set(x_417, 3, x_389); +lean_ctor_set_uint8(x_417, sizeof(void*)*4, x_348); +x_418 = 1; +x_419 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_419, 0, x_417); +lean_ctor_set(x_419, 1, x_343); +lean_ctor_set(x_419, 2, x_344); +lean_ctor_set(x_419, 3, x_345); +lean_ctor_set_uint8(x_419, sizeof(void*)*4, x_418); +return x_419; +} +} } -lean_ctor_set(x_317, 0, x_309); -lean_ctor_set(x_317, 1, x_310); -lean_ctor_set(x_317, 2, x_311); -lean_ctor_set(x_317, 3, x_312); -lean_ctor_set_uint8(x_317, sizeof(void*)*4, x_314); -x_318 = 0; -x_319 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_319, 0, x_315); -lean_ctor_set(x_319, 1, x_307); -lean_ctor_set(x_319, 2, x_308); -lean_ctor_set(x_319, 3, x_317); -lean_ctor_set_uint8(x_319, sizeof(void*)*4, x_318); -return x_319; } } else { -uint8_t x_320; -x_320 = !lean_is_exclusive(x_191); -if (x_320 == 0) -{ -lean_object* x_321; lean_object* x_322; uint8_t x_323; -x_321 = lean_ctor_get(x_191, 3); -lean_dec(x_321); -x_322 = lean_ctor_get(x_191, 0); -lean_dec(x_322); -x_323 = !lean_is_exclusive(x_193); -if (x_323 == 0) +uint8_t x_420; lean_object* x_421; +x_420 = 1; +x_421 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_421, 0, x_347); +lean_ctor_set(x_421, 1, x_343); +lean_ctor_set(x_421, 2, x_344); +lean_ctor_set(x_421, 3, x_345); +lean_ctor_set_uint8(x_421, sizeof(void*)*4, x_420); +return x_421; +} +} +case 1: { -uint8_t x_324; -lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_280); -x_324 = 1; -lean_ctor_set(x_1, 3, x_191); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_324); -return x_1; +uint8_t x_422; lean_object* x_423; +lean_dec(x_344); +lean_dec(x_343); +x_422 = 1; +x_423 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_423, 0, x_342); +lean_ctor_set(x_423, 1, x_2); +lean_ctor_set(x_423, 2, x_3); +lean_ctor_set(x_423, 3, x_345); +lean_ctor_set_uint8(x_423, sizeof(void*)*4, x_422); +return x_423; } -else +default: { -lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; -x_325 = lean_ctor_get(x_193, 0); -x_326 = lean_ctor_get(x_193, 1); -x_327 = lean_ctor_get(x_193, 2); -x_328 = lean_ctor_get(x_193, 3); -lean_inc(x_328); -lean_inc(x_327); -lean_inc(x_326); -lean_inc(x_325); -lean_dec(x_193); -x_329 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_329, 0, x_325); -lean_ctor_set(x_329, 1, x_326); -lean_ctor_set(x_329, 2, x_327); -lean_ctor_set(x_329, 3, x_328); -lean_ctor_set_uint8(x_329, sizeof(void*)*4, x_280); -lean_ctor_set(x_191, 0, x_329); -x_330 = 1; -lean_ctor_set(x_1, 3, x_191); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_330); -return x_1; +lean_object* x_424; uint8_t x_425; +x_424 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_345, x_2, x_3); +x_425 = lean_ctor_get_uint8(x_424, sizeof(void*)*4); +if (x_425 == 0) +{ +lean_object* x_426; +x_426 = lean_ctor_get(x_424, 0); +lean_inc(x_426); +if (lean_obj_tag(x_426) == 0) +{ +lean_object* x_427; +x_427 = lean_ctor_get(x_424, 3); +lean_inc(x_427); +if (lean_obj_tag(x_427) == 0) +{ +lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; uint8_t x_432; lean_object* x_433; +x_428 = lean_ctor_get(x_424, 1); +lean_inc(x_428); +x_429 = lean_ctor_get(x_424, 2); +lean_inc(x_429); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_430 = x_424; +} else { + lean_dec_ref(x_424); + x_430 = lean_box(0); +} +if (lean_is_scalar(x_430)) { + x_431 = lean_alloc_ctor(1, 4, 1); +} else { + x_431 = x_430; } +lean_ctor_set(x_431, 0, x_427); +lean_ctor_set(x_431, 1, x_428); +lean_ctor_set(x_431, 2, x_429); +lean_ctor_set(x_431, 3, x_427); +lean_ctor_set_uint8(x_431, sizeof(void*)*4, x_425); +x_432 = 1; +x_433 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_433, 0, x_342); +lean_ctor_set(x_433, 1, x_343); +lean_ctor_set(x_433, 2, x_344); +lean_ctor_set(x_433, 3, x_431); +lean_ctor_set_uint8(x_433, sizeof(void*)*4, x_432); +return x_433; } else { -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; -x_331 = lean_ctor_get(x_191, 1); -x_332 = lean_ctor_get(x_191, 2); -lean_inc(x_332); -lean_inc(x_331); -lean_dec(x_191); -x_333 = lean_ctor_get(x_193, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_193, 1); -lean_inc(x_334); -x_335 = lean_ctor_get(x_193, 2); -lean_inc(x_335); -x_336 = lean_ctor_get(x_193, 3); -lean_inc(x_336); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - lean_ctor_release(x_193, 2); - lean_ctor_release(x_193, 3); - x_337 = x_193; +uint8_t x_434; +x_434 = lean_ctor_get_uint8(x_427, sizeof(void*)*4); +if (x_434 == 0) +{ +lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; lean_object* x_447; +x_435 = lean_ctor_get(x_424, 1); +lean_inc(x_435); +x_436 = lean_ctor_get(x_424, 2); +lean_inc(x_436); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_437 = x_424; } else { - lean_dec_ref(x_193); - x_337 = lean_box(0); + lean_dec_ref(x_424); + x_437 = lean_box(0); } -if (lean_is_scalar(x_337)) { - x_338 = lean_alloc_ctor(1, 4, 1); +x_438 = lean_ctor_get(x_427, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_427, 1); +lean_inc(x_439); +x_440 = lean_ctor_get(x_427, 2); +lean_inc(x_440); +x_441 = lean_ctor_get(x_427, 3); +lean_inc(x_441); +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + lean_ctor_release(x_427, 2); + lean_ctor_release(x_427, 3); + x_442 = x_427; } else { - x_338 = x_337; + lean_dec_ref(x_427); + x_442 = lean_box(0); } -lean_ctor_set(x_338, 0, x_333); -lean_ctor_set(x_338, 1, x_334); -lean_ctor_set(x_338, 2, x_335); -lean_ctor_set(x_338, 3, x_336); -lean_ctor_set_uint8(x_338, sizeof(void*)*4, x_280); -x_339 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_331); -lean_ctor_set(x_339, 2, x_332); -lean_ctor_set(x_339, 3, x_271); -lean_ctor_set_uint8(x_339, sizeof(void*)*4, x_192); -x_340 = 1; -lean_ctor_set(x_1, 3, x_339); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_340); -return x_1; +x_443 = 1; +if (lean_is_scalar(x_442)) { + x_444 = lean_alloc_ctor(1, 4, 1); +} else { + x_444 = x_442; +} +lean_ctor_set(x_444, 0, x_342); +lean_ctor_set(x_444, 1, x_343); +lean_ctor_set(x_444, 2, x_344); +lean_ctor_set(x_444, 3, x_426); +lean_ctor_set_uint8(x_444, sizeof(void*)*4, x_443); +if (lean_is_scalar(x_437)) { + x_445 = lean_alloc_ctor(1, 4, 1); +} else { + x_445 = x_437; +} +lean_ctor_set(x_445, 0, x_438); +lean_ctor_set(x_445, 1, x_439); +lean_ctor_set(x_445, 2, x_440); +lean_ctor_set(x_445, 3, x_441); +lean_ctor_set_uint8(x_445, sizeof(void*)*4, x_443); +x_446 = 0; +x_447 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_447, 0, x_444); +lean_ctor_set(x_447, 1, x_435); +lean_ctor_set(x_447, 2, x_436); +lean_ctor_set(x_447, 3, x_445); +lean_ctor_set_uint8(x_447, sizeof(void*)*4, x_446); +return x_447; } +else +{ +lean_object* x_448; uint8_t x_449; lean_object* x_450; +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + lean_ctor_release(x_427, 2); + lean_ctor_release(x_427, 3); + x_448 = x_427; +} else { + lean_dec_ref(x_427); + x_448 = lean_box(0); } +x_449 = 1; +if (lean_is_scalar(x_448)) { + x_450 = lean_alloc_ctor(1, 4, 1); +} else { + x_450 = x_448; } +lean_ctor_set(x_450, 0, x_342); +lean_ctor_set(x_450, 1, x_343); +lean_ctor_set(x_450, 2, x_344); +lean_ctor_set(x_450, 3, x_424); +lean_ctor_set_uint8(x_450, sizeof(void*)*4, x_449); +return x_450; } } } else { -uint8_t x_341; -x_341 = 1; -lean_ctor_set(x_1, 3, x_191); -lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_341); -return x_1; +uint8_t x_451; +x_451 = lean_ctor_get_uint8(x_426, sizeof(void*)*4); +if (x_451 == 0) +{ +lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; uint8_t x_461; lean_object* x_462; lean_object* x_463; uint8_t x_464; lean_object* x_465; +x_452 = lean_ctor_get(x_424, 1); +lean_inc(x_452); +x_453 = lean_ctor_get(x_424, 2); +lean_inc(x_453); +x_454 = lean_ctor_get(x_424, 3); +lean_inc(x_454); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_455 = x_424; +} else { + lean_dec_ref(x_424); + x_455 = lean_box(0); +} +x_456 = lean_ctor_get(x_426, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_426, 1); +lean_inc(x_457); +x_458 = lean_ctor_get(x_426, 2); +lean_inc(x_458); +x_459 = lean_ctor_get(x_426, 3); +lean_inc(x_459); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_460 = x_426; +} else { + lean_dec_ref(x_426); + x_460 = lean_box(0); } +x_461 = 1; +if (lean_is_scalar(x_460)) { + x_462 = lean_alloc_ctor(1, 4, 1); +} else { + x_462 = x_460; } +lean_ctor_set(x_462, 0, x_342); +lean_ctor_set(x_462, 1, x_343); +lean_ctor_set(x_462, 2, x_344); +lean_ctor_set(x_462, 3, x_456); +lean_ctor_set_uint8(x_462, sizeof(void*)*4, x_461); +if (lean_is_scalar(x_455)) { + x_463 = lean_alloc_ctor(1, 4, 1); +} else { + x_463 = x_455; } +lean_ctor_set(x_463, 0, x_459); +lean_ctor_set(x_463, 1, x_452); +lean_ctor_set(x_463, 2, x_453); +lean_ctor_set(x_463, 3, x_454); +lean_ctor_set_uint8(x_463, sizeof(void*)*4, x_461); +x_464 = 0; +x_465 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_465, 0, x_462); +lean_ctor_set(x_465, 1, x_457); +lean_ctor_set(x_465, 2, x_458); +lean_ctor_set(x_465, 3, x_463); +lean_ctor_set_uint8(x_465, sizeof(void*)*4, x_464); +return x_465; } else { -lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; -x_342 = lean_ctor_get(x_1, 0); -x_343 = lean_ctor_get(x_1, 1); -x_344 = lean_ctor_get(x_1, 2); -x_345 = lean_ctor_get(x_1, 3); -lean_inc(x_345); -lean_inc(x_344); -lean_inc(x_343); -lean_inc(x_342); -lean_dec(x_1); -lean_inc(x_343); -lean_inc(x_2); -x_346 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_ordRequestID____x40_Lean_Data_JsonRpc___hyg_151_(x_2, x_343); -switch (x_346) { -case 0: -{ -lean_object* x_347; uint8_t x_348; -x_347 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_342, x_2, x_3); -x_348 = lean_ctor_get_uint8(x_347, sizeof(void*)*4); -if (x_348 == 0) -{ -lean_object* x_349; -x_349 = lean_ctor_get(x_347, 0); -lean_inc(x_349); -if (lean_obj_tag(x_349) == 0) -{ -lean_object* x_350; -x_350 = lean_ctor_get(x_347, 3); -lean_inc(x_350); -if (lean_obj_tag(x_350) == 0) -{ -lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; uint8_t x_355; lean_object* x_356; -x_351 = lean_ctor_get(x_347, 1); -lean_inc(x_351); -x_352 = lean_ctor_get(x_347, 2); -lean_inc(x_352); -if (lean_is_exclusive(x_347)) { - lean_ctor_release(x_347, 0); - lean_ctor_release(x_347, 1); - lean_ctor_release(x_347, 2); - lean_ctor_release(x_347, 3); - x_353 = x_347; +lean_object* x_466; +x_466 = lean_ctor_get(x_424, 3); +lean_inc(x_466); +if (lean_obj_tag(x_466) == 0) +{ +lean_object* x_467; uint8_t x_468; lean_object* x_469; +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_467 = x_426; } else { - lean_dec_ref(x_347); - x_353 = lean_box(0); + lean_dec_ref(x_426); + x_467 = lean_box(0); } -if (lean_is_scalar(x_353)) { - x_354 = lean_alloc_ctor(1, 4, 1); +x_468 = 1; +if (lean_is_scalar(x_467)) { + x_469 = lean_alloc_ctor(1, 4, 1); } else { - x_354 = x_353; + x_469 = x_467; } -lean_ctor_set(x_354, 0, x_350); -lean_ctor_set(x_354, 1, x_351); -lean_ctor_set(x_354, 2, x_352); -lean_ctor_set(x_354, 3, x_350); -lean_ctor_set_uint8(x_354, sizeof(void*)*4, x_348); -x_355 = 1; -x_356 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_356, 0, x_354); -lean_ctor_set(x_356, 1, x_343); -lean_ctor_set(x_356, 2, x_344); -lean_ctor_set(x_356, 3, x_345); -lean_ctor_set_uint8(x_356, sizeof(void*)*4, x_355); -return x_356; +lean_ctor_set(x_469, 0, x_342); +lean_ctor_set(x_469, 1, x_343); +lean_ctor_set(x_469, 2, x_344); +lean_ctor_set(x_469, 3, x_424); +lean_ctor_set_uint8(x_469, sizeof(void*)*4, x_468); +return x_469; } else { -uint8_t x_357; -x_357 = lean_ctor_get_uint8(x_350, sizeof(void*)*4); -if (x_357 == 0) +uint8_t x_470; +x_470 = lean_ctor_get_uint8(x_466, sizeof(void*)*4); +if (x_470 == 0) { -lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; lean_object* x_370; -x_358 = lean_ctor_get(x_347, 1); -lean_inc(x_358); -x_359 = lean_ctor_get(x_347, 2); -lean_inc(x_359); -if (lean_is_exclusive(x_347)) { - lean_ctor_release(x_347, 0); - lean_ctor_release(x_347, 1); - lean_ctor_release(x_347, 2); - lean_ctor_release(x_347, 3); - x_360 = x_347; +lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; uint8_t x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; lean_object* x_484; +x_471 = lean_ctor_get(x_424, 1); +lean_inc(x_471); +x_472 = lean_ctor_get(x_424, 2); +lean_inc(x_472); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_473 = x_424; } else { - lean_dec_ref(x_347); - x_360 = lean_box(0); + lean_dec_ref(x_424); + x_473 = lean_box(0); } -x_361 = lean_ctor_get(x_350, 0); -lean_inc(x_361); -x_362 = lean_ctor_get(x_350, 1); -lean_inc(x_362); -x_363 = lean_ctor_get(x_350, 2); -lean_inc(x_363); -x_364 = lean_ctor_get(x_350, 3); -lean_inc(x_364); -if (lean_is_exclusive(x_350)) { - lean_ctor_release(x_350, 0); - lean_ctor_release(x_350, 1); - lean_ctor_release(x_350, 2); - lean_ctor_release(x_350, 3); - x_365 = x_350; +x_474 = lean_ctor_get(x_466, 0); +lean_inc(x_474); +x_475 = lean_ctor_get(x_466, 1); +lean_inc(x_475); +x_476 = lean_ctor_get(x_466, 2); +lean_inc(x_476); +x_477 = lean_ctor_get(x_466, 3); +lean_inc(x_477); +if (lean_is_exclusive(x_466)) { + lean_ctor_release(x_466, 0); + lean_ctor_release(x_466, 1); + lean_ctor_release(x_466, 2); + lean_ctor_release(x_466, 3); + x_478 = x_466; } else { - lean_dec_ref(x_350); - x_365 = lean_box(0); + lean_dec_ref(x_466); + x_478 = lean_box(0); } -x_366 = 1; -if (lean_is_scalar(x_365)) { - x_367 = lean_alloc_ctor(1, 4, 1); +x_479 = 1; +lean_inc(x_426); +if (lean_is_scalar(x_478)) { + x_480 = lean_alloc_ctor(1, 4, 1); } else { - x_367 = x_365; + x_480 = x_478; } -lean_ctor_set(x_367, 0, x_349); -lean_ctor_set(x_367, 1, x_358); -lean_ctor_set(x_367, 2, x_359); -lean_ctor_set(x_367, 3, x_361); -lean_ctor_set_uint8(x_367, sizeof(void*)*4, x_366); -if (lean_is_scalar(x_360)) { - x_368 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_480, 0, x_342); +lean_ctor_set(x_480, 1, x_343); +lean_ctor_set(x_480, 2, x_344); +lean_ctor_set(x_480, 3, x_426); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_481 = x_426; } else { - x_368 = x_360; -} -lean_ctor_set(x_368, 0, x_364); -lean_ctor_set(x_368, 1, x_343); -lean_ctor_set(x_368, 2, x_344); -lean_ctor_set(x_368, 3, x_345); -lean_ctor_set_uint8(x_368, sizeof(void*)*4, x_366); -x_369 = 0; -x_370 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_370, 0, x_367); -lean_ctor_set(x_370, 1, x_362); -lean_ctor_set(x_370, 2, x_363); -lean_ctor_set(x_370, 3, x_368); -lean_ctor_set_uint8(x_370, sizeof(void*)*4, x_369); -return x_370; + lean_dec_ref(x_426); + x_481 = lean_box(0); } -else -{ -lean_object* x_371; uint8_t x_372; lean_object* x_373; -if (lean_is_exclusive(x_350)) { - lean_ctor_release(x_350, 0); - lean_ctor_release(x_350, 1); - lean_ctor_release(x_350, 2); - lean_ctor_release(x_350, 3); - x_371 = x_350; +lean_ctor_set_uint8(x_480, sizeof(void*)*4, x_479); +if (lean_is_scalar(x_481)) { + x_482 = lean_alloc_ctor(1, 4, 1); } else { - lean_dec_ref(x_350); - x_371 = lean_box(0); + x_482 = x_481; } -x_372 = 1; -if (lean_is_scalar(x_371)) { - x_373 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_482, 0, x_474); +lean_ctor_set(x_482, 1, x_475); +lean_ctor_set(x_482, 2, x_476); +lean_ctor_set(x_482, 3, x_477); +lean_ctor_set_uint8(x_482, sizeof(void*)*4, x_479); +x_483 = 0; +if (lean_is_scalar(x_473)) { + x_484 = lean_alloc_ctor(1, 4, 1); } else { - x_373 = x_371; -} -lean_ctor_set(x_373, 0, x_347); -lean_ctor_set(x_373, 1, x_343); -lean_ctor_set(x_373, 2, x_344); -lean_ctor_set(x_373, 3, x_345); -lean_ctor_set_uint8(x_373, sizeof(void*)*4, x_372); -return x_373; -} + x_484 = x_473; } +lean_ctor_set(x_484, 0, x_480); +lean_ctor_set(x_484, 1, x_471); +lean_ctor_set(x_484, 2, x_472); +lean_ctor_set(x_484, 3, x_482); +lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_483); +return x_484; } else { -uint8_t x_374; -x_374 = lean_ctor_get_uint8(x_349, sizeof(void*)*4); -if (x_374 == 0) -{ -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; lean_object* x_388; -x_375 = lean_ctor_get(x_347, 1); -lean_inc(x_375); -x_376 = lean_ctor_get(x_347, 2); -lean_inc(x_376); -x_377 = lean_ctor_get(x_347, 3); -lean_inc(x_377); -if (lean_is_exclusive(x_347)) { - lean_ctor_release(x_347, 0); - lean_ctor_release(x_347, 1); - lean_ctor_release(x_347, 2); - lean_ctor_release(x_347, 3); - x_378 = x_347; +lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; uint8_t x_495; lean_object* x_496; +x_485 = lean_ctor_get(x_424, 1); +lean_inc(x_485); +x_486 = lean_ctor_get(x_424, 2); +lean_inc(x_486); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_487 = x_424; } else { - lean_dec_ref(x_347); - x_378 = lean_box(0); + lean_dec_ref(x_424); + x_487 = lean_box(0); } -x_379 = lean_ctor_get(x_349, 0); -lean_inc(x_379); -x_380 = lean_ctor_get(x_349, 1); -lean_inc(x_380); -x_381 = lean_ctor_get(x_349, 2); -lean_inc(x_381); -x_382 = lean_ctor_get(x_349, 3); -lean_inc(x_382); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - lean_ctor_release(x_349, 2); - lean_ctor_release(x_349, 3); - x_383 = x_349; +x_488 = lean_ctor_get(x_426, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_426, 1); +lean_inc(x_489); +x_490 = lean_ctor_get(x_426, 2); +lean_inc(x_490); +x_491 = lean_ctor_get(x_426, 3); +lean_inc(x_491); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_492 = x_426; } else { - lean_dec_ref(x_349); - x_383 = lean_box(0); + lean_dec_ref(x_426); + x_492 = lean_box(0); } -x_384 = 1; -if (lean_is_scalar(x_383)) { - x_385 = lean_alloc_ctor(1, 4, 1); +if (lean_is_scalar(x_492)) { + x_493 = lean_alloc_ctor(1, 4, 1); } else { - x_385 = x_383; + x_493 = x_492; } -lean_ctor_set(x_385, 0, x_379); -lean_ctor_set(x_385, 1, x_380); -lean_ctor_set(x_385, 2, x_381); -lean_ctor_set(x_385, 3, x_382); -lean_ctor_set_uint8(x_385, sizeof(void*)*4, x_384); -if (lean_is_scalar(x_378)) { - x_386 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_493, 0, x_488); +lean_ctor_set(x_493, 1, x_489); +lean_ctor_set(x_493, 2, x_490); +lean_ctor_set(x_493, 3, x_491); +lean_ctor_set_uint8(x_493, sizeof(void*)*4, x_470); +if (lean_is_scalar(x_487)) { + x_494 = lean_alloc_ctor(1, 4, 1); } else { - x_386 = x_378; + x_494 = x_487; +} +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_485); +lean_ctor_set(x_494, 2, x_486); +lean_ctor_set(x_494, 3, x_466); +lean_ctor_set_uint8(x_494, sizeof(void*)*4, x_425); +x_495 = 1; +x_496 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_496, 0, x_342); +lean_ctor_set(x_496, 1, x_343); +lean_ctor_set(x_496, 2, x_344); +lean_ctor_set(x_496, 3, x_494); +lean_ctor_set_uint8(x_496, sizeof(void*)*4, x_495); +return x_496; } -lean_ctor_set(x_386, 0, x_377); -lean_ctor_set(x_386, 1, x_343); -lean_ctor_set(x_386, 2, x_344); -lean_ctor_set(x_386, 3, x_345); -lean_ctor_set_uint8(x_386, sizeof(void*)*4, x_384); -x_387 = 0; -x_388 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_388, 0, x_385); -lean_ctor_set(x_388, 1, x_375); -lean_ctor_set(x_388, 2, x_376); -lean_ctor_set(x_388, 3, x_386); -lean_ctor_set_uint8(x_388, sizeof(void*)*4, x_387); -return x_388; } -else -{ -lean_object* x_389; -x_389 = lean_ctor_get(x_347, 3); -lean_inc(x_389); -if (lean_obj_tag(x_389) == 0) -{ -lean_object* x_390; uint8_t x_391; lean_object* x_392; -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - lean_ctor_release(x_349, 2); - lean_ctor_release(x_349, 3); - x_390 = x_349; -} else { - lean_dec_ref(x_349); - x_390 = lean_box(0); } -x_391 = 1; -if (lean_is_scalar(x_390)) { - x_392 = lean_alloc_ctor(1, 4, 1); -} else { - x_392 = x_390; } -lean_ctor_set(x_392, 0, x_347); -lean_ctor_set(x_392, 1, x_343); -lean_ctor_set(x_392, 2, x_344); -lean_ctor_set(x_392, 3, x_345); -lean_ctor_set_uint8(x_392, sizeof(void*)*4, x_391); -return x_392; } else { -uint8_t x_393; -x_393 = lean_ctor_get_uint8(x_389, sizeof(void*)*4); -if (x_393 == 0) -{ -lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; uint8_t x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; lean_object* x_407; -x_394 = lean_ctor_get(x_347, 1); -lean_inc(x_394); -x_395 = lean_ctor_get(x_347, 2); -lean_inc(x_395); -if (lean_is_exclusive(x_347)) { - lean_ctor_release(x_347, 0); - lean_ctor_release(x_347, 1); - lean_ctor_release(x_347, 2); - lean_ctor_release(x_347, 3); - x_396 = x_347; -} else { - lean_dec_ref(x_347); - x_396 = lean_box(0); +uint8_t x_497; lean_object* x_498; +x_497 = 1; +x_498 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_498, 0, x_342); +lean_ctor_set(x_498, 1, x_343); +lean_ctor_set(x_498, 2, x_344); +lean_ctor_set(x_498, 3, x_424); +lean_ctor_set_uint8(x_498, sizeof(void*)*4, x_497); +return x_498; } -x_397 = lean_ctor_get(x_389, 0); -lean_inc(x_397); -x_398 = lean_ctor_get(x_389, 1); -lean_inc(x_398); -x_399 = lean_ctor_get(x_389, 2); -lean_inc(x_399); -x_400 = lean_ctor_get(x_389, 3); -lean_inc(x_400); -if (lean_is_exclusive(x_389)) { - lean_ctor_release(x_389, 0); - lean_ctor_release(x_389, 1); - lean_ctor_release(x_389, 2); - lean_ctor_release(x_389, 3); - x_401 = x_389; -} else { - lean_dec_ref(x_389); - x_401 = lean_box(0); } -x_402 = 1; -lean_inc(x_349); -if (lean_is_scalar(x_401)) { - x_403 = lean_alloc_ctor(1, 4, 1); -} else { - x_403 = x_401; } -lean_ctor_set(x_403, 0, x_349); -lean_ctor_set(x_403, 1, x_394); -lean_ctor_set(x_403, 2, x_395); -lean_ctor_set(x_403, 3, x_397); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - lean_ctor_release(x_349, 2); - lean_ctor_release(x_349, 3); - x_404 = x_349; -} else { - lean_dec_ref(x_349); - x_404 = lean_box(0); } -lean_ctor_set_uint8(x_403, sizeof(void*)*4, x_402); -if (lean_is_scalar(x_404)) { - x_405 = lean_alloc_ctor(1, 4, 1); -} else { - x_405 = x_404; } -lean_ctor_set(x_405, 0, x_400); -lean_ctor_set(x_405, 1, x_343); -lean_ctor_set(x_405, 2, x_344); -lean_ctor_set(x_405, 3, x_345); -lean_ctor_set_uint8(x_405, sizeof(void*)*4, x_402); -x_406 = 0; -if (lean_is_scalar(x_396)) { - x_407 = lean_alloc_ctor(1, 4, 1); -} else { - x_407 = x_396; } -lean_ctor_set(x_407, 0, x_403); -lean_ctor_set(x_407, 1, x_398); -lean_ctor_set(x_407, 2, x_399); -lean_ctor_set(x_407, 3, x_405); -lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); -return x_407; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_queueRequest___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_RBNode_isRed___rarg(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_1, x_2, x_3); +return x_5; } else { -lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; lean_object* x_419; -x_408 = lean_ctor_get(x_347, 1); -lean_inc(x_408); -x_409 = lean_ctor_get(x_347, 2); -lean_inc(x_409); -if (lean_is_exclusive(x_347)) { - lean_ctor_release(x_347, 0); - lean_ctor_release(x_347, 1); - lean_ctor_release(x_347, 2); - lean_ctor_release(x_347, 3); - x_410 = x_347; -} else { - lean_dec_ref(x_347); - x_410 = lean_box(0); +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_1, x_2, x_3); +x_7 = l_Lean_RBNode_setBlack___rarg(x_6); +return x_7; } -x_411 = lean_ctor_get(x_349, 0); -lean_inc(x_411); -x_412 = lean_ctor_get(x_349, 1); -lean_inc(x_412); -x_413 = lean_ctor_get(x_349, 2); -lean_inc(x_413); -x_414 = lean_ctor_get(x_349, 3); -lean_inc(x_414); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - lean_ctor_release(x_349, 2); - lean_ctor_release(x_349, 3); - x_415 = x_349; -} else { - lean_dec_ref(x_349); - x_415 = lean_box(0); } -if (lean_is_scalar(x_415)) { - x_416 = lean_alloc_ctor(1, 4, 1); -} else { - x_416 = x_415; } -lean_ctor_set(x_416, 0, x_411); -lean_ctor_set(x_416, 1, x_412); -lean_ctor_set(x_416, 2, x_413); -lean_ctor_set(x_416, 3, x_414); -lean_ctor_set_uint8(x_416, sizeof(void*)*4, x_393); -if (lean_is_scalar(x_410)) { - x_417 = lean_alloc_ctor(1, 4, 1); -} else { - x_417 = x_410; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_RBNode_insert___at_Lean_Server_FileWorker_queueRequest___spec__1(x_3, x_1, x_2); +return x_4; } -lean_ctor_set(x_417, 0, x_416); -lean_ctor_set(x_417, 1, x_408); -lean_ctor_set(x_417, 2, x_409); -lean_ctor_set(x_417, 3, x_389); -lean_ctor_set_uint8(x_417, sizeof(void*)*4, x_348); -x_418 = 1; -x_419 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_419, 0, x_417); -lean_ctor_set(x_419, 1, x_343); -lean_ctor_set(x_419, 2, x_344); -lean_ctor_set(x_419, 3, x_345); -lean_ctor_set_uint8(x_419, sizeof(void*)*4, x_418); -return x_419; +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_queueRequest___lambda__1), 3, 2); +lean_closure_set(x_6, 0, x_1); +lean_closure_set(x_6, 1, x_2); +x_7 = l_Lean_Server_FileWorker_updatePendingRequests(x_6, x_3, x_4, x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_FileWorker_queueRequest(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; } } +LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleImportCompletionRequest___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2159_(x_5); +x_7 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_7, 0, x_4); +lean_ctor_set(x_7, 1, x_6); +x_8 = l_IO_FS_Stream_writeLspMessage(x_1, x_7, x_3); +lean_dec(x_7); +return x_8; } } +LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Server_FileWorker_handleImportCompletionRequest___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_io_error_to_string(x_3); +x_5 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_5, 0, x_4); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; } else { -uint8_t x_420; lean_object* x_421; -x_420 = 1; -x_421 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_421, 0, x_347); -lean_ctor_set(x_421, 1, x_343); -lean_ctor_set(x_421, 2, x_344); -lean_ctor_set(x_421, 3, x_345); -lean_ctor_set_uint8(x_421, sizeof(void*)*4, x_420); -return x_421; +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_2); +return x_8; } } -case 1: -{ -uint8_t x_422; lean_object* x_423; -lean_dec(x_344); -lean_dec(x_343); -x_422 = 1; -x_423 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_423, 0, x_342); -lean_ctor_set(x_423, 1, x_2); -lean_ctor_set(x_423, 2, x_3); -lean_ctor_set(x_423, 3, x_345); -lean_ctor_set_uint8(x_423, sizeof(void*)*4, x_422); -return x_423; } -default: -{ -lean_object* x_424; uint8_t x_425; -x_424 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_345, x_2, x_3); -x_425 = lean_ctor_get_uint8(x_424, sizeof(void*)*4); -if (x_425 == 0) +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: { -lean_object* x_426; -x_426 = lean_ctor_get(x_424, 0); -lean_inc(x_426); -if (lean_obj_tag(x_426) == 0) +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_8 = lean_io_mono_ms_now(x_7); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_1, 2); +lean_inc(x_11); +lean_dec(x_1); +x_12 = l_ImportCompletion_find(x_2, x_11, x_3, x_6); +x_13 = lean_ctor_get(x_4, 1); +lean_inc(x_13); +lean_dec(x_4); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_12); +x_15 = l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleImportCompletionRequest___spec__1(x_13, x_14, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_427; -x_427 = lean_ctor_get(x_424, 3); -lean_inc(x_427); -if (lean_obj_tag(x_427) == 0) +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) { -lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; uint8_t x_432; lean_object* x_433; -x_428 = lean_ctor_get(x_424, 1); -lean_inc(x_428); -x_429 = lean_ctor_get(x_424, 2); -lean_inc(x_429); -if (lean_is_exclusive(x_424)) { - lean_ctor_release(x_424, 0); - lean_ctor_release(x_424, 1); - lean_ctor_release(x_424, 2); - lean_ctor_release(x_424, 3); - x_430 = x_424; -} else { - lean_dec_ref(x_424); - x_430 = lean_box(0); +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_6); +lean_ctor_set(x_18, 1, x_9); +lean_ctor_set(x_15, 0, x_18); +return x_15; } -if (lean_is_scalar(x_430)) { - x_431 = lean_alloc_ctor(1, 4, 1); -} else { - x_431 = x_430; +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_6); +lean_ctor_set(x_20, 1, x_9); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; } -lean_ctor_set(x_431, 0, x_427); -lean_ctor_set(x_431, 1, x_428); -lean_ctor_set(x_431, 2, x_429); -lean_ctor_set(x_431, 3, x_427); -lean_ctor_set_uint8(x_431, sizeof(void*)*4, x_425); -x_432 = 1; -x_433 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_433, 0, x_342); -lean_ctor_set(x_433, 1, x_343); -lean_ctor_set(x_433, 2, x_344); -lean_ctor_set(x_433, 3, x_431); -lean_ctor_set_uint8(x_433, sizeof(void*)*4, x_432); -return x_433; } else { -uint8_t x_434; -x_434 = lean_ctor_get_uint8(x_427, sizeof(void*)*4); -if (x_434 == 0) +uint8_t x_22; +lean_dec(x_9); +lean_dec(x_6); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) { -lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; lean_object* x_447; -x_435 = lean_ctor_get(x_424, 1); -lean_inc(x_435); -x_436 = lean_ctor_get(x_424, 2); -lean_inc(x_436); -if (lean_is_exclusive(x_424)) { - lean_ctor_release(x_424, 0); - lean_ctor_release(x_424, 1); - lean_ctor_release(x_424, 2); - lean_ctor_release(x_424, 3); - x_437 = x_424; -} else { - lean_dec_ref(x_424); - x_437 = lean_box(0); +return x_15; } -x_438 = lean_ctor_get(x_427, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_427, 1); -lean_inc(x_439); -x_440 = lean_ctor_get(x_427, 2); -lean_inc(x_440); -x_441 = lean_ctor_get(x_427, 3); -lean_inc(x_441); -if (lean_is_exclusive(x_427)) { - lean_ctor_release(x_427, 0); - lean_ctor_release(x_427, 1); - lean_ctor_release(x_427, 2); - lean_ctor_release(x_427, 3); - x_442 = x_427; -} else { - lean_dec_ref(x_427); - x_442 = lean_box(0); +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } -x_443 = 1; -if (lean_is_scalar(x_442)) { - x_444 = lean_alloc_ctor(1, 4, 1); -} else { - x_444 = x_442; } -lean_ctor_set(x_444, 0, x_342); -lean_ctor_set(x_444, 1, x_343); -lean_ctor_set(x_444, 2, x_344); -lean_ctor_set(x_444, 3, x_426); -lean_ctor_set_uint8(x_444, sizeof(void*)*4, x_443); -if (lean_is_scalar(x_437)) { - x_445 = lean_alloc_ctor(1, 4, 1); -} else { - x_445 = x_437; } -lean_ctor_set(x_445, 0, x_438); -lean_ctor_set(x_445, 1, x_439); -lean_ctor_set(x_445, 2, x_440); -lean_ctor_set(x_445, 3, x_441); -lean_ctor_set_uint8(x_445, sizeof(void*)*4, x_443); -x_446 = 0; -x_447 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_447, 0, x_444); -lean_ctor_set(x_447, 1, x_435); -lean_ctor_set(x_447, 2, x_436); -lean_ctor_set(x_447, 3, x_445); -lean_ctor_set_uint8(x_447, sizeof(void*)*4, x_446); -return x_447; } -else +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: { -lean_object* x_448; uint8_t x_449; lean_object* x_450; -if (lean_is_exclusive(x_427)) { - lean_ctor_release(x_427, 0); - lean_ctor_release(x_427, 1); - lean_ctor_release(x_427, 2); - lean_ctor_release(x_427, 3); - x_448 = x_427; -} else { - lean_dec_ref(x_427); - x_448 = lean_box(0); -} -x_449 = 1; -if (lean_is_scalar(x_448)) { - x_450 = lean_alloc_ctor(1, 4, 1); -} else { - x_450 = x_448; -} -lean_ctor_set(x_450, 0, x_342); -lean_ctor_set(x_450, 1, x_343); -lean_ctor_set(x_450, 2, x_344); -lean_ctor_set(x_450, 3, x_424); -lean_ctor_set_uint8(x_450, sizeof(void*)*4, x_449); -return x_450; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_1, 2); +lean_inc(x_11); +lean_dec(x_1); +x_12 = l_ImportCompletion_find(x_2, x_11, x_3, x_7); +x_13 = lean_ctor_get(x_4, 1); +lean_inc(x_13); +lean_dec(x_4); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_12); +x_15 = l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleImportCompletionRequest___spec__1(x_13, x_14, x_10); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_7); +lean_ctor_set(x_18, 1, x_6); +lean_ctor_set(x_15, 0, x_18); +return x_15; } +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 1); +lean_inc(x_19); +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_7); +lean_ctor_set(x_20, 1, x_6); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; } } else { -uint8_t x_451; -x_451 = lean_ctor_get_uint8(x_426, sizeof(void*)*4); -if (x_451 == 0) +uint8_t x_22; +lean_dec(x_7); +lean_dec(x_6); +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) { -lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; uint8_t x_461; lean_object* x_462; lean_object* x_463; uint8_t x_464; lean_object* x_465; -x_452 = lean_ctor_get(x_424, 1); -lean_inc(x_452); -x_453 = lean_ctor_get(x_424, 2); -lean_inc(x_453); -x_454 = lean_ctor_get(x_424, 3); -lean_inc(x_454); -if (lean_is_exclusive(x_424)) { - lean_ctor_release(x_424, 0); - lean_ctor_release(x_424, 1); - lean_ctor_release(x_424, 2); - lean_ctor_release(x_424, 3); - x_455 = x_424; -} else { - lean_dec_ref(x_424); - x_455 = lean_box(0); +return x_15; } -x_456 = lean_ctor_get(x_426, 0); -lean_inc(x_456); -x_457 = lean_ctor_get(x_426, 1); -lean_inc(x_457); -x_458 = lean_ctor_get(x_426, 2); -lean_inc(x_458); -x_459 = lean_ctor_get(x_426, 3); -lean_inc(x_459); -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - lean_ctor_release(x_426, 2); - lean_ctor_release(x_426, 3); - x_460 = x_426; -} else { - lean_dec_ref(x_426); - x_460 = lean_box(0); +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } -x_461 = 1; -if (lean_is_scalar(x_460)) { - x_462 = lean_alloc_ctor(1, 4, 1); -} else { - x_462 = x_460; } -lean_ctor_set(x_462, 0, x_342); -lean_ctor_set(x_462, 1, x_343); -lean_ctor_set(x_462, 2, x_344); -lean_ctor_set(x_462, 3, x_456); -lean_ctor_set_uint8(x_462, sizeof(void*)*4, x_461); -if (lean_is_scalar(x_455)) { - x_463 = lean_alloc_ctor(1, 4, 1); -} else { - x_463 = x_455; } -lean_ctor_set(x_463, 0, x_459); -lean_ctor_set(x_463, 1, x_452); -lean_ctor_set(x_463, 2, x_453); -lean_ctor_set(x_463, 3, x_454); -lean_ctor_set_uint8(x_463, sizeof(void*)*4, x_461); -x_464 = 0; -x_465 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_465, 0, x_462); -lean_ctor_set(x_465, 1, x_457); -lean_ctor_set(x_465, 2, x_458); -lean_ctor_set(x_465, 3, x_463); -lean_ctor_set_uint8(x_465, sizeof(void*)*4, x_464); -return x_465; } -else +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: { -lean_object* x_466; -x_466 = lean_ctor_get(x_424, 3); -lean_inc(x_466); -if (lean_obj_tag(x_466) == 0) +lean_object* x_8; +x_8 = l_IO_ofExcept___at_Lean_Server_FileWorker_handleImportCompletionRequest___spec__2(x_6, x_7); +if (lean_obj_tag(x_8) == 0) { -lean_object* x_467; uint8_t x_468; lean_object* x_469; -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - lean_ctor_release(x_426, 2); - lean_ctor_release(x_426, 3); - x_467 = x_426; -} else { - lean_dec_ref(x_426); - x_467 = lean_box(0); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_io_mono_ms_now(x_10); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_nat_sub(x_14, x_12); +x_17 = lean_unsigned_to_nat(10000u); +x_18 = lean_nat_dec_le(x_17, x_16); +lean_dec(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__2(x_1, x_2, x_3, x_4, x_5, x_14, x_11, x_12, x_19, x_15); +lean_dec(x_12); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_20, 0, x_23); +return x_20; } -x_468 = 1; -if (lean_is_scalar(x_467)) { - x_469 = lean_alloc_ctor(1, 4, 1); -} else { - x_469 = x_467; +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_20, 0); +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_20); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; } -lean_ctor_set(x_469, 0, x_342); -lean_ctor_set(x_469, 1, x_343); -lean_ctor_set(x_469, 2, x_344); -lean_ctor_set(x_469, 3, x_424); -lean_ctor_set_uint8(x_469, sizeof(void*)*4, x_468); -return x_469; } else { -uint8_t x_470; -x_470 = lean_ctor_get_uint8(x_466, sizeof(void*)*4); -if (x_470 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_20); +if (x_28 == 0) { -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; uint8_t x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; lean_object* x_484; -x_471 = lean_ctor_get(x_424, 1); -lean_inc(x_471); -x_472 = lean_ctor_get(x_424, 2); -lean_inc(x_472); -if (lean_is_exclusive(x_424)) { - lean_ctor_release(x_424, 0); - lean_ctor_release(x_424, 1); - lean_ctor_release(x_424, 2); - lean_ctor_release(x_424, 3); - x_473 = x_424; -} else { - lean_dec_ref(x_424); - x_473 = lean_box(0); +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_20, 0); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set_tag(x_20, 0); +lean_ctor_set(x_20, 0, x_30); +return x_20; } -x_474 = lean_ctor_get(x_466, 0); -lean_inc(x_474); -x_475 = lean_ctor_get(x_466, 1); -lean_inc(x_475); -x_476 = lean_ctor_get(x_466, 2); -lean_inc(x_476); -x_477 = lean_ctor_get(x_466, 3); -lean_inc(x_477); -if (lean_is_exclusive(x_466)) { - lean_ctor_release(x_466, 0); - lean_ctor_release(x_466, 1); - lean_ctor_release(x_466, 2); - lean_ctor_release(x_466, 3); - x_478 = x_466; -} else { - lean_dec_ref(x_466); - x_478 = lean_box(0); +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_20, 0); +x_32 = lean_ctor_get(x_20, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_20); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +return x_34; } -x_479 = 1; -lean_inc(x_426); -if (lean_is_scalar(x_478)) { - x_480 = lean_alloc_ctor(1, 4, 1); -} else { - x_480 = x_478; } -lean_ctor_set(x_480, 0, x_342); -lean_ctor_set(x_480, 1, x_343); -lean_ctor_set(x_480, 2, x_344); -lean_ctor_set(x_480, 3, x_426); -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - lean_ctor_release(x_426, 2); - lean_ctor_release(x_426, 3); - x_481 = x_426; -} else { - lean_dec_ref(x_426); - x_481 = lean_box(0); } -lean_ctor_set_uint8(x_480, sizeof(void*)*4, x_479); -if (lean_is_scalar(x_481)) { - x_482 = lean_alloc_ctor(1, 4, 1); -} else { - x_482 = x_481; +else +{ +lean_object* x_35; +lean_dec(x_11); +x_35 = l_ImportCompletion_collectAvailableImports(x_15); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_box(0); +x_39 = l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__2(x_1, x_2, x_3, x_4, x_5, x_14, x_36, x_12, x_38, x_37); +lean_dec(x_12); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_39, 0); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_39, 0, x_42); +return x_39; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_43 = lean_ctor_get(x_39, 0); +x_44 = lean_ctor_get(x_39, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_39); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_43); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +return x_46; } -lean_ctor_set(x_482, 0, x_474); -lean_ctor_set(x_482, 1, x_475); -lean_ctor_set(x_482, 2, x_476); -lean_ctor_set(x_482, 3, x_477); -lean_ctor_set_uint8(x_482, sizeof(void*)*4, x_479); -x_483 = 0; -if (lean_is_scalar(x_473)) { - x_484 = lean_alloc_ctor(1, 4, 1); -} else { - x_484 = x_473; } -lean_ctor_set(x_484, 0, x_480); -lean_ctor_set(x_484, 1, x_471); -lean_ctor_set(x_484, 2, x_472); -lean_ctor_set(x_484, 3, x_482); -lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_483); -return x_484; +else +{ +uint8_t x_47; +x_47 = !lean_is_exclusive(x_39); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_39, 0); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set_tag(x_39, 0); +lean_ctor_set(x_39, 0, x_49); +return x_39; } else { -lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; uint8_t x_495; lean_object* x_496; -x_485 = lean_ctor_get(x_424, 1); -lean_inc(x_485); -x_486 = lean_ctor_get(x_424, 2); -lean_inc(x_486); -if (lean_is_exclusive(x_424)) { - lean_ctor_release(x_424, 0); - lean_ctor_release(x_424, 1); - lean_ctor_release(x_424, 2); - lean_ctor_release(x_424, 3); - x_487 = x_424; -} else { - lean_dec_ref(x_424); - x_487 = lean_box(0); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_39, 0); +x_51 = lean_ctor_get(x_39, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_39); +x_52 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_52, 0, x_50); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +return x_53; } -x_488 = lean_ctor_get(x_426, 0); -lean_inc(x_488); -x_489 = lean_ctor_get(x_426, 1); -lean_inc(x_489); -x_490 = lean_ctor_get(x_426, 2); -lean_inc(x_490); -x_491 = lean_ctor_get(x_426, 3); -lean_inc(x_491); -if (lean_is_exclusive(x_426)) { - lean_ctor_release(x_426, 0); - lean_ctor_release(x_426, 1); - lean_ctor_release(x_426, 2); - lean_ctor_release(x_426, 3); - x_492 = x_426; -} else { - lean_dec_ref(x_426); - x_492 = lean_box(0); } -if (lean_is_scalar(x_492)) { - x_493 = lean_alloc_ctor(1, 4, 1); -} else { - x_493 = x_492; } -lean_ctor_set(x_493, 0, x_488); -lean_ctor_set(x_493, 1, x_489); -lean_ctor_set(x_493, 2, x_490); -lean_ctor_set(x_493, 3, x_491); -lean_ctor_set_uint8(x_493, sizeof(void*)*4, x_470); -if (lean_is_scalar(x_487)) { - x_494 = lean_alloc_ctor(1, 4, 1); -} else { - x_494 = x_487; +else +{ +uint8_t x_54; +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_35); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +x_55 = lean_ctor_get(x_35, 0); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set_tag(x_35, 0); +lean_ctor_set(x_35, 0, x_56); +return x_35; } -lean_ctor_set(x_494, 0, x_493); -lean_ctor_set(x_494, 1, x_485); -lean_ctor_set(x_494, 2, x_486); -lean_ctor_set(x_494, 3, x_466); -lean_ctor_set_uint8(x_494, sizeof(void*)*4, x_425); -x_495 = 1; -x_496 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_496, 0, x_342); -lean_ctor_set(x_496, 1, x_343); -lean_ctor_set(x_496, 2, x_344); -lean_ctor_set(x_496, 3, x_494); -lean_ctor_set_uint8(x_496, sizeof(void*)*4, x_495); -return x_496; +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_35, 0); +x_58 = lean_ctor_get(x_35, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_35); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_57); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +return x_60; } } } } +else +{ +uint8_t x_61; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_61 = !lean_is_exclusive(x_8); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_8, 0); +x_63 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set_tag(x_8, 0); +lean_ctor_set(x_8, 0, x_63); +return x_8; } else { -uint8_t x_497; lean_object* x_498; -x_497 = 1; -x_498 = lean_alloc_ctor(1, 4, 1); -lean_ctor_set(x_498, 0, x_342); -lean_ctor_set(x_498, 1, x_343); -lean_ctor_set(x_498, 2, x_344); -lean_ctor_set(x_498, 3, x_424); -lean_ctor_set_uint8(x_498, sizeof(void*)*4, x_497); -return x_498; +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_64 = lean_ctor_get(x_8, 0); +x_65 = lean_ctor_get(x_8, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_8); +x_66 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_66, 0, x_64); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +return x_67; } } } } +static lean_object* _init_l_Lean_Server_FileWorker_handleImportCompletionRequest___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_ImportCompletion_collectAvailableImports), 1, 0); +return x_1; +} } +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_st_ref_get(x_4, x_5); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_7, 3); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_9 = lean_ctor_get(x_6, 1); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_ctor_get(x_7, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_11, 2); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__1___boxed), 7, 5); +lean_closure_set(x_13, 0, x_7); +lean_closure_set(x_13, 1, x_12); +lean_closure_set(x_13, 2, x_2); +lean_closure_set(x_13, 3, x_3); +lean_closure_set(x_13, 4, x_1); +x_14 = l_Lean_Server_FileWorker_handleImportCompletionRequest___closed__1; +x_15 = lean_alloc_closure((void*)(l_EStateM_bind___rarg), 3, 2); +lean_closure_set(x_15, 0, x_14); +lean_closure_set(x_15, 1, x_13); +x_16 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_16, 0, x_15); +x_17 = l_Task_Priority_default; +x_18 = lean_io_as_task(x_16, x_17, x_9); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +return x_18; } +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } -LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Server_FileWorker_queueRequest___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: +else { -uint8_t x_4; -x_4 = l_Lean_RBNode_isRed___rarg(x_1); -if (x_4 == 0) +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_23 = lean_ctor_get(x_6, 1); +lean_inc(x_23); +lean_dec(x_6); +x_24 = lean_ctor_get(x_7, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_ctor_get(x_25, 2); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_ctor_get(x_8, 0); +lean_inc(x_27); +lean_dec(x_8); +x_28 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__3___boxed), 7, 5); +lean_closure_set(x_28, 0, x_7); +lean_closure_set(x_28, 1, x_26); +lean_closure_set(x_28, 2, x_2); +lean_closure_set(x_28, 3, x_3); +lean_closure_set(x_28, 4, x_1); +x_29 = l_Task_Priority_default; +x_30 = lean_io_map_task(x_28, x_27, x_29, x_23); +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -lean_object* x_5; -x_5 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_1, x_2, x_3); -return x_5; +return x_30; } else { -lean_object* x_6; lean_object* x_7; -x_6 = l_Lean_RBNode_ins___at_Lean_Server_FileWorker_queueRequest___spec__2(x_1, x_2, x_3); -x_7 = l_Lean_RBNode_setBlack___rarg(x_6); -return x_7; +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_30); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_4; -x_4 = l_Lean_RBNode_insert___at_Lean_Server_FileWorker_queueRequest___spec__1(x_3, x_1, x_2); -return x_4; +lean_object* x_8; +x_8 = l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_6; lean_object* x_7; -x_6 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_queueRequest___lambda__1), 3, 2); -lean_closure_set(x_6, 0, x_1); -lean_closure_set(x_6, 1, x_2); -x_7 = l_Lean_Server_FileWorker_updatePendingRequests(x_6, x_3, x_4, x_5); -return x_7; +lean_object* x_11; +x_11 = l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_2); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_queueRequest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Server_FileWorker_handleImportCompletionRequest___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleImportCompletionRequest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_Server_FileWorker_queueRequest(x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Server_FileWorker_handleImportCompletionRequest(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); -lean_dec(x_3); return x_6; } } @@ -14764,6 +13147,44 @@ LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_F _start: { lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2224_(x_1); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Json_compress(x_1); +x_8 = l_Lean_Server_FileWorker_parseParams___rarg___closed__1; +x_9 = lean_string_append(x_8, x_7); +lean_dec(x_7); +x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; +x_11 = lean_string_append(x_9, x_10); +x_12 = lean_string_append(x_11, x_6); +lean_dec(x_6); +x_13 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; +x_14 = lean_string_append(x_12, x_13); +x_15 = l_IO_throwServerError___rarg(x_14, x_4); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_4); +return x_17; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; x_5 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcConnectParams____x40_Lean_Data_Lsp_Extra___hyg_1853_(x_1); if (lean_obj_tag(x_5) == 0) { @@ -14779,7 +13200,7 @@ x_10 = l_Lean_Server_FileWorker_parseParams___rarg___closed__2; x_11 = lean_string_append(x_9, x_10); x_12 = lean_string_append(x_11, x_6); lean_dec(x_6); -x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_13 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_14 = lean_string_append(x_12, x_13); x_15 = l_IO_throwServerError___rarg(x_14, x_4); return x_15; @@ -14798,7 +13219,7 @@ return x_17; } } } -LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -15111,7 +13532,7 @@ lean_dec(x_8); x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); lean_dec(x_9); -x_12 = lean_ctor_get(x_1, 3); +x_12 = lean_ctor_get(x_1, 5); x_13 = lean_ctor_get(x_1, 0); x_14 = lean_ctor_get(x_2, 2); lean_inc(x_14); @@ -15289,6 +13710,203 @@ x_16 = l_Lean_Server_FileWorker_queueRequest(x_3, x_14, x_7, x_8, x_15); return x_16; } } +static lean_object* _init_l_Lean_Server_FileWorker_handleRequest___lambda__4___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("textDocument/completion", 23); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; +lean_dec(x_6); +x_10 = l_Lean_Server_FileWorker_handleRequest___lambda__4___closed__1; +x_11 = lean_string_dec_eq(x_4, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l_Lean_Server_FileWorker_handleRequest___lambda__3(x_1, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9); +lean_dec(x_7); +return x_13; +} +else +{ +lean_object* x_14; +lean_inc(x_5); +x_14 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__3(x_5, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_ctor_get(x_2, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_2, 2); +lean_inc(x_19); +x_20 = lean_ctor_get(x_2, 4); +lean_inc(x_20); +x_21 = lean_ctor_get(x_2, 5); +lean_inc(x_21); +x_22 = lean_ctor_get(x_17, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 2); +lean_inc(x_23); +lean_dec(x_22); +lean_inc(x_15); +lean_inc(x_19); +x_24 = l_ImportCompletion_isImportCompletionRequest(x_23, x_19, x_15); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_15); +x_25 = lean_box(0); +x_26 = l_Lean_Server_FileWorker_handleRequest___lambda__3(x_1, x_2, x_3, x_4, x_5, x_25, x_7, x_8, x_16); +lean_dec(x_7); +return x_26; +} +else +{ +uint8_t x_27; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_2); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_28 = lean_ctor_get(x_2, 5); +lean_dec(x_28); +x_29 = lean_ctor_get(x_2, 4); +lean_dec(x_29); +x_30 = lean_ctor_get(x_2, 3); +lean_dec(x_30); +x_31 = lean_ctor_get(x_2, 2); +lean_dec(x_31); +x_32 = lean_ctor_get(x_2, 1); +lean_dec(x_32); +x_33 = lean_ctor_get(x_2, 0); +lean_dec(x_33); +x_34 = l_Lean_Server_FileWorker_handleImportCompletionRequest(x_3, x_15, x_7, x_8, x_16); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_2, 3, x_37); +x_38 = lean_st_ref_set(x_8, x_2, x_36); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_38, 0); +lean_dec(x_40); +x_41 = lean_box(0); +lean_ctor_set(x_38, 0, x_41); +return x_38; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_38, 1); +lean_inc(x_42); +lean_dec(x_38); +x_43 = lean_box(0); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +return x_44; +} +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_2); +x_45 = l_Lean_Server_FileWorker_handleImportCompletionRequest(x_3, x_15, x_7, x_8, x_16); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_46); +x_49 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_49, 0, x_17); +lean_ctor_set(x_49, 1, x_18); +lean_ctor_set(x_49, 2, x_19); +lean_ctor_set(x_49, 3, x_48); +lean_ctor_set(x_49, 4, x_20); +lean_ctor_set(x_49, 5, x_21); +x_50 = lean_st_ref_set(x_8, x_49, x_47); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_52 = x_50; +} else { + lean_dec_ref(x_50); + x_52 = lean_box(0); +} +x_53 = lean_box(0); +if (lean_is_scalar(x_52)) { + x_54 = lean_alloc_ctor(0, 2, 0); +} else { + x_54 = x_52; +} +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_51); +return x_54; +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_14); +if (x_55 == 0) +{ +return x_14; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_14, 0); +x_57 = lean_ctor_get(x_14, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_14); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +} +} static lean_object* _init_l_Lean_Server_FileWorker_handleRequest___closed__1() { _start: { @@ -15314,9 +13932,8 @@ if (x_11 == 0) lean_object* x_12; lean_object* x_13; x_12 = lean_box(0); lean_inc(x_4); -x_13 = l_Lean_Server_FileWorker_handleRequest___lambda__3(x_4, x_8, x_1, x_2, x_3, x_12, x_4, x_5, x_9); +x_13 = l_Lean_Server_FileWorker_handleRequest___lambda__4(x_4, x_8, x_1, x_2, x_3, x_12, x_4, x_5, x_9); lean_dec(x_5); -lean_dec(x_4); return x_13; } else @@ -15324,7 +13941,7 @@ else lean_object* x_14; lean_dec(x_8); lean_dec(x_2); -x_14 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__3(x_3, x_4, x_5, x_9); +x_14 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__4(x_3, x_4, x_5, x_9); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; @@ -15349,7 +13966,7 @@ x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_1); lean_ctor_set(x_20, 1, x_17); lean_inc(x_19); -x_21 = l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__4(x_19, x_20, x_18); +x_21 = l_IO_FS_Stream_writeLspResponse___at_Lean_Server_FileWorker_handleRequest___spec__5(x_19, x_20, x_18); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; @@ -15610,6 +14227,16 @@ lean_dec(x_2); return x_5; } } +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Server_FileWorker_parseParams___at_Lean_Server_FileWorker_handleRequest___spec__4(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { @@ -15630,6 +14257,15 @@ lean_dec(x_6); return x_10; } } +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRequest___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Server_FileWorker_handleRequest___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +return x_10; +} +} LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -15777,7 +14413,7 @@ x_29 = l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___clos x_30 = lean_string_append(x_28, x_29); x_31 = lean_string_append(x_30, x_22); lean_dec(x_22); -x_32 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_32 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_33 = lean_string_append(x_31, x_32); x_34 = l_IO_throwServerError___rarg(x_33, x_19); x_35 = !lean_is_exclusive(x_34); @@ -15813,7 +14449,7 @@ x_43 = l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___clos x_44 = lean_string_append(x_42, x_43); x_45 = lean_string_append(x_44, x_22); lean_dec(x_22); -x_46 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_46 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_47 = lean_string_append(x_45, x_46); x_48 = l_IO_throwServerError___rarg(x_47, x_19); x_49 = !lean_is_exclusive(x_48); @@ -15841,7 +14477,7 @@ lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean x_53 = l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__6; x_54 = lean_string_append(x_53, x_22); lean_dec(x_22); -x_55 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_55 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_56 = lean_string_append(x_54, x_55); x_57 = l_IO_throwServerError___rarg(x_56, x_19); x_58 = !lean_is_exclusive(x_57); @@ -16153,11 +14789,11 @@ x_26 = !lean_is_exclusive(x_16); if (x_26 == 0) { lean_object* x_27; uint64_t x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_16, 3); +x_27 = lean_ctor_get(x_16, 5); x_28 = lean_unbox_uint64(x_10); lean_dec(x_10); x_29 = l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2(x_28, x_27); -lean_ctor_set(x_16, 3, x_29); +lean_ctor_set(x_16, 5, x_29); x_2 = x_12; x_3 = x_16; x_6 = x_25; @@ -16165,26 +14801,32 @@ goto _start; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint64_t x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint64_t x_37; lean_object* x_38; lean_object* x_39; x_31 = lean_ctor_get(x_16, 0); x_32 = lean_ctor_get(x_16, 1); x_33 = lean_ctor_get(x_16, 2); x_34 = lean_ctor_get(x_16, 3); +x_35 = lean_ctor_get(x_16, 4); +x_36 = lean_ctor_get(x_16, 5); +lean_inc(x_36); +lean_inc(x_35); lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); lean_dec(x_16); -x_35 = lean_unbox_uint64(x_10); +x_37 = lean_unbox_uint64(x_10); lean_dec(x_10); -x_36 = l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2(x_35, x_34); -x_37 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_37, 0, x_31); -lean_ctor_set(x_37, 1, x_32); -lean_ctor_set(x_37, 2, x_33); -lean_ctor_set(x_37, 3, x_36); +x_38 = l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2(x_37, x_36); +x_39 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_39, 0, x_31); +lean_ctor_set(x_39, 1, x_32); +lean_ctor_set(x_39, 2, x_33); +lean_ctor_set(x_39, 3, x_34); +lean_ctor_set(x_39, 4, x_35); +lean_ctor_set(x_39, 5, x_38); x_2 = x_12; -x_3 = x_37; +x_3 = x_39; x_6 = x_25; goto _start; } @@ -16261,11 +14903,11 @@ x_25 = !lean_is_exclusive(x_15); if (x_25 == 0) { lean_object* x_26; uint64_t x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_15, 3); +x_26 = lean_ctor_get(x_15, 5); x_27 = lean_unbox_uint64(x_9); lean_dec(x_9); x_28 = l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2(x_27, x_26); -lean_ctor_set(x_15, 3, x_28); +lean_ctor_set(x_15, 5, x_28); x_1 = x_11; x_2 = x_15; x_5 = x_24; @@ -16273,26 +14915,32 @@ goto _start; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint64_t x_34; lean_object* x_35; lean_object* x_36; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint64_t x_36; lean_object* x_37; lean_object* x_38; x_30 = lean_ctor_get(x_15, 0); x_31 = lean_ctor_get(x_15, 1); x_32 = lean_ctor_get(x_15, 2); x_33 = lean_ctor_get(x_15, 3); +x_34 = lean_ctor_get(x_15, 4); +x_35 = lean_ctor_get(x_15, 5); +lean_inc(x_35); +lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_dec(x_15); -x_34 = lean_unbox_uint64(x_9); +x_36 = lean_unbox_uint64(x_9); lean_dec(x_9); -x_35 = l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2(x_34, x_33); -x_36 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_36, 0, x_30); -lean_ctor_set(x_36, 1, x_31); -lean_ctor_set(x_36, 2, x_32); -lean_ctor_set(x_36, 3, x_35); +x_37 = l_Lean_RBNode_erase___at_Lean_Server_FileWorker_mainLoop___spec__2(x_36, x_35); +x_38 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_38, 0, x_30); +lean_ctor_set(x_38, 1, x_31); +lean_ctor_set(x_38, 2, x_32); +lean_ctor_set(x_38, 3, x_33); +lean_ctor_set(x_38, 4, x_34); +lean_ctor_set(x_38, 5, x_37); x_1 = x_11; -x_2 = x_36; +x_2 = x_38; x_5 = x_24; goto _start; } @@ -16340,136 +14988,148 @@ lean_dec(x_8); x_104 = !lean_is_exclusive(x_5); if (x_104 == 0) { -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; x_105 = lean_ctor_get(x_5, 0); x_106 = lean_ctor_get(x_5, 1); x_107 = lean_ctor_get(x_5, 2); x_108 = lean_ctor_get(x_5, 3); -lean_inc(x_107); -x_109 = l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1(x_107, x_107, x_1, x_2, x_10); -if (lean_obj_tag(x_109) == 0) +x_109 = lean_ctor_get(x_5, 4); +x_110 = lean_ctor_get(x_5, 5); +lean_inc(x_109); +x_111 = l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1(x_109, x_109, x_1, x_2, x_10); +if (lean_obj_tag(x_111) == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -lean_inc(x_108); -lean_ctor_set(x_5, 2, x_110); -x_112 = l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_mainLoop___spec__4___at_Lean_Server_FileWorker_mainLoop___spec__5(x_108, x_5, x_1, x_2, x_111); -x_113 = lean_ctor_get(x_112, 0); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_115 = lean_ctor_get(x_113, 0); +lean_dec(x_111); +lean_inc(x_110); +lean_ctor_set(x_5, 4, x_112); +x_114 = l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_mainLoop___spec__4___at_Lean_Server_FileWorker_mainLoop___spec__5(x_110, x_5, x_1, x_2, x_113); +x_115 = lean_ctor_get(x_114, 0); lean_inc(x_115); -lean_dec(x_113); -x_11 = x_115; -x_12 = x_114; +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_11 = x_117; +x_12 = x_116; goto block_103; } else { -uint8_t x_116; +uint8_t x_118; lean_free_object(x_5); +lean_dec(x_110); lean_dec(x_108); +lean_dec(x_107); lean_dec(x_106); lean_dec(x_105); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_116 = !lean_is_exclusive(x_109); -if (x_116 == 0) +x_118 = !lean_is_exclusive(x_111); +if (x_118 == 0) { -return x_109; +return x_111; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_109, 0); -x_118 = lean_ctor_get(x_109, 1); -lean_inc(x_118); -lean_inc(x_117); -lean_dec(x_109); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_117); -lean_ctor_set(x_119, 1, x_118); -return x_119; +lean_object* x_119; lean_object* x_120; lean_object* x_121; +x_119 = lean_ctor_get(x_111, 0); +x_120 = lean_ctor_get(x_111, 1); +lean_inc(x_120); +lean_inc(x_119); +lean_dec(x_111); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_119); +lean_ctor_set(x_121, 1, x_120); +return x_121; } } } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_120 = lean_ctor_get(x_5, 0); -x_121 = lean_ctor_get(x_5, 1); -x_122 = lean_ctor_get(x_5, 2); -x_123 = lean_ctor_get(x_5, 3); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_122 = lean_ctor_get(x_5, 0); +x_123 = lean_ctor_get(x_5, 1); +x_124 = lean_ctor_get(x_5, 2); +x_125 = lean_ctor_get(x_5, 3); +x_126 = lean_ctor_get(x_5, 4); +x_127 = lean_ctor_get(x_5, 5); +lean_inc(x_127); +lean_inc(x_126); +lean_inc(x_125); +lean_inc(x_124); lean_inc(x_123); lean_inc(x_122); -lean_inc(x_121); -lean_inc(x_120); lean_dec(x_5); -lean_inc(x_122); -x_124 = l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1(x_122, x_122, x_1, x_2, x_10); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -x_126 = lean_ctor_get(x_124, 1); lean_inc(x_126); -lean_dec(x_124); -lean_inc(x_123); -x_127 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_127, 0, x_120); -lean_ctor_set(x_127, 1, x_121); -lean_ctor_set(x_127, 2, x_125); -lean_ctor_set(x_127, 3, x_123); -x_128 = l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_mainLoop___spec__4___at_Lean_Server_FileWorker_mainLoop___spec__5(x_123, x_127, x_1, x_2, x_126); +x_128 = l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1(x_126, x_126, x_1, x_2, x_10); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; x_129 = lean_ctor_get(x_128, 0); lean_inc(x_129); x_130 = lean_ctor_get(x_128, 1); lean_inc(x_130); lean_dec(x_128); -x_131 = lean_ctor_get(x_129, 0); -lean_inc(x_131); -lean_dec(x_129); -x_11 = x_131; -x_12 = x_130; +lean_inc(x_127); +x_131 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_131, 0, x_122); +lean_ctor_set(x_131, 1, x_123); +lean_ctor_set(x_131, 2, x_124); +lean_ctor_set(x_131, 3, x_125); +lean_ctor_set(x_131, 4, x_129); +lean_ctor_set(x_131, 5, x_127); +x_132 = l_Lean_RBNode_forIn_visit___at_Lean_Server_FileWorker_mainLoop___spec__4___at_Lean_Server_FileWorker_mainLoop___spec__5(x_127, x_131, x_1, x_2, x_130); +x_133 = lean_ctor_get(x_132, 0); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); +lean_dec(x_132); +x_135 = lean_ctor_get(x_133, 0); +lean_inc(x_135); +lean_dec(x_133); +x_11 = x_135; +x_12 = x_134; goto block_103; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +lean_dec(x_127); +lean_dec(x_125); +lean_dec(x_124); lean_dec(x_123); -lean_dec(x_121); -lean_dec(x_120); +lean_dec(x_122); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_132 = lean_ctor_get(x_124, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_124, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - lean_ctor_release(x_124, 1); - x_134 = x_124; +x_136 = lean_ctor_get(x_128, 0); +lean_inc(x_136); +x_137 = lean_ctor_get(x_128, 1); +lean_inc(x_137); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_138 = x_128; } else { - lean_dec_ref(x_124); - x_134 = lean_box(0); + lean_dec_ref(x_128); + x_138 = lean_box(0); } -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_138)) { + x_139 = lean_alloc_ctor(1, 2, 0); } else { - x_135 = x_134; + x_139 = x_138; } -lean_ctor_set(x_135, 0, x_132); -lean_ctor_set(x_135, 1, x_133); -return x_135; +lean_ctor_set(x_139, 0, x_136); +lean_ctor_set(x_139, 1, x_137); +return x_139; } } block_103: @@ -16901,27 +15561,27 @@ return x_102; } else { -uint8_t x_136; +uint8_t x_140; lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_136 = !lean_is_exclusive(x_8); -if (x_136 == 0) +x_140 = !lean_is_exclusive(x_8); +if (x_140 == 0) { return x_8; } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_8, 0); -x_138 = lean_ctor_get(x_8, 1); -lean_inc(x_138); -lean_inc(x_137); +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_ctor_get(x_8, 0); +x_142 = lean_ctor_get(x_8, 1); +lean_inc(x_142); +lean_inc(x_141); lean_dec(x_8); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_141); +lean_ctor_set(x_143, 1, x_142); +return x_143; } } } @@ -17818,7 +16478,7 @@ x_40 = l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker x_41 = lean_string_append(x_39, x_40); x_42 = lean_string_append(x_41, x_33); lean_dec(x_33); -x_43 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_43 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_44 = lean_string_append(x_42, x_43); x_45 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_45, 0, x_44); @@ -19522,7 +18182,7 @@ x_10 = lean_io_error_to_string(x_9); x_11 = l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1___closed__1; x_12 = lean_string_append(x_11, x_10); lean_dec(x_10); -x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_13 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_14 = lean_string_append(x_12, x_13); x_15 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_15, 0, x_14); @@ -19541,7 +18201,7 @@ x_18 = lean_io_error_to_string(x_16); x_19 = l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1___closed__1; x_20 = lean_string_append(x_19, x_18); lean_dec(x_18); -x_21 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_21 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_22 = lean_string_append(x_20, x_21); x_23 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_23, 0, x_22); @@ -19566,7 +18226,7 @@ x_27 = lean_io_error_to_string(x_26); x_28 = l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); -x_30 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_30 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_31 = lean_string_append(x_29, x_30); x_32 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_32, 0, x_31); @@ -19585,7 +18245,7 @@ x_35 = lean_io_error_to_string(x_33); x_36 = l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__1___closed__1; x_37 = lean_string_append(x_36, x_35); lean_dec(x_35); -x_38 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_38 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_39 = lean_string_append(x_37, x_38); x_40 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_40, 0, x_39); @@ -19970,7 +18630,7 @@ x_140 = l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorke x_141 = lean_string_append(x_139, x_140); x_142 = lean_string_append(x_141, x_133); lean_dec(x_133); -x_143 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_143 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_144 = lean_string_append(x_142, x_143); x_145 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_145, 0, x_144); @@ -20506,7 +19166,7 @@ x_10 = lean_io_error_to_string(x_9); x_11 = l_IO_FS_Stream_readLspNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__3___closed__1; x_12 = lean_string_append(x_11, x_10); lean_dec(x_10); -x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_13 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_14 = lean_string_append(x_12, x_13); x_15 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_15, 0, x_14); @@ -20525,7 +19185,7 @@ x_18 = lean_io_error_to_string(x_16); x_19 = l_IO_FS_Stream_readLspNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__3___closed__1; x_20 = lean_string_append(x_19, x_18); lean_dec(x_18); -x_21 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_21 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_22 = lean_string_append(x_20, x_21); x_23 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_23, 0, x_22); @@ -20550,7 +19210,7 @@ x_27 = lean_io_error_to_string(x_26); x_28 = l_IO_FS_Stream_readLspNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__3___closed__1; x_29 = lean_string_append(x_28, x_27); lean_dec(x_27); -x_30 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_30 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_31 = lean_string_append(x_29, x_30); x_32 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_32, 0, x_31); @@ -20569,7 +19229,7 @@ x_35 = lean_io_error_to_string(x_33); x_36 = l_IO_FS_Stream_readLspNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__3___closed__1; x_37 = lean_string_append(x_36, x_35); lean_dec(x_35); -x_38 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_38 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_39 = lean_string_append(x_37, x_38); x_40 = lean_alloc_ctor(18, 1, 0); lean_ctor_set(x_40, 0, x_39); @@ -20868,8 +19528,8 @@ lean_inc(x_41); lean_dec(x_40); x_42 = lean_box(0); x_43 = lean_io_error_to_string(x_38); -x_44 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; -x_45 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4; +x_44 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2; +x_45 = l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__3; x_46 = l_Lean_Server_FileWorker_initAndRunWorker___closed__7; x_47 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_47, 0, x_44); @@ -21226,7 +19886,7 @@ x_14 = lean_io_error_to_string(x_12); x_15 = l_Lean_Server_FileWorker_workerMain___closed__1; x_16 = lean_string_append(x_15, x_14); lean_dec(x_14); -x_17 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_17 = l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3; x_18 = lean_string_append(x_16, x_17); x_19 = l_IO_FS_Stream_putStrLn(x_10, x_18, x_13); if (lean_obj_tag(x_19) == 0) @@ -21286,7 +19946,7 @@ lean_object* initialize_Lean_Data_RBMap(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Environment(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Json_FromToJson(uint8_t builtin, lean_object*); -lean_object* initialize_Lean_Util_Paths(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Util_FileSetupInfo(uint8_t builtin, lean_object*); lean_object* initialize_Lean_LoadDynlib(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Server_Utils(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Server_Snapshots(uint8_t builtin, lean_object*); @@ -21295,8 +19955,10 @@ lean_object* initialize_Lean_Server_References(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Server_FileWorker_Utils(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Server_FileWorker_RequestHandling(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Server_FileWorker_WidgetRequests(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Server_FileWorker_SetupFile(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Server_Rpc_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Widget_InteractiveDiagnostic(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Server_ImportCompletion(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Server_FileWorker(uint8_t builtin, lean_object* w) { lean_object * res; @@ -21320,7 +19982,7 @@ lean_dec_ref(res); res = initialize_Lean_Data_Json_FromToJson(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Util_Paths(builtin, lean_io_mk_world()); +res = initialize_Lean_Util_FileSetupInfo(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Lean_LoadDynlib(builtin, lean_io_mk_world()); @@ -21347,12 +20009,18 @@ lean_dec_ref(res); res = initialize_Lean_Server_FileWorker_WidgetRequests(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Server_FileWorker_SetupFile(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Server_Rpc_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); res = initialize_Lean_Widget_InteractiveDiagnostic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Server_ImportCompletion(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__3___closed__1 = _init_l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__3___closed__1(); lean_mark_persistent(l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__3___closed__1); l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__3___closed__2 = _init_l_Lean_Json_toStructured_x3f___at___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_publishIleanInfo___spec__3___closed__2(); @@ -21385,46 +20053,48 @@ l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__1 = _init_l_Lean_Server_FileWo lean_mark_persistent(l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__1); l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__2 = _init_l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__2(); lean_mark_persistent(l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__2); -l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1); -l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__2 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__2); -l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3); -l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4); -l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5); -l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__1 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__1); -l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__2 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__2); -l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__3 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__3); -l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__4 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__4); -l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__5 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__5); -l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__6); -l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__7 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__7); -l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__8 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__8); -l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__9 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___lambda__1___closed__9); -l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__1 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__1); -l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__2 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__2); -l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__3 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__3); -l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__1 = _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__1(); -lean_mark_persistent(l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__1); -l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__2 = _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__2(); -lean_mark_persistent(l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__2); -l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__3 = _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__3(); -lean_mark_persistent(l_List_mapTR_loop___at_Lean_Server_FileWorker_compileHeader___spec__1___closed__3); +l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__1 = _init_l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__1); +l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__2 = _init_l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__2); +l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3 = _init_l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildHeaderEnv_mkErrorEnvironment___closed__3); +l_Lean_Server_FileWorker_buildHeaderEnv___closed__1 = _init_l_Lean_Server_FileWorker_buildHeaderEnv___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildHeaderEnv___closed__1); +l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__1 = _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__1(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__1); +l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__2 = _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__2(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__2); +l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__3 = _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__3(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__3); +l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__4 = _init_l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__4(); +lean_mark_persistent(l_List_mapTR_loop___at_Lean_Server_FileWorker_buildCommandState___spec__1___closed__4); +l_Lean_Server_FileWorker_buildCommandState___closed__1 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__1); +l_Lean_Server_FileWorker_buildCommandState___closed__2 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__2); +l_Lean_Server_FileWorker_buildCommandState___closed__3 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__3); +l_Lean_Server_FileWorker_buildCommandState___closed__4 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__4); +l_Lean_Server_FileWorker_buildCommandState___closed__5 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__5); +l_Lean_Server_FileWorker_buildCommandState___closed__6 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__6(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__6); +l_Lean_Server_FileWorker_buildCommandState___closed__7 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__7(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__7); +l_Lean_Server_FileWorker_buildCommandState___closed__8 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__8(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__8); +l_Lean_Server_FileWorker_buildCommandState___closed__9 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__9(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__9); +l_Lean_Server_FileWorker_buildCommandState___closed__10 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__10(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__10); +l_Lean_Server_FileWorker_buildCommandState___closed__11 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__11(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__11); +l_Lean_Server_FileWorker_buildCommandState___closed__12 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__12(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__12); +l_Lean_Server_FileWorker_buildCommandState___closed__13 = _init_l_Lean_Server_FileWorker_buildCommandState___closed__13(); +lean_mark_persistent(l_Lean_Server_FileWorker_buildCommandState___closed__13); l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__1); l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__2(); @@ -21433,54 +20103,20 @@ l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__3 = _init_l_Lean_Se lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__3); l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4(); lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__4); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__5); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__6 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__6(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__6); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__7 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__7(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__7); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__8); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__9 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__9(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__9); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__10 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__10); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__11 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__11(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__11); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__12 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__12(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__12); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__13 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__13(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__13); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__14 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__14(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__14); -l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__15 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__15(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__1___closed__15); -l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__1 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__1); -l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__2 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__2); -l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__3 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__3); -l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__4 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__3___closed__4); -l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__1 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__1); -l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__2 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__2); -l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__3 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__3(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__3); -l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__4 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__4(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__5___closed__4); -l_Lean_Server_FileWorker_compileHeader___closed__1 = _init_l_Lean_Server_FileWorker_compileHeader___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___closed__1); -l_panic___at_Lean_Server_FileWorker_updateDocument___spec__3___closed__1 = _init_l_panic___at_Lean_Server_FileWorker_updateDocument___spec__3___closed__1(); -lean_mark_persistent(l_panic___at_Lean_Server_FileWorker_updateDocument___spec__3___closed__1); -l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__1 = _init_l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__1); -l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__2 = _init_l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__2(); -lean_mark_persistent(l_Lean_Server_FileWorker_updateDocument___lambda__5___closed__2); -l_Lean_Server_FileWorker_updateDocument___closed__1 = _init_l_Lean_Server_FileWorker_updateDocument___closed__1(); -lean_mark_persistent(l_Lean_Server_FileWorker_updateDocument___closed__1); +l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__1 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__1); +l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__2 = _init_l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_compileHeader___lambda__2___closed__2); +l_Lean_Server_FileWorker_determineValidSnapshots___closed__1 = _init_l_Lean_Server_FileWorker_determineValidSnapshots___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_determineValidSnapshots___closed__1); +l_panic___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__2___closed__1 = _init_l_panic___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__2___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Server_FileWorker_startNewSnapshotTasks___spec__2___closed__1); +l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__1 = _init_l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__1); +l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__2 = _init_l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__1___closed__2); +l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2___closed__1 = _init_l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_startNewSnapshotTasks___lambda__2___closed__1); l_Lean_Server_FileWorker_handleDidChange___closed__1 = _init_l_Lean_Server_FileWorker_handleDidChange___closed__1(); l_Lean_Server_FileWorker_handleDidChange___closed__2 = _init_l_Lean_Server_FileWorker_handleDidChange___closed__2(); l_Lean_Server_FileWorker_parseParams___rarg___closed__1 = _init_l_Lean_Server_FileWorker_parseParams___rarg___closed__1(); @@ -21497,6 +20133,10 @@ l_Lean_Server_FileWorker_handleNotification___closed__4 = _init_l_Lean_Server_Fi lean_mark_persistent(l_Lean_Server_FileWorker_handleNotification___closed__4); l_Lean_Server_FileWorker_handleNotification___closed__5 = _init_l_Lean_Server_FileWorker_handleNotification___closed__5(); lean_mark_persistent(l_Lean_Server_FileWorker_handleNotification___closed__5); +l_Lean_Server_FileWorker_handleImportCompletionRequest___closed__1 = _init_l_Lean_Server_FileWorker_handleImportCompletionRequest___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleImportCompletionRequest___closed__1); +l_Lean_Server_FileWorker_handleRequest___lambda__4___closed__1 = _init_l_Lean_Server_FileWorker_handleRequest___lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_handleRequest___lambda__4___closed__1); l_Lean_Server_FileWorker_handleRequest___closed__1 = _init_l_Lean_Server_FileWorker_handleRequest___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_handleRequest___closed__1); l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__1 = _init_l_Lean_RBNode_foldM___at_Lean_Server_FileWorker_mainLoop___spec__1___closed__1(); diff --git a/stage0/stdlib/Lean/Server/FileWorker/SetupFile.c b/stage0/stdlib/Lean/Server/FileWorker/SetupFile.c new file mode 100644 index 000000000000..a819fd91b1a9 --- /dev/null +++ b/stage0/stdlib/Lean/Server/FileWorker/SetupFile.c @@ -0,0 +1,2035 @@ +// Lean compiler output +// Module: Lean.Server.FileWorker.SetupFile +// Imports: Init Init.System.IO Lean.Server.Utils Lean.Util.FileSetupInfo Lean.Util.LakePath Lean.LoadDynlib +#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_determineLakePath(lean_object*); +static lean_object* l_Lean_Server_FileWorker_setupFile___closed__2; +lean_object* l_Lean_initSrcSearchPath(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupFile(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_EIO_toBaseIO___rarg(lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_forIn_loop___at_Lean_KVMap_mergeBy___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_IO_ofExcept___at_IO_Process_output___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupFile___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1___closed__3; +static lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___closed__4; +lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24_(lean_object*); +lean_object* lean_io_as_task(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +static lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1___closed__2; +lean_object* l_String_trim(lean_object*); +static lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile_processStderr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_runLakeSetupFile___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_setupFile___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_setupFile___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_io_process_child_wait(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_initSearchPath(lean_object*, lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__1; +static lean_object* l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___closed__1; +LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Server_FileWorker_setupFile___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l_IO_FS_Handle_readToEnd_loop(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_LeanOptions_toOptions(lean_object*); +lean_object* l_System_FilePath_fileName(lean_object*); +lean_object* lean_array_to_list(lean_object*, lean_object*); +lean_object* lean_io_process_spawn(lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_ofSuccess(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1___closed__6; +lean_object* lean_task_get_own(lean_object*); +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +lean_object* lean_io_prim_handle_get_line(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_ofImportsOutOfDate(lean_object*); +lean_object* lean_get_prefix(lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +extern lean_object* l_Task_Priority_dedicated; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_ofError(lean_object*, lean_object*); +lean_object* l_System_Uri_fileUriToPath_x3f(lean_object*); +static lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1___closed__5; +lean_object* l_List_reverse___rarg(lean_object*); +lean_object* l_String_intercalate(lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_runLakeSetupFile___spec__1(size_t, size_t, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___closed__2; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +lean_object* lean_load_dynlib(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___closed__1; +lean_object* l_Lean_Json_parse(lean_object*); +static lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_ofNoLakefile(lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +extern lean_object* l_Lean_Options_empty; +static lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___closed__3; +static lean_object* l_Lean_Server_FileWorker_setupFile___closed__1; +lean_object* l_Lean_realPathNormalized(lean_object*, lean_object*); +static lean_object* _init_l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile_processStderr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_4, 2); +x_8 = lean_io_prim_handle_get_line(x_7, x_6); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 1); +x_12 = l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1; +x_13 = lean_string_dec_eq(x_10, x_12); +if (x_13 == 0) +{ +lean_object* x_14; +lean_free_object(x_8); +lean_inc(x_2); +lean_inc(x_10); +x_14 = lean_apply_2(x_2, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_string_append(x_5, x_10); +lean_dec(x_10); +x_5 = x_16; +x_6 = x_15; +goto _start; +} +else +{ +uint8_t x_18; +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_2); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +else +{ +lean_dec(x_10); +lean_dec(x_2); +lean_ctor_set(x_8, 0, x_5); +return x_8; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_8, 0); +x_23 = lean_ctor_get(x_8, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_8); +x_24 = l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1; +x_25 = lean_string_dec_eq(x_22, x_24); +if (x_25 == 0) +{ +lean_object* x_26; +lean_inc(x_2); +lean_inc(x_22); +x_26 = lean_apply_2(x_2, x_22, x_23); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_string_append(x_5, x_22); +lean_dec(x_22); +x_5 = x_28; +x_6 = x_27; +goto _start; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_22); +lean_dec(x_5); +lean_dec(x_2); +x_30 = lean_ctor_get(x_26, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_26)) { + lean_ctor_release(x_26, 0); + lean_ctor_release(x_26, 1); + x_32 = x_26; +} else { + lean_dec_ref(x_26); + x_32 = lean_box(0); +} +if (lean_is_scalar(x_32)) { + x_33 = lean_alloc_ctor(1, 2, 0); +} else { + x_33 = x_32; +} +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_31); +return x_33; +} +} +else +{ +lean_object* x_34; +lean_dec(x_22); +lean_dec(x_2); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_5); +lean_ctor_set(x_34, 1, x_23); +return x_34; +} +} +} +else +{ +uint8_t x_35; +lean_dec(x_5); +lean_dec(x_2); +x_35 = !lean_is_exclusive(x_8); +if (x_35 == 0) +{ +return x_8; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_8, 0); +x_37 = lean_ctor_get(x_8, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_8); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Server_FileWorker_runLakeSetupFile_processStderr(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_runLakeSetupFile___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_ctor_get(x_5, 0); +lean_inc(x_8); +lean_dec(x_5); +x_9 = 1; +x_10 = l_Lean_Name_toString(x_8, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_7, x_2, x_10); +x_2 = x_12; +x_3 = x_13; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__1() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; +x_1 = 2; +x_2 = 0; +x_3 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, 1, x_2); +lean_ctor_set_uint8(x_3, 2, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_box(0); +x_7 = l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__1; +x_8 = l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__2; +x_9 = 0; +lean_inc(x_3); +lean_inc(x_1); +x_10 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_10, 0, x_7); +lean_ctor_set(x_10, 1, x_1); +lean_ctor_set(x_10, 2, x_3); +lean_ctor_set(x_10, 3, x_6); +lean_ctor_set(x_10, 4, x_8); +lean_ctor_set_uint8(x_10, sizeof(void*)*5, x_9); +lean_inc(x_10); +x_11 = lean_io_process_spawn(x_10, x_5); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1; +lean_inc(x_12); +x_15 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___boxed), 6, 5); +lean_closure_set(x_15, 0, x_1); +lean_closure_set(x_15, 1, x_2); +lean_closure_set(x_15, 2, x_3); +lean_closure_set(x_15, 3, x_12); +lean_closure_set(x_15, 4, x_14); +x_16 = lean_alloc_closure((void*)(l_EIO_toBaseIO___rarg), 2, 1); +lean_closure_set(x_16, 0, x_15); +x_17 = l_Task_Priority_dedicated; +x_18 = lean_io_as_task(x_16, x_17, x_13); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); +x_22 = l_IO_FS_Handle_readToEnd_loop(x_21, x_14, x_20); +lean_dec(x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_String_trim(x_23); +lean_dec(x_23); +x_26 = lean_task_get_own(x_19); +x_27 = l_IO_ofExcept___at_IO_Process_output___spec__1(x_26, x_24); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_io_process_child_wait(x_7, x_12, x_29); +lean_dec(x_12); +if (lean_obj_tag(x_30) == 0) +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; uint32_t x_34; +x_32 = lean_ctor_get(x_30, 0); +x_33 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_33, 0, x_10); +lean_ctor_set(x_33, 1, x_25); +lean_ctor_set(x_33, 2, x_28); +x_34 = lean_unbox_uint32(x_32); +lean_dec(x_32); +lean_ctor_set_uint32(x_33, sizeof(void*)*3, x_34); +lean_ctor_set(x_30, 0, x_33); +return x_30; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint32_t x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_30, 0); +x_36 = lean_ctor_get(x_30, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_30); +x_37 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_37, 0, x_10); +lean_ctor_set(x_37, 1, x_25); +lean_ctor_set(x_37, 2, x_28); +x_38 = lean_unbox_uint32(x_35); +lean_dec(x_35); +lean_ctor_set_uint32(x_37, sizeof(void*)*3, x_38); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_36); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_dec(x_28); +lean_dec(x_25); +lean_dec(x_10); +x_40 = !lean_is_exclusive(x_30); +if (x_40 == 0) +{ +return x_30; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_30, 0); +x_42 = lean_ctor_get(x_30, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_30); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_25); +lean_dec(x_12); +lean_dec(x_10); +x_44 = !lean_is_exclusive(x_27); +if (x_44 == 0) +{ +return x_27; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_27, 0); +x_46 = lean_ctor_get(x_27, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_27); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_19); +lean_dec(x_12); +lean_dec(x_10); +x_48 = !lean_is_exclusive(x_22); +if (x_48 == 0) +{ +return x_22; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_22, 0); +x_50 = lean_ctor_get(x_22, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_22); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_10); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_52 = !lean_is_exclusive(x_11); +if (x_52 == 0) +{ +return x_11; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_11, 0); +x_54 = lean_ctor_get(x_11, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_11); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +} +} +static lean_object* _init_l_Lean_Server_FileWorker_runLakeSetupFile___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_runLakeSetupFile___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("setup-file", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_runLakeSetupFile___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Server_FileWorker_runLakeSetupFile___closed__1; +x_2 = l_Lean_Server_FileWorker_runLakeSetupFile___closed__2; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_runLakeSetupFile___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("--no-build", 10); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_7 = l_Lean_Server_FileWorker_runLakeSetupFile___closed__3; +x_8 = lean_array_push(x_7, x_3); +x_9 = lean_array_get_size(x_4); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = 0; +x_12 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_runLakeSetupFile___spec__1(x_10, x_11, x_4); +x_13 = l_Array_append___rarg(x_8, x_12); +x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); +lean_dec(x_1); +x_15 = lean_box(x_14); +if (lean_obj_tag(x_15) == 2) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = l_Lean_Server_FileWorker_runLakeSetupFile___closed__4; +x_17 = lean_array_push(x_13, x_16); +x_18 = lean_box(0); +x_19 = l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1(x_2, x_5, x_17, x_18, x_6); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_15); +x_20 = lean_box(0); +x_21 = l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1(x_2, x_5, x_13, x_20, x_6); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_runLakeSetupFile___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_runLakeSetupFile___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_ofSuccess(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_initSrcSearchPath(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +lean_ctor_set(x_8, 2, x_2); +lean_ctor_set(x_4, 0, x_8); +return x_4; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_4); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_9); +lean_ctor_set(x_12, 2, x_2); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_10); +return x_13; +} +} +else +{ +uint8_t x_14; +lean_dec(x_2); +x_14 = !lean_is_exclusive(x_4); +if (x_14 == 0) +{ +return x_4; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_4, 0); +x_16 = lean_ctor_get(x_4, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_4); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_ofNoLakefile(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = l_Lean_initSrcSearchPath(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_box(1); +x_7 = l_Lean_Options_empty; +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 2, x_7); +lean_ctor_set(x_3, 0, x_8); +return x_3; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_3); +x_11 = lean_box(1); +x_12 = l_Lean_Options_empty; +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_9); +lean_ctor_set(x_13, 2, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_3); +if (x_15 == 0) +{ +return x_3; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_3, 0); +x_17 = lean_ctor_get(x_3, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_3); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_ofImportsOutOfDate(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = l_Lean_initSrcSearchPath(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_box(2); +x_7 = l_Lean_Options_empty; +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 2, x_7); +lean_ctor_set(x_3, 0, x_8); +return x_3; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_9 = lean_ctor_get(x_3, 0); +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_3); +x_11 = lean_box(2); +x_12 = l_Lean_Options_empty; +x_13 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_9); +lean_ctor_set(x_13, 2, x_12); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_10); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_3); +if (x_15 == 0) +{ +return x_3; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_3, 0); +x_17 = lean_ctor_get(x_3, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_3); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_ofError(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_box(0); +x_4 = l_Lean_initSrcSearchPath(x_3, x_2); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_7, 0, x_1); +x_8 = l_Lean_Options_empty; +x_9 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_6); +lean_ctor_set(x_9, 2, x_8); +lean_ctor_set(x_4, 0, x_9); +return x_4; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_ctor_get(x_4, 0); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_4); +x_12 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_12, 0, x_1); +x_13 = l_Lean_Options_empty; +x_14 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_10); +lean_ctor_set(x_14, 2, x_13); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_11); +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_4); +if (x_16 == 0) +{ +return x_4; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_4, 0); +x_18 = lean_ctor_get(x_4, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_4); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_inc(x_3); +return x_3; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___lambda__1___boxed), 3, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 2); +x_5 = l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___closed__1; +x_6 = l_List_forIn_loop___at_Lean_KVMap_mergeBy___spec__1(x_5, x_4, x_2); +lean_ctor_set(x_1, 2, x_6); +return x_1; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_dec(x_1); +x_10 = l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___closed__1; +x_11 = l_List_forIn_loop___at_Lean_KVMap_mergeBy___spec__1(x_10, x_9, x_2); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_7); +lean_ctor_set(x_12, 1, x_8); +lean_ctor_set(x_12, 2, x_11); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___lambda__1(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Server_FileWorker_setupFile___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_List_reverse___rarg(x_2); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +return x_5; +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +x_9 = l_Lean_realPathNormalized(x_7, x_3); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set(x_1, 0, x_10); +{ +lean_object* _tmp_0 = x_8; +lean_object* _tmp_1 = x_1; +lean_object* _tmp_2 = x_11; +x_1 = _tmp_0; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +else +{ +uint8_t x_13; +lean_free_object(x_1); +lean_dec(x_8); +lean_dec(x_2); +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_9); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_1, 0); +x_18 = lean_ctor_get(x_1, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_1); +x_19 = l_Lean_realPathNormalized(x_17, x_3); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_2); +x_1 = x_18; +x_2 = x_22; +x_3 = x_21; +goto _start; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_dec(x_18); +lean_dec(x_2); +x_24 = lean_ctor_get(x_19, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_19)) { + lean_ctor_release(x_19, 0); + lean_ctor_release(x_19, 1); + x_26 = x_19; +} else { + lean_dec_ref(x_19); + x_26 = lean_box(0); +} +if (lean_is_scalar(x_26)) { + x_27 = lean_alloc_ctor(1, 2, 0); +} else { + x_27 = x_26; +} +lean_ctor_set(x_27, 0, x_24); +lean_ctor_set(x_27, 1, x_25); +return x_27; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_setupFile___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +uint8_t x_6; +x_6 = lean_usize_dec_eq(x_2, x_3); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +x_7 = lean_array_uget(x_1, x_2); +x_8 = lean_load_dynlib(x_7, x_5); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_2 = x_12; +x_4 = x_9; +x_5 = x_10; +goto _start; +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_8); +if (x_14 == 0) +{ +return x_8; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_8, 0); +x_16 = lean_ctor_get(x_8, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_8); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +else +{ +lean_object* x_18; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_4); +lean_ctor_set(x_18, 1, x_5); +return x_18; +} +} +} +static lean_object* _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" ", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("`", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("` failed:\n", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\nstderr:\n", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Invalid output from `", 21); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("`:\n", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Server_FileWorker_runLakeSetupFile(x_1, x_2, x_3, x_4, x_5, x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint32_t x_18; uint32_t x_19; uint8_t x_20; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 2); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_array_to_list(lean_box(0), x_13); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_12); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_Server_FileWorker_setupFile___lambda__1___closed__1; +x_17 = l_String_intercalate(x_16, x_15); +x_18 = lean_ctor_get_uint32(x_9, sizeof(void*)*3); +x_19 = 0; +x_20 = lean_uint32_dec_eq(x_18, x_19); +if (x_20 == 0) +{ +uint32_t x_21; uint8_t x_22; +x_21 = 2; +x_22 = lean_uint32_dec_eq(x_18, x_21); +if (x_22 == 0) +{ +uint32_t x_23; uint8_t x_24; +x_23 = 3; +x_24 = lean_uint32_dec_eq(x_18, x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_25 = l_Lean_Server_FileWorker_setupFile___lambda__1___closed__2; +x_26 = lean_string_append(x_25, x_17); +lean_dec(x_17); +x_27 = l_Lean_Server_FileWorker_setupFile___lambda__1___closed__3; +x_28 = lean_string_append(x_26, x_27); +x_29 = lean_ctor_get(x_9, 1); +lean_inc(x_29); +x_30 = lean_string_append(x_28, x_29); +lean_dec(x_29); +x_31 = l_Lean_Server_FileWorker_setupFile___lambda__1___closed__4; +x_32 = lean_string_append(x_30, x_31); +x_33 = lean_ctor_get(x_9, 2); +lean_inc(x_33); +lean_dec(x_9); +x_34 = lean_string_append(x_32, x_33); +lean_dec(x_33); +x_35 = l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1; +x_36 = lean_string_append(x_34, x_35); +x_37 = l_Lean_Server_FileWorker_FileSetupResult_ofError(x_36, x_10); +return x_37; +} +else +{ +lean_object* x_38; +lean_dec(x_17); +lean_dec(x_9); +x_38 = l_Lean_Server_FileWorker_FileSetupResult_ofImportsOutOfDate(x_10); +return x_38; +} +} +else +{ +lean_object* x_39; +lean_dec(x_17); +lean_dec(x_9); +x_39 = l_Lean_Server_FileWorker_FileSetupResult_ofNoLakefile(x_10); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_129; +x_40 = lean_ctor_get(x_9, 1); +lean_inc(x_40); +lean_inc(x_40); +x_129 = l_Lean_Json_parse(x_40); +if (lean_obj_tag(x_129) == 0) +{ +uint8_t x_130; +x_130 = !lean_is_exclusive(x_129); +if (x_130 == 0) +{ +x_41 = x_129; +goto block_128; +} +else +{ +lean_object* x_131; lean_object* x_132; +x_131 = lean_ctor_get(x_129, 0); +lean_inc(x_131); +lean_dec(x_129); +x_132 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_41 = x_132; +goto block_128; +} +} +else +{ +lean_object* x_133; lean_object* x_134; +x_133 = lean_ctor_get(x_129, 0); +lean_inc(x_133); +lean_dec(x_129); +x_134 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24_(x_133); +lean_dec(x_133); +x_41 = x_134; +goto block_128; +} +block_128: +{ +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_41); +x_42 = l_Lean_Server_FileWorker_setupFile___lambda__1___closed__5; +x_43 = lean_string_append(x_42, x_17); +lean_dec(x_17); +x_44 = l_Lean_Server_FileWorker_setupFile___lambda__1___closed__6; +x_45 = lean_string_append(x_43, x_44); +x_46 = lean_string_append(x_45, x_40); +lean_dec(x_40); +x_47 = l_Lean_Server_FileWorker_setupFile___lambda__1___closed__4; +x_48 = lean_string_append(x_46, x_47); +x_49 = lean_ctor_get(x_9, 2); +lean_inc(x_49); +lean_dec(x_9); +x_50 = lean_string_append(x_48, x_49); +lean_dec(x_49); +x_51 = l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1; +x_52 = lean_string_append(x_50, x_51); +x_53 = l_Lean_Server_FileWorker_FileSetupResult_ofError(x_52, x_10); +if (lean_obj_tag(x_53) == 0) +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) +{ +return x_53; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_53, 0); +x_56 = lean_ctor_get(x_53, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_53); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +else +{ +uint8_t x_58; +x_58 = !lean_is_exclusive(x_53); +if (x_58 == 0) +{ +return x_53; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_53, 0); +x_60 = lean_ctor_get(x_53, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_53); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_59); +lean_ctor_set(x_61, 1, x_60); +return x_61; +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_40); +lean_dec(x_17); +lean_dec(x_9); +x_62 = lean_ctor_get(x_41, 0); +lean_inc(x_62); +lean_dec(x_41); +x_63 = lean_get_prefix(x_10); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_ctor_get(x_63, 1); +lean_inc(x_65); +lean_dec(x_63); +x_66 = lean_ctor_get(x_62, 0); +lean_inc(x_66); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = l_Lean_initSearchPath(x_64, x_67, x_65); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +x_70 = lean_ctor_get(x_66, 2); +lean_inc(x_70); +x_71 = lean_array_get_size(x_70); +x_72 = lean_unsigned_to_nat(0u); +x_73 = lean_nat_dec_lt(x_72, x_71); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_71); +lean_dec(x_70); +x_74 = lean_ctor_get(x_66, 1); +lean_inc(x_74); +lean_dec(x_66); +x_75 = lean_box(0); +x_76 = l_List_mapM_loop___at_Lean_Server_FileWorker_setupFile___spec__1(x_74, x_75, x_69); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_ctor_get(x_62, 1); +lean_inc(x_79); +lean_dec(x_62); +x_80 = l_Lean_LeanOptions_toOptions(x_79); +x_81 = l_Lean_Server_FileWorker_FileSetupResult_ofSuccess(x_77, x_80, x_78); +return x_81; +} +else +{ +uint8_t x_82; +lean_dec(x_62); +x_82 = !lean_is_exclusive(x_76); +if (x_82 == 0) +{ +return x_76; +} +else +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_76, 0); +x_84 = lean_ctor_get(x_76, 1); +lean_inc(x_84); +lean_inc(x_83); +lean_dec(x_76); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; +} +} +} +else +{ +uint8_t x_86; +x_86 = lean_nat_dec_le(x_71, x_71); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_71); +lean_dec(x_70); +x_87 = lean_ctor_get(x_66, 1); +lean_inc(x_87); +lean_dec(x_66); +x_88 = lean_box(0); +x_89 = l_List_mapM_loop___at_Lean_Server_FileWorker_setupFile___spec__1(x_87, x_88, x_69); +if (lean_obj_tag(x_89) == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_ctor_get(x_62, 1); +lean_inc(x_92); +lean_dec(x_62); +x_93 = l_Lean_LeanOptions_toOptions(x_92); +x_94 = l_Lean_Server_FileWorker_FileSetupResult_ofSuccess(x_90, x_93, x_91); +return x_94; +} +else +{ +uint8_t x_95; +lean_dec(x_62); +x_95 = !lean_is_exclusive(x_89); +if (x_95 == 0) +{ +return x_89; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_89, 0); +x_97 = lean_ctor_get(x_89, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_89); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; +} +} +} +else +{ +size_t x_99; size_t x_100; lean_object* x_101; lean_object* x_102; +x_99 = 0; +x_100 = lean_usize_of_nat(x_71); +lean_dec(x_71); +x_101 = lean_box(0); +x_102 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_setupFile___spec__2(x_70, x_99, x_100, x_101, x_69); +lean_dec(x_70); +if (lean_obj_tag(x_102) == 0) +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +lean_dec(x_102); +x_104 = lean_ctor_get(x_66, 1); +lean_inc(x_104); +lean_dec(x_66); +x_105 = lean_box(0); +x_106 = l_List_mapM_loop___at_Lean_Server_FileWorker_setupFile___spec__1(x_104, x_105, x_103); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_107 = lean_ctor_get(x_106, 0); +lean_inc(x_107); +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_109 = lean_ctor_get(x_62, 1); +lean_inc(x_109); +lean_dec(x_62); +x_110 = l_Lean_LeanOptions_toOptions(x_109); +x_111 = l_Lean_Server_FileWorker_FileSetupResult_ofSuccess(x_107, x_110, x_108); +return x_111; +} +else +{ +uint8_t x_112; +lean_dec(x_62); +x_112 = !lean_is_exclusive(x_106); +if (x_112 == 0) +{ +return x_106; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_106, 0); +x_114 = lean_ctor_get(x_106, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_106); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; +} +} +} +else +{ +uint8_t x_116; +lean_dec(x_66); +lean_dec(x_62); +x_116 = !lean_is_exclusive(x_102); +if (x_116 == 0) +{ +return x_102; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_102, 0); +x_118 = lean_ctor_get(x_102, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_102); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +} +} +} +else +{ +uint8_t x_120; +lean_dec(x_66); +lean_dec(x_62); +x_120 = !lean_is_exclusive(x_68); +if (x_120 == 0) +{ +return x_68; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_121 = lean_ctor_get(x_68, 0); +x_122 = lean_ctor_get(x_68, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_68); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_121); +lean_ctor_set(x_123, 1, x_122); +return x_123; +} +} +} +else +{ +uint8_t x_124; +lean_dec(x_62); +x_124 = !lean_is_exclusive(x_63); +if (x_124 == 0) +{ +return x_63; +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_63, 0); +x_126 = lean_ctor_get(x_63, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_63); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; +} +} +} +} +} +} +else +{ +uint8_t x_135; +x_135 = !lean_is_exclusive(x_8); +if (x_135 == 0) +{ +return x_8; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_8, 0); +x_137 = lean_ctor_get(x_8, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_8); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupFile___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +lean_dec(x_5); +x_7 = l_Lean_determineLakePath(x_6); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_System_FilePath_pathExists(x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_unbox(x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_8); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_13 = lean_ctor_get(x_10, 1); +lean_inc(x_13); +lean_dec(x_10); +x_14 = l_Lean_Server_FileWorker_FileSetupResult_ofNoLakefile(x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_10, 1); +lean_inc(x_23); +lean_dec(x_10); +x_24 = lean_box(0); +x_25 = l_Lean_Server_FileWorker_setupFile___lambda__1(x_1, x_8, x_2, x_3, x_4, x_24, x_23); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_7); +if (x_26 == 0) +{ +return x_7; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_7, 0); +x_28 = lean_ctor_get(x_7, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_7); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +static lean_object* _init_l_Lean_Server_FileWorker_setupFile___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("lakefile.lean", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_setupFile___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Server_FileWorker_setupFile___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupFile(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = l_System_Uri_fileUriToPath_x3f(x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Server_FileWorker_FileSetupResult_ofNoLakefile(x_4); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +return x_7; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_7); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +return x_11; +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_7); +if (x_12 == 0) +{ +return x_7; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_7, 0); +x_14 = lean_ctor_get(x_7, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_7); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_16 = lean_ctor_get(x_6, 0); +lean_inc(x_16); +lean_dec(x_6); +lean_inc(x_16); +x_17 = l_System_FilePath_fileName(x_16); +x_18 = l_Lean_Server_FileWorker_setupFile___closed__2; +x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(x_17, x_18); +lean_dec(x_17); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l_Lean_Server_FileWorker_setupFile___lambda__2(x_1, x_16, x_2, x_3, x_20, x_4); +return x_21; +} +else +{ +lean_object* x_22; +lean_dec(x_16); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_22 = l_Lean_Server_FileWorker_FileSetupResult_ofNoLakefile(x_4); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +return x_22; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_22); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +return x_22; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_22, 0); +x_29 = lean_ctor_get(x_22, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_22); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_setupFile___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_Server_FileWorker_setupFile___spec__2(x_1, x_6, x_7, x_4, x_5); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_setupFile___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Server_FileWorker_setupFile___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +return x_8; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Init_System_IO(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Server_Utils(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Util_FileSetupInfo(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Util_LakePath(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_LoadDynlib(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Server_FileWorker_SetupFile(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Init_System_IO(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Server_Utils(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Util_FileSetupInfo(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Util_LakePath(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_LoadDynlib(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1 = _init_l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_runLakeSetupFile_processStderr___closed__1); +l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__1 = _init_l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__1); +l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__2 = _init_l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_runLakeSetupFile___lambda__1___closed__2); +l_Lean_Server_FileWorker_runLakeSetupFile___closed__1 = _init_l_Lean_Server_FileWorker_runLakeSetupFile___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_runLakeSetupFile___closed__1); +l_Lean_Server_FileWorker_runLakeSetupFile___closed__2 = _init_l_Lean_Server_FileWorker_runLakeSetupFile___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_runLakeSetupFile___closed__2); +l_Lean_Server_FileWorker_runLakeSetupFile___closed__3 = _init_l_Lean_Server_FileWorker_runLakeSetupFile___closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_runLakeSetupFile___closed__3); +l_Lean_Server_FileWorker_runLakeSetupFile___closed__4 = _init_l_Lean_Server_FileWorker_runLakeSetupFile___closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_runLakeSetupFile___closed__4); +l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___closed__1 = _init_l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_FileSetupResult_addGlobalOptions___closed__1); +l_Lean_Server_FileWorker_setupFile___lambda__1___closed__1 = _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_setupFile___lambda__1___closed__1); +l_Lean_Server_FileWorker_setupFile___lambda__1___closed__2 = _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_setupFile___lambda__1___closed__2); +l_Lean_Server_FileWorker_setupFile___lambda__1___closed__3 = _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_Server_FileWorker_setupFile___lambda__1___closed__3); +l_Lean_Server_FileWorker_setupFile___lambda__1___closed__4 = _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__4(); +lean_mark_persistent(l_Lean_Server_FileWorker_setupFile___lambda__1___closed__4); +l_Lean_Server_FileWorker_setupFile___lambda__1___closed__5 = _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_setupFile___lambda__1___closed__5); +l_Lean_Server_FileWorker_setupFile___lambda__1___closed__6 = _init_l_Lean_Server_FileWorker_setupFile___lambda__1___closed__6(); +lean_mark_persistent(l_Lean_Server_FileWorker_setupFile___lambda__1___closed__6); +l_Lean_Server_FileWorker_setupFile___closed__1 = _init_l_Lean_Server_FileWorker_setupFile___closed__1(); +lean_mark_persistent(l_Lean_Server_FileWorker_setupFile___closed__1); +l_Lean_Server_FileWorker_setupFile___closed__2 = _init_l_Lean_Server_FileWorker_setupFile___closed__2(); +lean_mark_persistent(l_Lean_Server_FileWorker_setupFile___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Server/ImportCompletion.c b/stage0/stdlib/Lean/Server/ImportCompletion.c new file mode 100644 index 000000000000..49b9783840bc --- /dev/null +++ b/stage0/stdlib/Lean/Server/ImportCompletion.c @@ -0,0 +1,3489 @@ +// Lean compiler output +// Module: Lean.Server.ImportCompletion +// Imports: Init Lean.Data.Name Lean.Data.NameTrie Lean.Data.Lsp.Utf16 Lean.Data.Lsp.LanguageFeatures Lean.Util.Paths Lean.Util.LakePath +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_ImportCompletion_collectAvailableImports(lean_object*); +lean_object* l_Lean_determineLakePath(lean_object*); +lean_object* l_Lean_initSrcSearchPath(lean_object*, lean_object*); +static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5___lambda__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__5; +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__1; +static lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +static lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_computePartialImportCompletions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_NameTrie_toArray___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_ImportCompletion_computePartialImportCompletions___spec__4(lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_PrefixTreeNode_empty(lean_object*, lean_object*); +lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +lean_object* l_Lean_Syntax_getId(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_isImportCmdCompletionRequest___boxed(lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +uint8_t l_Lean_Name_isAnonymous(lean_object*); +lean_object* l_System_FilePath_extension(lean_object*); +lean_object* l_Lean_Syntax_getArgs(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_String_trim(lean_object*); +lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_computeCompletions___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); +lean_object* l_System_FilePath_withExtension(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_insertionSort_traverse___at_ImportCompletion_computePartialImportCompletions___spec__2(lean_object*, lean_object*, lean_object*); +static lean_object* l_ImportCompletion_computePartialImportCompletions___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_determinePartialHeaderCompletions(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_FS_DirEntry_path(lean_object*); +LEAN_EXPORT uint8_t l_ImportCompletion_determinePartialHeaderCompletions___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_AvailableImports_toImportTrie(lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_collectAvailableImportsFromSrcSearchPath(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_AvailableImports_toImportTrie___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*); +static lean_object* l_ImportCompletion_isImportCompletionRequest___closed__2; +LEAN_EXPORT lean_object* l_ImportCompletion_computePartialImportCompletions___lambda__1___boxed(lean_object*); +static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__7; +lean_object* l_Lean_Json_getStr_x3f(lean_object*); +lean_object* lean_io_process_child_wait(lean_object*, lean_object*, lean_object*); +static lean_object* l_ImportCompletion_computePartialImportCompletions___closed__3; +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__1(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_cmp(lean_object*, lean_object*); +lean_object* l_Lean_FileMap_lspPosToUtf8Pos(lean_object*, lean_object*); +static lean_object* l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1; +lean_object* l_System_FilePath_isDir(lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_ImportCompletion_isImportNameCompletionRequest(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_ImportCompletion_isImportCompletionRequest(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); +lean_object* l_IO_FS_Handle_readToEnd_loop(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_determinePartialHeaderCompletions___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_isImportCompletionRequest___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_io_process_spawn(lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isMissing(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT uint8_t l_ImportCompletion_isImportCmdCompletionRequest(lean_object*, lean_object*); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__1(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__2(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_computePartialImportCompletions___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_String_csize(uint32_t); +LEAN_EXPORT lean_object* l_ImportCompletion_determinePartialHeaderCompletions___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_ImportCompletion_computePartialImportCompletions___closed__4; +static lean_object* l_ImportCompletion_computePartialImportCompletions___closed__5; +uint8_t l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_22_(uint8_t, uint8_t); +static lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_computePartialImportCompletions(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_computePartialImportCompletions___lambda__1(lean_object*); +uint8_t l_Lean_Syntax_hasArgs(lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_ImportCompletion_computeCompletions(lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +lean_object* l_Lean_Syntax_findAux(lean_object*, lean_object*); +lean_object* l_String_toName(lean_object*); +lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_ImportCompletion_computePartialImportCompletions___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__4; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_isImportNameCompletionRequest___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_ImportCompletion_AvailableImports_toImportTrie___closed__1; +static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__6; +LEAN_EXPORT lean_object* l_ImportCompletion_AvailableImports_toImportTrie___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_AvailableImports_toImportTrie___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_insertionSort_swapLoop___at_ImportCompletion_computePartialImportCompletions___spec__3(lean_object*, lean_object*, lean_object*); +lean_object* lean_io_read_dir(lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___closed__1; +size_t lean_usize_add(size_t, size_t); +static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__2; +lean_object* l_Lean_NameTrie_matchingToArray___rarg(lean_object*, lean_object*); +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_ImportCompletion_isImportCompletionRequest___closed__1; +LEAN_EXPORT lean_object* l_ImportCompletion_collectAvailableImportsFromLake(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___lambda__1(lean_object*, lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_find___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +lean_object* l_Lean_Json_parse(lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ImportCompletion_find(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_ImportCompletion_collectAvailableImportsFromLake___closed__1; +lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_NameTrie_insert___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_ImportCompletion_computePartialImportCompletions___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_AvailableImports_toImportTrie___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_3); +lean_inc(x_6); +x_7 = l_Lean_NameTrie_insert___rarg(x_4, x_6, x_6); +lean_dec(x_6); +x_8 = 1; +x_9 = lean_usize_add(x_3, x_8); +x_3 = x_9; +x_4 = x_7; +goto _start; +} +} +} +static lean_object* _init_l_ImportCompletion_AvailableImports_toImportTrie___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PrefixTreeNode_empty(lean_box(0), lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_AvailableImports_toImportTrie(lean_object* x_1) { +_start: +{ +lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; +x_2 = lean_array_get_size(x_1); +x_3 = lean_usize_of_nat(x_2); +lean_dec(x_2); +x_4 = 0; +x_5 = l_ImportCompletion_AvailableImports_toImportTrie___closed__1; +x_6 = l_Array_forInUnsafe_loop___at_ImportCompletion_AvailableImports_toImportTrie___spec__1(x_1, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_AvailableImports_toImportTrie___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_forInUnsafe_loop___at_ImportCompletion_AvailableImports_toImportTrie___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_AvailableImports_toImportTrie___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_ImportCompletion_AvailableImports_toImportTrie(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l_ImportCompletion_determinePartialHeaderCompletions___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = 0; +x_4 = l_Lean_Syntax_getPos_x3f(x_2, x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +lean_dec(x_2); +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l_Lean_Syntax_getTailPos_x3f(x_2, x_3); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +lean_dec(x_6); +x_8 = 0; +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_nat_dec_le(x_6, x_1); +lean_dec(x_6); +if (x_10 == 0) +{ +uint8_t x_11; +lean_dec(x_9); +x_11 = 0; +return x_11; +} +else +{ +uint8_t x_12; +x_12 = lean_nat_dec_le(x_1, x_9); +lean_dec(x_9); +return x_12; +} +} +} +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_determinePartialHeaderCompletions(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_unsigned_to_nat(1u); +x_4 = l_Lean_Syntax_getArg(x_1, x_3); +x_5 = lean_alloc_closure((void*)(l_ImportCompletion_determinePartialHeaderCompletions___lambda__1___boxed), 2, 1); +lean_closure_set(x_5, 0, x_2); +x_6 = l_Lean_Syntax_findAux(x_5, x_4); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = lean_box(0); +return x_7; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_determinePartialHeaderCompletions___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_ImportCompletion_determinePartialHeaderCompletions___lambda__1(x_1, x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_determinePartialHeaderCompletions___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_ImportCompletion_determinePartialHeaderCompletions(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 32; +x_2 = l_String_csize(x_1); +return x_2; +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Lean_Syntax_getArg(x_6, x_7); +x_9 = lean_unsigned_to_nat(2u); +x_10 = l_Lean_Syntax_getArg(x_6, x_9); +lean_dec(x_6); +x_11 = l_Lean_Syntax_isMissing(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +size_t x_12; size_t x_13; +lean_dec(x_8); +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +x_3 = x_13; +goto _start; +} +else +{ +uint8_t x_15; lean_object* x_16; +x_15 = 0; +x_16 = l_Lean_Syntax_getTailPos_x3f(x_8, x_15); +if (lean_obj_tag(x_16) == 0) +{ +size_t x_17; size_t x_18; +x_17 = 1; +x_18 = lean_usize_add(x_3, x_17); +x_3 = x_18; +goto _start; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_ctor_get(x_16, 0); +lean_inc(x_20); +lean_dec(x_16); +x_21 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1; +x_22 = lean_nat_add(x_20, x_21); +lean_dec(x_20); +x_23 = lean_nat_dec_eq(x_1, x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +size_t x_24; size_t x_25; +x_24 = 1; +x_25 = lean_usize_add(x_3, x_24); +x_3 = x_25; +goto _start; +} +else +{ +uint8_t x_27; +x_27 = 1; +return x_27; +} +} +} +} +else +{ +uint8_t x_28; +x_28 = 0; +return x_28; +} +} +} +LEAN_EXPORT uint8_t l_ImportCompletion_isImportNameCompletionRequest(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_3 = lean_unsigned_to_nat(1u); +x_4 = l_Lean_Syntax_getArg(x_1, x_3); +lean_dec(x_1); +x_5 = l_Lean_Syntax_getArgs(x_4); +lean_dec(x_4); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_9 = 0; +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = 0; +x_11 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_12 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1(x_2, x_5, x_10, x_11); +lean_dec(x_5); +lean_dec(x_2); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_isImportNameCompletionRequest___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_ImportCompletion_isImportNameCompletionRequest(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; lean_object* x_8; +x_6 = lean_array_uget(x_2, x_3); +x_7 = 0; +x_8 = l_Lean_Syntax_getPos_x3f(x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +size_t x_9; size_t x_10; +lean_dec(x_6); +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +goto _start; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l_Lean_Syntax_getTailPos_x3f(x_6, x_7); +if (lean_obj_tag(x_13) == 0) +{ +size_t x_14; size_t x_15; +lean_dec(x_12); +x_14 = 1; +x_15 = lean_usize_add(x_3, x_14); +x_3 = x_15; +goto _start; +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_nat_dec_le(x_12, x_1); +lean_dec(x_12); +if (x_18 == 0) +{ +size_t x_19; size_t x_20; +lean_dec(x_17); +x_19 = 1; +x_20 = lean_usize_add(x_3, x_19); +x_3 = x_20; +goto _start; +} +else +{ +uint8_t x_22; +x_22 = lean_nat_dec_le(x_1, x_17); +lean_dec(x_17); +if (x_22 == 0) +{ +size_t x_23; size_t x_24; +x_23 = 1; +x_24 = lean_usize_add(x_3, x_23); +x_3 = x_24; +goto _start; +} +else +{ +uint8_t x_26; +x_26 = 1; +return x_26; +} +} +} +} +} +else +{ +uint8_t x_27; +x_27 = 0; +return x_27; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_Syntax_getArgs(x_6); +lean_dec(x_6); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = lean_nat_dec_lt(x_9, x_8); +if (x_10 == 0) +{ +size_t x_11; size_t x_12; +lean_dec(x_8); +lean_dec(x_7); +x_11 = 1; +x_12 = lean_usize_add(x_3, x_11); +x_3 = x_12; +goto _start; +} +else +{ +size_t x_14; size_t x_15; uint8_t x_16; +x_14 = 0; +x_15 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_16 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__1(x_1, x_7, x_14, x_15); +lean_dec(x_7); +if (x_16 == 0) +{ +size_t x_17; size_t x_18; +x_17 = 1; +x_18 = lean_usize_add(x_3, x_17); +x_3 = x_18; +goto _start; +} +else +{ +uint8_t x_20; +x_20 = 1; +return x_20; +} +} +} +else +{ +uint8_t x_21; +x_21 = 0; +return x_21; +} +} +} +LEAN_EXPORT uint8_t l_ImportCompletion_isImportCmdCompletionRequest(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_3 = lean_unsigned_to_nat(1u); +x_4 = l_Lean_Syntax_getArg(x_1, x_3); +x_5 = l_Lean_Syntax_getArgs(x_4); +lean_dec(x_4); +x_6 = lean_array_get_size(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_lt(x_7, x_6); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_6); +lean_dec(x_5); +x_9 = 1; +return x_9; +} +else +{ +size_t x_10; size_t x_11; uint8_t x_12; +x_10 = 0; +x_11 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_12 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__2(x_2, x_5, x_10, x_11); +lean_dec(x_5); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = 1; +return x_13; +} +else +{ +uint8_t x_14; +x_14 = 0; +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportCmdCompletionRequest___spec__2(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_isImportCmdCompletionRequest___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_ImportCompletion_isImportCmdCompletionRequest(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_computePartialImportCompletions___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +x_9 = lean_box(0); +x_10 = l_Lean_Name_replacePrefix(x_6, x_1, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_3, x_11); +x_13 = lean_array_uset(x_8, x_3, x_10); +x_3 = x_12; +x_4 = x_13; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Array_insertionSort_swapLoop___at_ImportCompletion_computePartialImportCompletions___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_2, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_2, x_6); +x_8 = lean_array_fget(x_1, x_2); +x_9 = lean_array_fget(x_1, x_7); +x_10 = l_Lean_Name_cmp(x_8, x_9); +lean_dec(x_9); +lean_dec(x_8); +x_11 = 0; +x_12 = l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_22_(x_10, x_11); +if (x_12 == 0) +{ +lean_dec(x_7); +lean_dec(x_2); +return x_1; +} +else +{ +lean_object* x_13; +x_13 = lean_array_fswap(x_1, x_2, x_7); +lean_dec(x_2); +x_1 = x_13; +x_2 = x_7; +x_3 = lean_box(0); +goto _start; +} +} +else +{ +lean_dec(x_2); +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Array_insertionSort_traverse___at_ImportCompletion_computePartialImportCompletions___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_nat_sub(x_3, x_6); +lean_dec(x_3); +x_8 = lean_array_get_size(x_1); +x_9 = lean_nat_dec_lt(x_2, x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_dec(x_7); +lean_dec(x_2); +return x_1; +} +else +{ +lean_object* x_10; lean_object* x_11; +lean_inc(x_2); +x_10 = l_Array_insertionSort_swapLoop___at_ImportCompletion_computePartialImportCompletions___spec__3(x_1, x_2, lean_box(0)); +x_11 = lean_nat_add(x_2, x_6); +lean_dec(x_2); +x_1 = x_10; +x_2 = x_11; +x_3 = x_7; +goto _start; +} +} +else +{ +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_ImportCompletion_computePartialImportCompletions___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; size_t x_8; size_t x_9; +x_6 = lean_array_uget(x_1, x_2); +x_7 = l_Lean_Name_isAnonymous(x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +if (x_7 == 0) +{ +lean_object* x_10; +x_10 = lean_array_push(x_4, x_6); +x_2 = x_9; +x_4 = x_10; +goto _start; +} +else +{ +lean_dec(x_6); +x_2 = x_9; +goto _start; +} +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Syntax_getArg(x_1, x_4); +x_6 = 0; +x_7 = l_Lean_Syntax_getTailPos_x3f(x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = 0; +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_nat_dec_eq(x_9, x_2); +lean_dec(x_9); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_lt(x_5, x_4); +if (x_7 == 0) +{ +lean_inc(x_6); +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_array_uget(x_3, x_5); +x_9 = lean_unsigned_to_nat(3u); +x_10 = l_Lean_Syntax_getArg(x_8, x_9); +x_11 = l_Lean_Syntax_hasArgs(x_10); +if (x_11 == 0) +{ +size_t x_12; size_t x_13; +lean_dec(x_10); +lean_dec(x_8); +x_12 = 1; +x_13 = lean_usize_add(x_5, x_12); +{ +size_t _tmp_4 = x_13; +lean_object* _tmp_5 = x_2; +x_5 = _tmp_4; +x_6 = _tmp_5; +} +goto _start; +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_box(0); +x_16 = l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5___lambda__1(x_10, x_1, x_15); +lean_dec(x_10); +if (x_16 == 0) +{ +size_t x_17; size_t x_18; +lean_dec(x_8); +x_17 = 1; +x_18 = lean_usize_add(x_5, x_17); +{ +size_t _tmp_4 = x_18; +lean_object* _tmp_5 = x_2; +x_5 = _tmp_4; +x_6 = _tmp_5; +} +goto _start; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_8); +x_21 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_15); +return x_22; +} +} +} +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_computePartialImportCompletions___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +static lean_object* _init_l_ImportCompletion_computePartialImportCompletions___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_ImportCompletion_computePartialImportCompletions___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_ImportCompletion_computePartialImportCompletions___closed__1; +x_2 = lean_array_get_size(x_1); +return x_2; +} +} +static lean_object* _init_l_ImportCompletion_computePartialImportCompletions___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_ImportCompletion_computePartialImportCompletions___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_ImportCompletion_computePartialImportCompletions___lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_ImportCompletion_computePartialImportCompletions___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_ImportCompletion_computePartialImportCompletions___closed__4; +x_2 = lean_box(0); +x_3 = lean_apply_1(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_computePartialImportCompletions(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_31 = lean_unsigned_to_nat(1u); +x_32 = l_Lean_Syntax_getArg(x_1, x_31); +lean_dec(x_1); +x_33 = l_Lean_Syntax_getArgs(x_32); +lean_dec(x_32); +x_34 = lean_array_get_size(x_33); +x_35 = lean_usize_of_nat(x_34); +lean_dec(x_34); +x_36 = 0; +x_37 = l_ImportCompletion_computePartialImportCompletions___closed__3; +x_38 = l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5(x_2, x_37, x_33, x_35, x_36, x_37); +lean_dec(x_33); +lean_dec(x_2); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +lean_dec(x_38); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; +x_40 = l_ImportCompletion_computePartialImportCompletions___closed__5; +x_4 = x_40; +goto block_30; +} +else +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_4 = x_41; +goto block_30; +} +block_30: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +lean_dec(x_3); +x_5 = l_ImportCompletion_computePartialImportCompletions___closed__1; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_unsigned_to_nat(2u); +x_8 = l_Lean_Syntax_getArg(x_6, x_7); +lean_dec(x_6); +x_9 = l_Lean_Syntax_getId(x_8); +lean_dec(x_8); +lean_inc(x_9); +x_10 = l_Lean_NameTrie_matchingToArray___rarg(x_3, x_9); +x_11 = lean_array_get_size(x_10); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; +x_14 = l_Array_mapMUnsafe_map___at_ImportCompletion_computePartialImportCompletions___spec__1(x_9, x_12, x_13, x_10); +lean_dec(x_9); +x_15 = lean_array_get_size(x_14); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_nat_dec_lt(x_16, x_15); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +lean_dec(x_14); +x_18 = l_ImportCompletion_computePartialImportCompletions___closed__1; +x_19 = l_ImportCompletion_computePartialImportCompletions___closed__2; +x_20 = l_Array_insertionSort_traverse___at_ImportCompletion_computePartialImportCompletions___spec__2(x_18, x_16, x_19); +return x_20; +} +else +{ +uint8_t x_21; +x_21 = lean_nat_dec_le(x_15, x_15); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_15); +lean_dec(x_14); +x_22 = l_ImportCompletion_computePartialImportCompletions___closed__1; +x_23 = l_ImportCompletion_computePartialImportCompletions___closed__2; +x_24 = l_Array_insertionSort_traverse___at_ImportCompletion_computePartialImportCompletions___spec__2(x_22, x_16, x_23); +return x_24; +} +else +{ +size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_26 = l_ImportCompletion_computePartialImportCompletions___closed__1; +x_27 = l_Array_foldlMUnsafe_fold___at_ImportCompletion_computePartialImportCompletions___spec__4(x_14, x_13, x_25, x_26); +lean_dec(x_14); +x_28 = lean_array_get_size(x_27); +x_29 = l_Array_insertionSort_traverse___at_ImportCompletion_computePartialImportCompletions___spec__2(x_27, x_16, x_28); +return x_29; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_computePartialImportCompletions___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_ImportCompletion_computePartialImportCompletions___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_ImportCompletion_computePartialImportCompletions___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_foldlMUnsafe_fold___at_ImportCompletion_computePartialImportCompletions___spec__4(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5___lambda__1(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = l_Array_forInUnsafe_loop___at_ImportCompletion_computePartialImportCompletions___spec__5(x_1, x_2, x_3, x_7, x_8, x_6); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_computePartialImportCompletions___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_ImportCompletion_computePartialImportCompletions___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_ImportCompletion_isImportCompletionRequest___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1; +x_3 = lean_nat_add(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_ImportCompletion_isImportCompletionRequest___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_ImportCompletion_isImportCompletionRequest___closed__1; +x_2 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1; +x_3 = lean_nat_add(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT uint8_t l_ImportCompletion_isImportCompletionRequest(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Lean_FileMap_lspPosToUtf8Pos(x_1, x_4); +x_6 = 0; +x_7 = l_Lean_Syntax_getPos_x3f(x_2, x_6); +x_8 = l_Lean_Syntax_getTailPos_x3f(x_2, x_6); +if (lean_obj_tag(x_7) == 0) +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = l_ImportCompletion_isImportCompletionRequest___closed__2; +x_10 = lean_nat_dec_le(x_5, x_9); +lean_dec(x_5); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = lean_ctor_get(x_8, 0); +lean_inc(x_11); +lean_dec(x_8); +x_12 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1; +x_13 = lean_nat_add(x_11, x_12); +lean_dec(x_11); +x_14 = lean_nat_add(x_13, x_12); +lean_dec(x_13); +x_15 = lean_nat_dec_le(x_5, x_14); +lean_dec(x_14); +lean_dec(x_5); +return x_15; +} +} +else +{ +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_7, 0); +lean_inc(x_16); +lean_dec(x_7); +x_17 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1; +x_18 = lean_nat_add(x_16, x_17); +lean_dec(x_16); +x_19 = lean_nat_add(x_18, x_17); +lean_dec(x_18); +x_20 = lean_nat_dec_le(x_5, x_19); +lean_dec(x_19); +lean_dec(x_5); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_dec(x_7); +x_21 = lean_ctor_get(x_8, 0); +lean_inc(x_21); +lean_dec(x_8); +x_22 = l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1; +x_23 = lean_nat_add(x_21, x_22); +lean_dec(x_21); +x_24 = lean_nat_add(x_23, x_22); +lean_dec(x_23); +x_25 = lean_nat_dec_le(x_5, x_24); +lean_dec(x_24); +lean_dec(x_5); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_isImportCompletionRequest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_ImportCompletion_isImportCompletionRequest(x_1, x_2, x_3); +lean_dec(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("[anonymous]", 11); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("expected a `Name`, got '", 24); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("'", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = l_Lean_Json_getStr_x3f(x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +lean_dec(x_6); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_9, 0); +x_15 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__1; +x_16 = lean_string_dec_eq(x_14, x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_String_toName(x_14); +x_18 = l_Lean_Name_isAnonymous(x_17); +if (x_18 == 0) +{ +size_t x_19; size_t x_20; lean_object* x_21; +lean_free_object(x_9); +lean_dec(x_6); +x_19 = 1; +x_20 = lean_usize_add(x_2, x_19); +x_21 = lean_array_uset(x_8, x_2, x_17); +x_2 = x_20; +x_3 = x_21; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_17); +lean_dec(x_8); +x_23 = lean_unsigned_to_nat(80u); +x_24 = l_Lean_Json_pretty(x_6, x_23); +x_25 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__2; +x_26 = lean_string_append(x_25, x_24); +lean_dec(x_24); +x_27 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3; +x_28 = lean_string_append(x_26, x_27); +lean_ctor_set_tag(x_9, 0); +lean_ctor_set(x_9, 0, x_28); +return x_9; +} +} +else +{ +size_t x_29; size_t x_30; lean_object* x_31; lean_object* x_32; +lean_free_object(x_9); +lean_dec(x_14); +lean_dec(x_6); +x_29 = 1; +x_30 = lean_usize_add(x_2, x_29); +x_31 = lean_box(0); +x_32 = lean_array_uset(x_8, x_2, x_31); +x_2 = x_30; +x_3 = x_32; +goto _start; +} +} +else +{ +lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_34 = lean_ctor_get(x_9, 0); +lean_inc(x_34); +lean_dec(x_9); +x_35 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__1; +x_36 = lean_string_dec_eq(x_34, x_35); +if (x_36 == 0) +{ +lean_object* x_37; uint8_t x_38; +x_37 = l_String_toName(x_34); +x_38 = l_Lean_Name_isAnonymous(x_37); +if (x_38 == 0) +{ +size_t x_39; size_t x_40; lean_object* x_41; +lean_dec(x_6); +x_39 = 1; +x_40 = lean_usize_add(x_2, x_39); +x_41 = lean_array_uset(x_8, x_2, x_37); +x_2 = x_40; +x_3 = x_41; +goto _start; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_37); +lean_dec(x_8); +x_43 = lean_unsigned_to_nat(80u); +x_44 = l_Lean_Json_pretty(x_6, x_43); +x_45 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__2; +x_46 = lean_string_append(x_45, x_44); +lean_dec(x_44); +x_47 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3; +x_48 = lean_string_append(x_46, x_47); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_48); +return x_49; +} +} +else +{ +size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_34); +lean_dec(x_6); +x_50 = 1; +x_51 = lean_usize_add(x_2, x_50); +x_52 = lean_box(0); +x_53 = lean_array_uset(x_8, x_2, x_52); +x_2 = x_51; +x_3 = x_53; +goto _start; +} +} +} +} +} +} +static lean_object* _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__1() { +_start: +{ +uint8_t x_1; uint8_t x_2; lean_object* x_3; +x_1 = 2; +x_2 = 0; +x_3 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, 1, x_2); +lean_ctor_set_uint8(x_3, 2, x_2); +return x_3; +} +} +static lean_object* _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("available-imports", 17); +return x_1; +} +} +static lean_object* _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_ImportCompletion_collectAvailableImportsFromLake___closed__2; +x_2 = l_ImportCompletion_collectAvailableImportsFromLake___closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +static lean_object* _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("invalid output from `lake available-imports`:\n", 46); +return x_1; +} +} +static lean_object* _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("expected JSON array, got '", 26); +return x_1; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_collectAvailableImportsFromLake(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_determineLakePath(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_box(0); +x_6 = l_ImportCompletion_collectAvailableImportsFromLake___closed__1; +x_7 = l_ImportCompletion_collectAvailableImportsFromLake___closed__4; +x_8 = l_ImportCompletion_computePartialImportCompletions___closed__1; +x_9 = 0; +x_10 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_10, 0, x_6); +lean_ctor_set(x_10, 1, x_3); +lean_ctor_set(x_10, 2, x_7); +lean_ctor_set(x_10, 3, x_5); +lean_ctor_set(x_10, 4, x_8); +lean_ctor_set_uint8(x_10, sizeof(void*)*5, x_9); +x_11 = lean_io_process_spawn(x_10, x_4); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +x_15 = l_ImportCompletion_collectAvailableImportsFromLake___closed__5; +x_16 = l_IO_FS_Handle_readToEnd_loop(x_14, x_15, x_13); +lean_dec(x_14); +if (lean_obj_tag(x_16) == 0) +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_16, 0); +x_19 = lean_ctor_get(x_16, 1); +x_20 = l_String_trim(x_18); +lean_dec(x_18); +x_21 = lean_io_process_child_wait(x_6, x_12, x_19); +lean_dec(x_12); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint32_t x_35; uint32_t x_36; uint8_t x_37; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + lean_ctor_release(x_21, 1); + x_24 = x_21; +} else { + lean_dec_ref(x_21); + x_24 = lean_box(0); +} +x_35 = 0; +x_36 = lean_unbox_uint32(x_22); +lean_dec(x_22); +x_37 = lean_uint32_dec_eq(x_36, x_35); +if (x_37 == 0) +{ +lean_dec(x_24); +lean_dec(x_20); +lean_ctor_set(x_16, 1, x_23); +lean_ctor_set(x_16, 0, x_5); +return x_16; +} +else +{ +lean_object* x_38; +lean_free_object(x_16); +lean_inc(x_20); +x_38 = l_Lean_Json_parse(x_20); +if (lean_obj_tag(x_38) == 0) +{ +uint8_t x_39; +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +x_25 = x_38; +goto block_34; +} +else +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_40); +x_25 = x_41; +goto block_34; +} +} +else +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_38, 0); +if (lean_obj_tag(x_43) == 4) +{ +lean_object* x_44; lean_object* x_45; size_t x_46; size_t x_47; lean_object* x_48; +lean_free_object(x_38); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +lean_dec(x_43); +x_45 = lean_array_get_size(x_44); +x_46 = lean_usize_of_nat(x_45); +lean_dec(x_45); +x_47 = 0; +x_48 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1(x_46, x_47, x_44); +x_25 = x_48; +goto block_34; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_49 = lean_unsigned_to_nat(80u); +x_50 = l_Lean_Json_pretty(x_43, x_49); +x_51 = l_ImportCompletion_collectAvailableImportsFromLake___closed__7; +x_52 = lean_string_append(x_51, x_50); +lean_dec(x_50); +x_53 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3; +x_54 = lean_string_append(x_52, x_53); +lean_ctor_set_tag(x_38, 0); +lean_ctor_set(x_38, 0, x_54); +x_25 = x_38; +goto block_34; +} +} +else +{ +lean_object* x_55; +x_55 = lean_ctor_get(x_38, 0); +lean_inc(x_55); +lean_dec(x_38); +if (lean_obj_tag(x_55) == 4) +{ +lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +lean_dec(x_55); +x_57 = lean_array_get_size(x_56); +x_58 = lean_usize_of_nat(x_57); +lean_dec(x_57); +x_59 = 0; +x_60 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1(x_58, x_59, x_56); +x_25 = x_60; +goto block_34; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_61 = lean_unsigned_to_nat(80u); +x_62 = l_Lean_Json_pretty(x_55, x_61); +x_63 = l_ImportCompletion_collectAvailableImportsFromLake___closed__7; +x_64 = lean_string_append(x_63, x_62); +lean_dec(x_62); +x_65 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3; +x_66 = lean_string_append(x_64, x_65); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +x_25 = x_67; +goto block_34; +} +} +} +} +block_34: +{ +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_25); +x_26 = l_ImportCompletion_collectAvailableImportsFromLake___closed__6; +x_27 = lean_string_append(x_26, x_20); +lean_dec(x_20); +x_28 = lean_string_append(x_27, x_15); +x_29 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_29, 0, x_28); +if (lean_is_scalar(x_24)) { + x_30 = lean_alloc_ctor(1, 2, 0); +} else { + x_30 = x_24; + lean_ctor_set_tag(x_30, 1); +} +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_23); +return x_30; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_dec(x_20); +x_31 = lean_ctor_get(x_25, 0); +lean_inc(x_31); +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +if (lean_is_scalar(x_24)) { + x_33 = lean_alloc_ctor(0, 2, 0); +} else { + x_33 = x_24; +} +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_23); +return x_33; +} +} +} +else +{ +uint8_t x_68; +lean_dec(x_20); +lean_free_object(x_16); +x_68 = !lean_is_exclusive(x_21); +if (x_68 == 0) +{ +return x_21; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_21, 0); +x_70 = lean_ctor_get(x_21, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_21); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_16, 0); +x_73 = lean_ctor_get(x_16, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_16); +x_74 = l_String_trim(x_72); +lean_dec(x_72); +x_75 = lean_io_process_child_wait(x_6, x_12, x_73); +lean_dec(x_12); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint32_t x_89; uint32_t x_90; uint8_t x_91; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_78 = x_75; +} else { + lean_dec_ref(x_75); + x_78 = lean_box(0); +} +x_89 = 0; +x_90 = lean_unbox_uint32(x_76); +lean_dec(x_76); +x_91 = lean_uint32_dec_eq(x_90, x_89); +if (x_91 == 0) +{ +lean_object* x_92; +lean_dec(x_78); +lean_dec(x_74); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_5); +lean_ctor_set(x_92, 1, x_77); +return x_92; +} +else +{ +lean_object* x_93; +lean_inc(x_74); +x_93 = l_Lean_Json_parse(x_74); +if (lean_obj_tag(x_93) == 0) +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + x_95 = x_93; +} else { + lean_dec_ref(x_93); + x_95 = lean_box(0); +} +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(0, 1, 0); +} else { + x_96 = x_95; +} +lean_ctor_set(x_96, 0, x_94); +x_79 = x_96; +goto block_88; +} +else +{ +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_93, 0); +lean_inc(x_97); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + x_98 = x_93; +} else { + lean_dec_ref(x_93); + x_98 = lean_box(0); +} +if (lean_obj_tag(x_97) == 4) +{ +lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; lean_object* x_103; +lean_dec(x_98); +x_99 = lean_ctor_get(x_97, 0); +lean_inc(x_99); +lean_dec(x_97); +x_100 = lean_array_get_size(x_99); +x_101 = lean_usize_of_nat(x_100); +lean_dec(x_100); +x_102 = 0; +x_103 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1(x_101, x_102, x_99); +x_79 = x_103; +goto block_88; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_104 = lean_unsigned_to_nat(80u); +x_105 = l_Lean_Json_pretty(x_97, x_104); +x_106 = l_ImportCompletion_collectAvailableImportsFromLake___closed__7; +x_107 = lean_string_append(x_106, x_105); +lean_dec(x_105); +x_108 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3; +x_109 = lean_string_append(x_107, x_108); +if (lean_is_scalar(x_98)) { + x_110 = lean_alloc_ctor(0, 1, 0); +} else { + x_110 = x_98; + lean_ctor_set_tag(x_110, 0); +} +lean_ctor_set(x_110, 0, x_109); +x_79 = x_110; +goto block_88; +} +} +} +block_88: +{ +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_dec(x_79); +x_80 = l_ImportCompletion_collectAvailableImportsFromLake___closed__6; +x_81 = lean_string_append(x_80, x_74); +lean_dec(x_74); +x_82 = lean_string_append(x_81, x_15); +x_83 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_83, 0, x_82); +if (lean_is_scalar(x_78)) { + x_84 = lean_alloc_ctor(1, 2, 0); +} else { + x_84 = x_78; + lean_ctor_set_tag(x_84, 1); +} +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_77); +return x_84; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_74); +x_85 = lean_ctor_get(x_79, 0); +lean_inc(x_85); +lean_dec(x_79); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +if (lean_is_scalar(x_78)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_78; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_77); +return x_87; +} +} +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_dec(x_74); +x_111 = lean_ctor_get(x_75, 0); +lean_inc(x_111); +x_112 = lean_ctor_get(x_75, 1); +lean_inc(x_112); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_113 = x_75; +} else { + lean_dec_ref(x_75); + x_113 = lean_box(0); +} +if (lean_is_scalar(x_113)) { + x_114 = lean_alloc_ctor(1, 2, 0); +} else { + x_114 = x_113; +} +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_112); +return x_114; +} +} +} +else +{ +uint8_t x_115; +lean_dec(x_12); +x_115 = !lean_is_exclusive(x_16); +if (x_115 == 0) +{ +return x_16; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +x_116 = lean_ctor_get(x_16, 0); +x_117 = lean_ctor_get(x_16, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_16); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_116); +lean_ctor_set(x_118, 1, x_117); +return x_118; +} +} +} +else +{ +uint8_t x_119; +x_119 = !lean_is_exclusive(x_11); +if (x_119 == 0) +{ +return x_11; +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_11, 0); +x_121 = lean_ctor_get(x_11, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_11); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; +} +} +} +else +{ +uint8_t x_123; +x_123 = !lean_is_exclusive(x_2); +if (x_123 == 0) +{ +return x_2; +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_2, 0); +x_125 = lean_ctor_get(x_2, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_2); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___lambda__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_Name_append(x_1, x_3); +x_7 = lean_apply_3(x_2, x_6, x_4, x_5); +return x_7; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("lean", 4); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__1), 5, 2); +lean_closure_set(x_7, 0, x_1); +lean_closure_set(x_7, 1, x_2); +x_8 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__1; +x_9 = l_Lean_forEachModuleInDir___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__1(x_3, x_7, x_8, x_5, x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_9, 0); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_dec(x_13); +x_14 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +lean_ctor_set(x_11, 0, x_14); +return x_9; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_dec(x_11); +x_16 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_9, 0, x_17); +return x_9; +} +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_9, 0); +x_19 = lean_ctor_get(x_9, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_9); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + x_21 = x_18; +} else { + lean_dec_ref(x_18); + x_21 = lean_box(0); +} +x_22 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +if (lean_is_scalar(x_21)) { + x_23 = lean_alloc_ctor(0, 2, 0); +} else { + x_23 = x_21; +} +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_19); +return x_24; +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_9); +if (x_25 == 0) +{ +return x_9; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_9, 0); +x_27 = lean_ctor_get(x_9, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_9); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_26; +x_26 = lean_usize_dec_lt(x_5, x_4); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_2); +lean_dec(x_1); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_6); +lean_ctor_set(x_27, 1, x_7); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_8); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_dec(x_6); +x_29 = lean_array_uget(x_3, x_5); +lean_inc(x_29); +x_30 = l_IO_FS_DirEntry_path(x_29); +x_31 = l_System_FilePath_isDir(x_30, x_8); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_unbox(x_32); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = l_System_FilePath_extension(x_30); +lean_inc(x_2); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_2); +x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(x_35, x_36); +lean_dec(x_36); +lean_dec(x_35); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +x_38 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_7); +x_9 = x_39; +x_10 = x_34; +goto block_25; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_29, 1); +lean_inc(x_40); +lean_dec(x_29); +x_41 = l_ImportCompletion_collectAvailableImportsFromLake___closed__5; +x_42 = l_System_FilePath_withExtension(x_40, x_41); +x_43 = lean_box(0); +x_44 = l_Lean_Name_str___override(x_43, x_42); +lean_inc(x_1); +x_45 = lean_apply_3(x_1, x_44, x_7, x_34); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = !lean_is_exclusive(x_46); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_46, 0); +lean_dec(x_49); +x_50 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +lean_ctor_set(x_46, 0, x_50); +x_9 = x_46; +x_10 = x_47; +goto block_25; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_46, 1); +lean_inc(x_51); +lean_dec(x_46); +x_52 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_9 = x_53; +x_10 = x_47; +goto block_25; +} +} +else +{ +uint8_t x_54; +lean_dec(x_2); +lean_dec(x_1); +x_54 = !lean_is_exclusive(x_45); +if (x_54 == 0) +{ +return x_45; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_45, 0); +x_56 = lean_ctor_get(x_45, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_45); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_58 = lean_ctor_get(x_31, 1); +lean_inc(x_58); +lean_dec(x_31); +x_59 = lean_ctor_get(x_29, 1); +lean_inc(x_59); +lean_dec(x_29); +x_60 = lean_box(0); +lean_inc(x_59); +x_61 = l_Lean_Name_str___override(x_60, x_59); +x_62 = l_System_FilePath_withExtension(x_59, x_2); +x_63 = l_System_FilePath_pathExists(x_62, x_58); +lean_dec(x_62); +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +x_65 = lean_unbox(x_64); +lean_dec(x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_63, 1); +lean_inc(x_66); +lean_dec(x_63); +x_67 = lean_box(0); +lean_inc(x_1); +x_68 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2(x_61, x_1, x_30, x_67, x_7, x_66); +lean_dec(x_30); +if (lean_obj_tag(x_68) == 0) +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc(x_70); +lean_dec(x_68); +x_9 = x_69; +x_10 = x_70; +goto block_25; +} +else +{ +uint8_t x_71; +lean_dec(x_2); +lean_dec(x_1); +x_71 = !lean_is_exclusive(x_68); +if (x_71 == 0) +{ +return x_68; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_68, 0); +x_73 = lean_ctor_get(x_68, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_68); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +return x_74; +} +} +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_63, 1); +lean_inc(x_75); +lean_dec(x_63); +lean_inc(x_1); +lean_inc(x_61); +x_76 = lean_apply_3(x_1, x_61, x_7, x_75); +if (lean_obj_tag(x_76) == 0) +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_ctor_get(x_77, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_77, 1); +lean_inc(x_80); +lean_dec(x_77); +lean_inc(x_1); +x_81 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2(x_61, x_1, x_30, x_79, x_80, x_78); +lean_dec(x_79); +lean_dec(x_30); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +lean_dec(x_81); +x_9 = x_82; +x_10 = x_83; +goto block_25; +} +else +{ +uint8_t x_84; +lean_dec(x_2); +lean_dec(x_1); +x_84 = !lean_is_exclusive(x_81); +if (x_84 == 0) +{ +return x_81; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_81, 0); +x_86 = lean_ctor_get(x_81, 1); +lean_inc(x_86); +lean_inc(x_85); +lean_dec(x_81); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_61); +lean_dec(x_30); +lean_dec(x_2); +lean_dec(x_1); +x_88 = !lean_is_exclusive(x_76); +if (x_88 == 0) +{ +return x_76; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_76, 0); +x_90 = lean_ctor_get(x_76, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_76); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +} +} +} +block_25: +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_2); +lean_dec(x_1); +x_12 = !lean_is_exclusive(x_9); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_dec(x_13); +x_14 = lean_ctor_get(x_11, 0); +lean_inc(x_14); +lean_dec(x_11); +lean_ctor_set(x_9, 0, x_14); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_9); +lean_ctor_set(x_15, 1, x_10); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_9, 1); +lean_inc(x_16); +lean_dec(x_9); +x_17 = lean_ctor_get(x_11, 0); +lean_inc(x_17); +lean_dec(x_11); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_10); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; +x_20 = lean_ctor_get(x_9, 1); +lean_inc(x_20); +lean_dec(x_9); +x_21 = lean_ctor_get(x_11, 0); +lean_inc(x_21); +lean_dec(x_11); +x_22 = 1; +x_23 = lean_usize_add(x_5, x_22); +x_5 = x_23; +x_6 = x_21; +x_7 = x_20; +x_8 = x_10; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = lean_io_read_dir(x_1, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_array_get_size(x_7); +x_10 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_11 = 0; +x_12 = lean_box(0); +x_13 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2(x_2, x_3, x_7, x_10, x_11, x_12, x_4, x_8); +lean_dec(x_7); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_13, 0); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +lean_ctor_set(x_15, 0, x_12); +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 1, x_18); +lean_ctor_set(x_13, 0, x_19); +return x_13; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_13, 0); +x_21 = lean_ctor_get(x_13, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_13); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_23 = x_20; +} else { + lean_dec_ref(x_20); + x_23 = lean_box(0); +} +if (lean_is_scalar(x_23)) { + x_24 = lean_alloc_ctor(0, 2, 0); +} else { + x_24 = x_23; +} +lean_ctor_set(x_24, 0, x_12); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_21); +return x_25; +} +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_13); +if (x_26 == 0) +{ +return x_13; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_13, 0); +x_28 = lean_ctor_get(x_13, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_13); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +uint8_t x_30; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_6); +if (x_30 == 0) +{ +return x_6; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_6, 0); +x_32 = lean_ctor_get(x_6, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_6); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_array_push(x_2, x_1); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +} +static lean_object* _init_l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__1), 3, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2___closed__1; +x_6 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__1; +x_7 = l_Lean_forEachModuleInDir___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__1(x_1, x_5, x_6, x_3, x_4); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_ctor_get(x_7, 0); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_dec(x_11); +x_12 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +lean_ctor_set(x_9, 0, x_12); +return x_7; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 1); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +lean_ctor_set(x_7, 0, x_15); +return x_7; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_7, 0); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_7); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +if (lean_is_exclusive(x_16)) { + lean_ctor_release(x_16, 0); + lean_ctor_release(x_16, 1); + x_19 = x_16; +} else { + lean_dec_ref(x_16); + x_19 = lean_box(0); +} +x_20 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2; +if (lean_is_scalar(x_19)) { + x_21 = lean_alloc_ctor(0, 2, 0); +} else { + x_21 = x_19; +} +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_7); +if (x_23 == 0) +{ +return x_7; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_7, 0); +x_25 = lean_ctor_get(x_7, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_7); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_3); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_dec(x_2); +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +x_9 = l_System_FilePath_isDir(x_7, x_4); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_unbox(x_10); +lean_dec(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = lean_box(0); +x_1 = x_8; +x_2 = x_13; +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_dec(x_9); +x_16 = lean_box(0); +x_17 = l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2(x_7, x_16, x_3, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_17, 0); +lean_dec(x_21); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 0); +lean_dec(x_23); +x_24 = lean_ctor_get(x_19, 0); +lean_inc(x_24); +lean_dec(x_19); +lean_ctor_set(x_18, 0, x_24); +return x_17; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_26 = lean_ctor_get(x_19, 0); +lean_inc(x_26); +lean_dec(x_19); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +lean_ctor_set(x_17, 0, x_27); +return x_17; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_28 = lean_ctor_get(x_17, 1); +lean_inc(x_28); +lean_dec(x_17); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + lean_ctor_release(x_18, 1); + x_30 = x_18; +} else { + lean_dec_ref(x_18); + x_30 = lean_box(0); +} +x_31 = lean_ctor_get(x_19, 0); +lean_inc(x_31); +lean_dec(x_19); +if (lean_is_scalar(x_30)) { + x_32 = lean_alloc_ctor(0, 2, 0); +} else { + x_32 = x_30; +} +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_29); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_28); +return x_33; +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_17, 1); +lean_inc(x_34); +lean_dec(x_17); +x_35 = lean_ctor_get(x_18, 1); +lean_inc(x_35); +lean_dec(x_18); +x_36 = lean_ctor_get(x_19, 0); +lean_inc(x_36); +lean_dec(x_19); +x_1 = x_8; +x_2 = x_36; +x_3 = x_35; +x_4 = x_34; +goto _start; +} +} +else +{ +uint8_t x_38; +x_38 = !lean_is_exclusive(x_17); +if (x_38 == 0) +{ +return x_17; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_17, 0); +x_40 = lean_ctor_get(x_17, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_17); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_collectAvailableImportsFromSrcSearchPath(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = l_Lean_initSrcSearchPath(x_2, x_1); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_box(0); +x_7 = l_ImportCompletion_computePartialImportCompletions___closed__1; +x_8 = l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3(x_4, x_6, x_7, x_5); +lean_dec(x_4); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +lean_ctor_set(x_8, 0, x_11); +return x_8; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_8, 0); +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_8); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +return x_8; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_8, 0); +x_18 = lean_ctor_get(x_8, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_8); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_3); +if (x_20 == 0) +{ +return x_3; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_3, 0); +x_22 = lean_ctor_get(x_3, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_3); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_4); +lean_dec(x_3); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +size_t x_9; size_t x_10; lean_object* x_11; +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_11 = l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); +lean_dec(x_3); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_forEachModuleInDir___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__1(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2(x_1, x_2, x_3, x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_collectAvailableImports(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_ImportCompletion_collectAvailableImportsFromLake(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l_ImportCompletion_collectAvailableImportsFromSrcSearchPath(x_4); +return x_5; +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_2); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_2, 0); +lean_dec(x_7); +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +lean_ctor_set(x_2, 0, x_8); +return x_2; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +lean_dec(x_2); +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec(x_3); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +return x_11; +} +} +} +else +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_2); +if (x_12 == 0) +{ +return x_2; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_2, 0); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_2); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = 1; +x_9 = l_Lean_Name_toString(x_5, x_8); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +lean_ctor_set(x_11, 2, x_10); +lean_ctor_set(x_11, 3, x_10); +lean_ctor_set(x_11, 4, x_10); +x_12 = 1; +x_13 = lean_usize_add(x_2, x_12); +x_14 = lean_array_uset(x_7, x_2, x_11); +x_2 = x_13; +x_3 = x_14; +goto _start; +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("import ", 7); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = 1; +x_9 = l_Lean_Name_toString(x_5, x_8); +x_10 = l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___closed__1; +x_11 = lean_string_append(x_10, x_9); +lean_dec(x_9); +x_12 = l_ImportCompletion_collectAvailableImportsFromLake___closed__5; +x_13 = lean_string_append(x_11, x_12); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_15, 2, x_14); +lean_ctor_set(x_15, 3, x_14); +lean_ctor_set(x_15, 4, x_14); +x_16 = 1; +x_17 = lean_usize_add(x_2, x_16); +x_18 = lean_array_uset(x_7, x_2, x_15); +x_2 = x_17; +x_3 = x_18; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_find(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = l_ImportCompletion_AvailableImports_toImportTrie(x_4); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l_Lean_FileMap_lspPosToUtf8Pos(x_1, x_6); +lean_inc(x_7); +lean_inc(x_2); +x_8 = l_ImportCompletion_isImportNameCompletionRequest(x_2, x_7); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = l_ImportCompletion_isImportCmdCompletionRequest(x_2, x_7); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_10 = l_ImportCompletion_computePartialImportCompletions(x_2, x_7, x_5); +x_11 = lean_array_get_size(x_10); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; +x_14 = l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__1(x_12, x_13, x_10); +x_15 = 0; +x_16 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set_uint8(x_16, sizeof(void*)*1, x_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; +lean_dec(x_7); +lean_dec(x_2); +x_17 = l_Lean_NameTrie_toArray___rarg(x_5); +x_18 = lean_array_get_size(x_17); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); +x_20 = 0; +x_21 = l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2(x_19, x_20, x_17); +x_22 = 0; +x_23 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set_uint8(x_23, sizeof(void*)*1, x_22); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; +lean_dec(x_7); +lean_dec(x_2); +x_24 = l_Lean_NameTrie_toArray___rarg(x_5); +x_25 = lean_array_get_size(x_24); +x_26 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_27 = 0; +x_28 = l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__1(x_26, x_27, x_24); +x_29 = 0; +x_30 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_29); +return x_30; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__1(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_find___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_ImportCompletion_find(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_computeCompletions(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_ImportCompletion_collectAvailableImports(x_4); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +x_8 = l_ImportCompletion_find(x_1, x_2, x_3, x_7); +lean_dec(x_7); +lean_ctor_set(x_5, 0, x_8); +return x_5; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_5); +x_11 = l_ImportCompletion_find(x_1, x_2, x_3, x_9); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +lean_dec(x_3); +lean_dec(x_2); +x_13 = !lean_is_exclusive(x_5); +if (x_13 == 0) +{ +return x_5; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_5, 0); +x_15 = lean_ctor_get(x_5, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_5); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +} +} +LEAN_EXPORT lean_object* l_ImportCompletion_computeCompletions___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_ImportCompletion_computeCompletions(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Name(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_NameTrie(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Lsp_Utf16(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Lsp_LanguageFeatures(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Util_Paths(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Util_LakePath(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Server_ImportCompletion(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Name(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_NameTrie(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Lsp_Utf16(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Lsp_LanguageFeatures(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Util_Paths(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Util_LakePath(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_ImportCompletion_AvailableImports_toImportTrie___closed__1 = _init_l_ImportCompletion_AvailableImports_toImportTrie___closed__1(); +lean_mark_persistent(l_ImportCompletion_AvailableImports_toImportTrie___closed__1); +l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1 = _init_l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1(); +lean_mark_persistent(l_Array_anyMUnsafe_any___at_ImportCompletion_isImportNameCompletionRequest___spec__1___closed__1); +l_ImportCompletion_computePartialImportCompletions___closed__1 = _init_l_ImportCompletion_computePartialImportCompletions___closed__1(); +lean_mark_persistent(l_ImportCompletion_computePartialImportCompletions___closed__1); +l_ImportCompletion_computePartialImportCompletions___closed__2 = _init_l_ImportCompletion_computePartialImportCompletions___closed__2(); +lean_mark_persistent(l_ImportCompletion_computePartialImportCompletions___closed__2); +l_ImportCompletion_computePartialImportCompletions___closed__3 = _init_l_ImportCompletion_computePartialImportCompletions___closed__3(); +lean_mark_persistent(l_ImportCompletion_computePartialImportCompletions___closed__3); +l_ImportCompletion_computePartialImportCompletions___closed__4 = _init_l_ImportCompletion_computePartialImportCompletions___closed__4(); +lean_mark_persistent(l_ImportCompletion_computePartialImportCompletions___closed__4); +l_ImportCompletion_computePartialImportCompletions___closed__5 = _init_l_ImportCompletion_computePartialImportCompletions___closed__5(); +lean_mark_persistent(l_ImportCompletion_computePartialImportCompletions___closed__5); +l_ImportCompletion_isImportCompletionRequest___closed__1 = _init_l_ImportCompletion_isImportCompletionRequest___closed__1(); +lean_mark_persistent(l_ImportCompletion_isImportCompletionRequest___closed__1); +l_ImportCompletion_isImportCompletionRequest___closed__2 = _init_l_ImportCompletion_isImportCompletionRequest___closed__2(); +lean_mark_persistent(l_ImportCompletion_isImportCompletionRequest___closed__2); +l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__1); +l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__2 = _init_l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__2); +l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3 = _init_l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_ImportCompletion_collectAvailableImportsFromLake___spec__1___closed__3); +l_ImportCompletion_collectAvailableImportsFromLake___closed__1 = _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__1(); +lean_mark_persistent(l_ImportCompletion_collectAvailableImportsFromLake___closed__1); +l_ImportCompletion_collectAvailableImportsFromLake___closed__2 = _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__2(); +lean_mark_persistent(l_ImportCompletion_collectAvailableImportsFromLake___closed__2); +l_ImportCompletion_collectAvailableImportsFromLake___closed__3 = _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__3(); +lean_mark_persistent(l_ImportCompletion_collectAvailableImportsFromLake___closed__3); +l_ImportCompletion_collectAvailableImportsFromLake___closed__4 = _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__4(); +lean_mark_persistent(l_ImportCompletion_collectAvailableImportsFromLake___closed__4); +l_ImportCompletion_collectAvailableImportsFromLake___closed__5 = _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__5(); +lean_mark_persistent(l_ImportCompletion_collectAvailableImportsFromLake___closed__5); +l_ImportCompletion_collectAvailableImportsFromLake___closed__6 = _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__6(); +lean_mark_persistent(l_ImportCompletion_collectAvailableImportsFromLake___closed__6); +l_ImportCompletion_collectAvailableImportsFromLake___closed__7 = _init_l_ImportCompletion_collectAvailableImportsFromLake___closed__7(); +lean_mark_persistent(l_ImportCompletion_collectAvailableImportsFromLake___closed__7); +l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__1); +l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2 = _init_l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__2___lambda__2___closed__2); +l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2___closed__1 = _init_l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_ImportCompletion_collectAvailableImportsFromSrcSearchPath___spec__3___lambda__2___closed__1); +l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___closed__1 = _init_l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_ImportCompletion_find___spec__2___closed__1); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Server/InfoUtils.c b/stage0/stdlib/Lean/Server/InfoUtils.c index fc1482323a1d..e4c0a0c1ac95 100644 --- a/stage0/stdlib/Lean/Server/InfoUtils.c +++ b/stage0/stdlib/Lean/Server/InfoUtils.c @@ -36,7 +36,6 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_InfoTree_visitM_go___spec__1___r LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__24___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hasSorry_go___spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_InfoTree_smallestInfo_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__9(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__21___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -176,6 +175,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_InfoTree_hoverableInfoAt_x3f___lambda__8(le LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hasSorry_go___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_goalsAt_x3f_hasNestedTactic___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hasSorry_go___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Info_fmtHover_x3f___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at_Lean_Elab_InfoTree_goalsAt_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -271,6 +271,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldI LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__17___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Info_fmtHover_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTermAndModule_x3f___lambda__1___closed__6; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_instOrdNat___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -307,11 +308,11 @@ LEAN_EXPORT lean_object* l_List_filterTR_loop___at_Lean_Elab_InfoTree_goalsAt_x3 uint8_t l_instDecidableRelLeLeOfOrd___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_isClassApp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hasSorry_go___spec__43___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__23(lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Info_fmtHover_x3f_fmtTermAndModule_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterMap___at_Lean_Elab_InfoTree_collectNodesBottomUp___spec__1___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hasSorry_go___spec__40(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_panic___at_Lean_Parser_ParserState_mkUnexpectedTokenErrors___spec__1(lean_object*); @@ -392,7 +393,6 @@ lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at_Lean_Elab_InfoTree_foldInfo_go___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_InfoTree_foldInfo_go___spec__18(lean_object*); lean_object* l_Lean_Elab_TermInfo_runMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_InfoTree_hasSorry_go___spec__55(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_InfoTree_hasSorry_go___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_InfoTree_collectNodesBottomUp___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5185,7 +5185,7 @@ return x_8; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5778,7 +5778,7 @@ lean_inc(x_3); lean_dec(x_2); x_4 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_4, 0, x_3); -x_5 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14(x_4, x_1); +x_5 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14(x_4, x_1); lean_dec(x_1); lean_dec(x_4); return x_5; @@ -5948,11 +5948,11 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Elab_InfoTree_hoverableInfoAt_x3f___spec__14(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -9577,7 +9577,7 @@ x_8 = lean_ctor_get(x_6, 2); lean_inc(x_8); x_9 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_9, 0, x_8); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_9, x_1); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_9, x_1); lean_dec(x_9); if (x_10 == 0) { @@ -9610,7 +9610,7 @@ x_15 = lean_ctor_get(x_13, 2); lean_inc(x_15); x_16 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_16, 0, x_15); -x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_16, x_1); +x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_359____spec__1(x_16, x_1); lean_dec(x_16); if (x_17 == 0) { diff --git a/stage0/stdlib/Lean/Server/References.c b/stage0/stdlib/Lean/Server/References.c index 3fac2b8a79a6..96fe2e6c3789 100644 --- a/stage0/stdlib/Lean/Server/References.c +++ b/stage0/stdlib/Lean/Server/References.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_findModuleRefs___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_fromNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Server_combineFvars___spec__1___boxed(lean_object*); @@ -150,7 +151,6 @@ LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Server_combineFvar static lean_object* l___private_Lean_Server_References_0__Lean_Server_fromJsonIlean____x40_Lean_Server_References___hyg_1317____closed__17; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_References_definitionsMatching___spec__1(lean_object*); static lean_object* l_Lean_Elab_InfoTree_visitM_go___at_Lean_Server_findReferences___spec__3___closed__1; -lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_ModuleRefs_findAt(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_References_referringTo___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Server_References_0__Lean_Server_fromJsonIlean____x40_Lean_Server_References___hyg_1317____boxed(lean_object*); @@ -168,6 +168,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_References_r LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Server_combineFvars_insertIdMap___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_References_finalizeWorkerRefs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Server_References_removeIlean___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Server_combineFvars_buildIdMap___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_instFromJsonIlean; LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_Server_combineFvars___spec__4(lean_object*, lean_object*); @@ -214,7 +215,6 @@ static lean_object* l___private_Lean_Server_References_0__Lean_Server_fromJsonIl LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Server_ModuleRefs_addRef___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Server_References_removeIlean___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___private_Lean_Server_References_0__Lean_Server_toJsonIlean____x40_Lean_Server_References___hyg_1471____spec__2(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_References_updateWorkerRefs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Server_ModuleRefs_addRef___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Lsp_ModuleRefs_findRange_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -5813,7 +5813,7 @@ x_13 = lean_ctor_get(x_8, 0); x_14 = lean_ctor_get(x_8, 1); x_15 = lean_ctor_get(x_10, 0); x_16 = lean_ctor_get(x_10, 1); -x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3(x_13, x_15); +x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3(x_13, x_15); if (x_17 == 0) { x_2 = x_6; @@ -5965,7 +5965,7 @@ x_12 = lean_ctor_get(x_7, 0); x_13 = lean_ctor_get(x_7, 1); x_14 = lean_ctor_get(x_9, 0); x_15 = lean_ctor_get(x_9, 1); -x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3(x_12, x_14); +x_16 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3(x_12, x_14); if (x_16 == 0) { x_2 = x_5; @@ -6324,7 +6324,7 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_12, 1); lean_inc(x_18); lean_dec(x_12); -x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3(x_15, x_17); +x_19 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3(x_15, x_17); lean_dec(x_17); lean_dec(x_15); if (x_19 == 0) @@ -6406,7 +6406,7 @@ lean_inc(x_35); x_36 = lean_ctor_get(x_29, 1); lean_inc(x_36); lean_dec(x_29); -x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_PrettyPrinter_delabCore___spec__3(x_33, x_35); +x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_PrettyPrinter_delabCore___spec__3(x_33, x_35); lean_dec(x_35); lean_dec(x_33); if (x_37 == 0) @@ -6927,7 +6927,7 @@ static lean_object* _init_l_Lean_Server_dedupReferences___closed__3() { { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Server_dedupReferences___closed__2; -x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____rarg), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____rarg), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } diff --git a/stage0/stdlib/Lean/Server/Watchdog.c b/stage0/stdlib/Lean/Server/Watchdog.c index afc5c9da1620..39f055d7b43f 100644 --- a/stage0/stdlib/Lean/Server/Watchdog.c +++ b/stage0/stdlib/Lean/Server/Watchdog.c @@ -30,6 +30,7 @@ static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__32; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleRequest___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop___closed__11; static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__33; +lean_object* l_Lean_initSrcSearchPath(lean_object*, lean_object*); lean_object* l_EIO_toBaseIO___rarg(lean_object*, lean_object*); lean_object* l_Lean_Json_compress(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Server_Watchdog_handleRename___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -398,7 +399,6 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_FileWorker_erasePendingRequest(l lean_object* l_IO_FS_Stream_writeLspMessage(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop___closed__14; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_findDefinitions(lean_object*, lean_object*, lean_object*); -lean_object* lean_get_prefix(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_terminateFileWorker___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_Watchdog_initAndRunWatchdog___closed__18; static lean_object* l___private_Lean_Server_Watchdog_0__Lean_Server_Watchdog_forwardMessages_loop___closed__10; @@ -590,7 +590,6 @@ lean_object* l_Lean_SearchPath_findAllWithExt(lean_object*, lean_object*, lean_o static lean_object* l_Lean_Server_Watchdog_handleRename___lambda__1___closed__1; static lean_object* l_Lean_Server_Watchdog_handleRename___lambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_initAndRunWatchdogAux___lambda__1(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_initSrcSearchPath___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_Watchdog_handleNotification___spec__6(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_FileWorker_errorPendingRequests___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__2___closed__2; @@ -26258,427 +26257,392 @@ lean_object* x_6; x_6 = l_Lean_Server_Watchdog_findWorkerPath(x_5); if (lean_obj_tag(x_6) == 0) { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); x_8 = lean_ctor_get(x_6, 1); lean_inc(x_8); lean_dec(x_6); -x_9 = lean_get_prefix(x_8); -if (lean_obj_tag(x_9) == 0) +x_9 = lean_box(0); +x_10 = l_Lean_initSrcSearchPath(x_9, x_8); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_box(0); -x_12 = l_Lean_initSrcSearchPath___rarg(x_11, x_10); -if (lean_obj_tag(x_12) == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l_Lean_Server_Watchdog_loadReferences(x_12); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_12); -x_15 = l_Lean_Server_Watchdog_loadReferences(x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_st_mk_ref(x_14, x_15); +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_st_mk_ref(x_16, x_17); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_box(0); -x_22 = lean_st_mk_ref(x_21, x_20); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); -lean_inc(x_24); -lean_dec(x_22); -x_25 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__1; -x_26 = 0; -x_27 = l_Lean_Server_maybeTee(x_25, x_26, x_2, x_24); -if (lean_obj_tag(x_27) == 0) +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_box(0); +x_20 = lean_st_mk_ref(x_19, x_18); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__1; +x_24 = 0; +x_25 = l_Lean_Server_maybeTee(x_23, x_24, x_2, x_22); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__2; -x_31 = 1; -x_32 = l_Lean_Server_maybeTee(x_30, x_31, x_3, x_29); -if (lean_obj_tag(x_32) == 0) +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__2; +x_29 = 1; +x_30 = l_Lean_Server_maybeTee(x_28, x_29, x_3, x_27); +if (lean_obj_tag(x_30) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); -lean_inc(x_34); -lean_dec(x_32); -x_35 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__3; -x_36 = l_Lean_Server_maybeTee(x_35, x_31, x_4, x_34); -if (lean_obj_tag(x_36) == 0) +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__3; +x_34 = l_Lean_Server_maybeTee(x_33, x_29, x_4, x_32); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_37 = lean_ctor_get(x_36, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = l_Lean_Server_Watchdog_startFileWorker___closed__7; -lean_inc(x_28); -x_40 = l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__1(x_28, x_39, x_38); -if (lean_obj_tag(x_40) == 0) +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = l_Lean_Server_Watchdog_startFileWorker___closed__7; +lean_inc(x_26); +x_38 = l_IO_FS_Stream_readLspRequestAs___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__1(x_26, x_37, x_36); +if (lean_obj_tag(x_38) == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_41 = lean_ctor_get(x_40, 0); +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec(x_38); +x_41 = lean_ctor_get(x_39, 0); lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); +x_42 = lean_ctor_get(x_39, 2); lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_ctor_get(x_41, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_41, 2); -lean_inc(x_44); -lean_dec(x_41); -x_45 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__9; -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_45); -lean_inc(x_33); -x_47 = l_IO_FS_Stream_writeLspResponse___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__3(x_33, x_46, x_42); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__22; -lean_inc(x_33); -x_50 = l_IO_FS_Stream_writeLspRequest___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__4(x_33, x_49, x_48); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_52, 0, x_28); -lean_ctor_set(x_52, 1, x_33); -lean_ctor_set(x_52, 2, x_37); -lean_ctor_set(x_52, 3, x_1); -lean_ctor_set(x_52, 4, x_23); -lean_ctor_set(x_52, 5, x_44); -lean_ctor_set(x_52, 6, x_7); -lean_ctor_set(x_52, 7, x_13); -lean_ctor_set(x_52, 8, x_19); -x_53 = l_Lean_Server_Watchdog_initAndRunWatchdogAux(x_52, x_51); -return x_53; -} -else -{ -uint8_t x_54; -lean_dec(x_44); -lean_dec(x_37); -lean_dec(x_33); -lean_dec(x_28); -lean_dec(x_23); -lean_dec(x_19); -lean_dec(x_13); -lean_dec(x_7); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_50); -if (x_54 == 0) +lean_dec(x_39); +x_43 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__9; +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_41); +lean_ctor_set(x_44, 1, x_43); +lean_inc(x_31); +x_45 = l_IO_FS_Stream_writeLspResponse___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__3(x_31, x_44, x_40); +if (lean_obj_tag(x_45) == 0) { -return x_50; -} -else +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +lean_dec(x_45); +x_47 = l_Lean_Server_Watchdog_initAndRunWatchdog___closed__22; +lean_inc(x_31); +x_48 = l_IO_FS_Stream_writeLspRequest___at_Lean_Server_Watchdog_initAndRunWatchdog___spec__4(x_31, x_47, x_46); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_50, 0); -x_56 = lean_ctor_get(x_50, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_50); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_50, 0, x_26); +lean_ctor_set(x_50, 1, x_31); +lean_ctor_set(x_50, 2, x_35); +lean_ctor_set(x_50, 3, x_1); +lean_ctor_set(x_50, 4, x_21); +lean_ctor_set(x_50, 5, x_42); +lean_ctor_set(x_50, 6, x_7); +lean_ctor_set(x_50, 7, x_11); +lean_ctor_set(x_50, 8, x_17); +x_51 = l_Lean_Server_Watchdog_initAndRunWatchdogAux(x_50, x_49); +return x_51; } else { -uint8_t x_58; -lean_dec(x_44); -lean_dec(x_37); -lean_dec(x_33); -lean_dec(x_28); -lean_dec(x_23); -lean_dec(x_19); -lean_dec(x_13); +uint8_t x_52; +lean_dec(x_42); +lean_dec(x_35); +lean_dec(x_31); +lean_dec(x_26); +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_11); lean_dec(x_7); lean_dec(x_1); -x_58 = !lean_is_exclusive(x_47); -if (x_58 == 0) +x_52 = !lean_is_exclusive(x_48); +if (x_52 == 0) { -return x_47; +return x_48; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_47, 0); -x_60 = lean_ctor_get(x_47, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_47); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_48, 0); +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_48); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -uint8_t x_62; -lean_dec(x_37); -lean_dec(x_33); -lean_dec(x_28); -lean_dec(x_23); -lean_dec(x_19); -lean_dec(x_13); +uint8_t x_56; +lean_dec(x_42); +lean_dec(x_35); +lean_dec(x_31); +lean_dec(x_26); +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_11); lean_dec(x_7); lean_dec(x_1); -x_62 = !lean_is_exclusive(x_40); -if (x_62 == 0) +x_56 = !lean_is_exclusive(x_45); +if (x_56 == 0) { -return x_40; +return x_45; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_40, 0); -x_64 = lean_ctor_get(x_40, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_40); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_45, 0); +x_58 = lean_ctor_get(x_45, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_45); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } else { -uint8_t x_66; -lean_dec(x_33); -lean_dec(x_28); -lean_dec(x_23); -lean_dec(x_19); -lean_dec(x_13); +uint8_t x_60; +lean_dec(x_35); +lean_dec(x_31); +lean_dec(x_26); +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_11); lean_dec(x_7); lean_dec(x_1); -x_66 = !lean_is_exclusive(x_36); -if (x_66 == 0) +x_60 = !lean_is_exclusive(x_38); +if (x_60 == 0) { -return x_36; +return x_38; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_36, 0); -x_68 = lean_ctor_get(x_36, 1); -lean_inc(x_68); -lean_inc(x_67); -lean_dec(x_36); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_38, 0); +x_62 = lean_ctor_get(x_38, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_38); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } else { -uint8_t x_70; -lean_dec(x_28); -lean_dec(x_23); -lean_dec(x_19); -lean_dec(x_13); +uint8_t x_64; +lean_dec(x_31); +lean_dec(x_26); +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_11); lean_dec(x_7); -lean_dec(x_4); lean_dec(x_1); -x_70 = !lean_is_exclusive(x_32); -if (x_70 == 0) +x_64 = !lean_is_exclusive(x_34); +if (x_64 == 0) { -return x_32; +return x_34; } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_32, 0); -x_72 = lean_ctor_get(x_32, 1); -lean_inc(x_72); -lean_inc(x_71); -lean_dec(x_32); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -return x_73; +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_34, 0); +x_66 = lean_ctor_get(x_34, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_34); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } else { -uint8_t x_74; -lean_dec(x_23); -lean_dec(x_19); -lean_dec(x_13); +uint8_t x_68; +lean_dec(x_26); +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_11); lean_dec(x_7); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); -x_74 = !lean_is_exclusive(x_27); -if (x_74 == 0) +x_68 = !lean_is_exclusive(x_30); +if (x_68 == 0) { -return x_27; +return x_30; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_27, 0); -x_76 = lean_ctor_get(x_27, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_27); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_75); -lean_ctor_set(x_77, 1, x_76); -return x_77; +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_30, 0); +x_70 = lean_ctor_get(x_30, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_30); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } else { -uint8_t x_78; -lean_dec(x_13); +uint8_t x_72; +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_11); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); lean_dec(x_1); -x_78 = !lean_is_exclusive(x_15); -if (x_78 == 0) +x_72 = !lean_is_exclusive(x_25); +if (x_72 == 0) { -return x_15; +return x_25; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_15, 0); -x_80 = lean_ctor_get(x_15, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_15); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_25, 0); +x_74 = lean_ctor_get(x_25, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_25); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } } else { -uint8_t x_82; +uint8_t x_76; +lean_dec(x_11); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_82 = !lean_is_exclusive(x_12); -if (x_82 == 0) +x_76 = !lean_is_exclusive(x_13); +if (x_76 == 0) { -return x_12; +return x_13; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_12, 0); -x_84 = lean_ctor_get(x_12, 1); -lean_inc(x_84); -lean_inc(x_83); -lean_dec(x_12); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_13, 0); +x_78 = lean_ctor_get(x_13, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_13); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } } else { -uint8_t x_86; +uint8_t x_80; lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_86 = !lean_is_exclusive(x_9); -if (x_86 == 0) +x_80 = !lean_is_exclusive(x_10); +if (x_80 == 0) { -return x_9; +return x_10; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_9, 0); -x_88 = lean_ctor_get(x_9, 1); -lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_9); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_10, 0); +x_82 = lean_ctor_get(x_10, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_10); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } else { -uint8_t x_90; +uint8_t x_84; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_90 = !lean_is_exclusive(x_6); -if (x_90 == 0) +x_84 = !lean_is_exclusive(x_6); +if (x_84 == 0) { return x_6; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_6, 0); -x_92 = lean_ctor_get(x_6, 1); -lean_inc(x_92); -lean_inc(x_91); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_6, 0); +x_86 = lean_ctor_get(x_6, 1); +lean_inc(x_86); +lean_inc(x_85); lean_dec(x_6); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } diff --git a/stage0/stdlib/Lean/SubExpr.c b/stage0/stdlib/Lean/SubExpr.c index 108fd8e2d668..659c70ea0344 100644 --- a/stage0/stdlib/Lean/SubExpr.c +++ b/stage0/stdlib/Lean/SubExpr.c @@ -14,9 +14,9 @@ extern "C" { #endif static lean_object* l_Lean_SubExpr_Pos_push___closed__3; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__4; lean_object* l___private_Init_Util_0__outOfBounds___rarg(lean_object*); lean_object* l_List_join___rarg(lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__10; LEAN_EXPORT lean_object* l_Lean_SubExpr_instToJsonMVarId(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldrM___at_Lean_SubExpr_Pos_all___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instToJsonPos___lambda__1(lean_object*); @@ -24,17 +24,19 @@ static lean_object* l_Lean_SubExpr_Pos_tail___closed__2; LEAN_EXPORT uint8_t l_Lean_SubExpr_Pos_all(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_SubExpr_bindingBody_x21___spec__1(lean_object*); static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord___closed__6; +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_tail(lean_object*); static lean_object* l_Lean_SubExpr_Pos_instToStringPos___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushAppFn(lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__2; static lean_object* l_Lean_SubExpr_Pos_instOrdPos___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_traverseAppWithPos(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_fromString_x21(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord___boxed(lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____closed__1; lean_object* l_Lean_Json_mkObj(lean_object*); lean_object* l_Array_push___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__2; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instInhabitedPos; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldlM___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_SubExpr_bindingBody_x21___closed__1; @@ -46,116 +48,113 @@ LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldr___rarg(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_ofArray___boxed(lean_object*); static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord___closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_SubExpr_Pos_fromString_x3f___spec__1(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__9; lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_SubExpr_Pos_append___closed__1; uint8_t lean_usize_dec_eq(size_t, size_t); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__12; uint8_t l_Lean_Name_isAnonymous(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetBody(lean_object*); static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_instFromJsonFVarId___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__3; lean_object* l_Lean_Expr_bvar___override(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__17; static lean_object* l_Lean_SubExpr_Pos_push___closed__1; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__13; static lean_object* l_Lean_instInhabitedSubExpr___closed__1; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__11; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__14; LEAN_EXPORT uint8_t l_Lean_SubExpr_isRoot(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_instToJsonGoalsLocation; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__8; static lean_object* l_Lean_SubExpr_Pos_tail___closed__1; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__9; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instOrdPos; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushAppArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldr(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instReprPos(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedJson; -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___boxed(lean_object*); static lean_object* l_Lean_SubExpr_instFromJsonGoalLocation___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushBindingBody___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instToJsonPos; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instToStringPos; uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instFromJsonPos___boxed(lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__10; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_all___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushNaryFn___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_depth___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_maxChildren; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushNaryArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instFromJsonPos(lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__6; lean_object* l_Lean_Json_getStr_x3f(lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__3; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____closed__1; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_SubExpr_Pos_ofArray___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_all___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_SubExpr_Pos_toArray___closed__1; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__14; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__3; static lean_object* l_Lean_SubExpr_bindingBody_x21___closed__3; static lean_object* l_Lean_SubExpr_instFromJsonFVarId___closed__4; lean_object* l_panic___at_String_toNat_x21___spec__1(lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__4; -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_push___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__15; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_toString(lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__1; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__1; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldrM(lean_object*, lean_object*); static lean_object* l_Lean_SubExpr_Pos_instReprPos___closed__3; lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__18; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__1; static lean_object* l_Lean_SubExpr_instFromJsonFVarId___closed__1; LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_bindingBody_x21(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020_(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_toArray(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_typeCoord; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__15; +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_instToJsonGoalLocation; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetVarType___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushBindingDomain___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_SubExpr_Pos_fromString_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867____closed__1; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__5; static lean_object* l_Lean_SubExpr_bindingDomain_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushNthBindingDomain(lean_object*, lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__17; static lean_object* l_Lean_SubExpr_Pos_instReprPos___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldlM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_asNat___boxed(lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_append___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_root; static lean_object* l_Lean_SubExpr_instFromJsonFVarId___closed__2; static lean_object* l_Lean_SubExpr_Pos_depth___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetValue___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_SubExpr_Pos_tail___spec__1(lean_object*); static lean_object* l_Lean_SubExpr_Pos_head___closed__4; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__2; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__18; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__7; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_head___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetBody___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushBindingDomain(lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__3; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instEmptyCollectionPos; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__12; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldl___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__2; lean_object* l_instOrdNat___boxed(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871____closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushNaryArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushNthBindingBody(lean_object*, lean_object*); static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord___closed__3; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalsLocation____x40_Lean_SubExpr___hyg_2131_(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_fromString_x3f(lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__2; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetVarType(lean_object*); static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_ofArray(lean_object*); @@ -167,9 +166,11 @@ LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_asNat(lean_object*); static lean_object* l_Lean_SubExpr_Pos_typeCoord___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_head(lean_object*); static lean_object* l_Lean_SubExpr_Pos_toString___closed__1; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__13; LEAN_EXPORT uint8_t l_Lean_SubExpr_Pos_isRoot(lean_object*); lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__11; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldl(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_pow(lean_object*, lean_object*); @@ -185,32 +186,32 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* lean_nat_mod(lean_object*, lean_object*); static lean_object* l_Lean_SubExpr_bindingBody_x21___closed__2; static lean_object* l_Lean_SubExpr_Pos_head___closed__3; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord___closed__4; -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_append(lean_object*, lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__16; lean_object* l_String_toName(lean_object*); static lean_object* l_Lean_SubExpr_instToJsonGoalsLocation___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_mkRoot(lean_object*); static lean_object* l_Lean_SubExpr_Pos_toArray___closed__2; static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord___closed__5; lean_object* lean_panic_fn(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_instFromJsonMVarId(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_instFromJsonGoalsLocation; lean_object* l_Except_orElseLazy___rarg(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instInhabitedSubExpr; static lean_object* l_Lean_instInhabitedSubExpr___closed__2; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___closed__1; static lean_object* l_Lean_SubExpr_Pos_push___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__1; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__5; +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___closed__1; LEAN_EXPORT lean_object* l_List_mapTR_loop___at_Lean_SubExpr_Pos_toString___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_instFromJsonFVarId___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instReprPos___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__8; lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_Pos_ofStringCoord___closed__7; LEAN_EXPORT lean_object* l_Lean_Expr_traverseAppWithPos___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -220,10 +221,10 @@ LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldl___rarg___boxed(lean_object*, l lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_SubExpr_Pos_instToJsonPos___closed__2; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_foldlM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_isRoot___boxed(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867_(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_depth___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_traverseAppWithPos___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_traverseAppWithPos___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -238,14 +239,11 @@ lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_isRoot___boxed(lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_instFromJsonGoalLocation; -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__7; -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589_(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_instToJsonFVarId(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_instFromJsonFVarId(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__6; -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalsLocation____x40_Lean_SubExpr___hyg_2127_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_SubExpr_instFromJsonGoalsLocation___closed__1; LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_instDecidableEqPos___boxed(lean_object*, lean_object*); @@ -254,7 +252,9 @@ lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); lean_object* l_List_toString___at_Lean_MetavarContext_MkBinding_instToStringException___spec__2(lean_object*); static lean_object* l_Lean_SubExpr_Pos_fromString_x21___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__16; +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593_(lean_object*); static lean_object* l_Lean_SubExpr_Pos_instToJsonPos___closed__1; lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_SubExpr_Pos_pushLetValue(lean_object*); @@ -2528,7 +2528,7 @@ return x_32; } } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__1() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -2536,25 +2536,25 @@ x_1 = lean_mk_string_from_bytes("no inductive constructor matched", 32); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__2() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__1; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__2; +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__2; return x_2; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__1() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__1() { _start: { lean_object* x_1; @@ -2562,19 +2562,19 @@ x_1 = lean_mk_string_from_bytes("hypValue", 8); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___boxed), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__1; +x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__1; x_5 = lean_unsigned_to_nat(2u); x_6 = l_Lean_Json_parseTagged(x_1, x_4, x_5, x_2); if (lean_obj_tag(x_6) == 0) @@ -2584,7 +2584,7 @@ x_7 = !lean_is_exclusive(x_6); if (x_7 == 0) { lean_object* x_8; lean_object* x_9; -x_8 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_8 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_9 = l_Except_orElseLazy___rarg(x_6, x_8); return x_9; } @@ -2596,7 +2596,7 @@ lean_inc(x_10); lean_dec(x_6); x_11 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_11, 0, x_10); -x_12 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_12 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_13 = l_Except_orElseLazy___rarg(x_11, x_12); return x_13; } @@ -2647,7 +2647,7 @@ x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; -x_23 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_23 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_24 = l_Except_orElseLazy___rarg(x_21, x_23); return x_24; } @@ -2659,7 +2659,7 @@ lean_inc(x_25); lean_dec(x_21); x_26 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_26, 0, x_25); -x_27 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_27 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_28 = l_Except_orElseLazy___rarg(x_26, x_27); return x_28; } @@ -2679,7 +2679,7 @@ x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) { lean_object* x_32; lean_object* x_33; -x_32 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_32 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_33 = l_Except_orElseLazy___rarg(x_30, x_32); return x_33; } @@ -2691,7 +2691,7 @@ lean_inc(x_34); lean_dec(x_30); x_35 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_35, 0, x_34); -x_36 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_36 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_37 = l_Except_orElseLazy___rarg(x_35, x_36); return x_37; } @@ -2708,7 +2708,7 @@ x_40 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_40, 0, x_16); lean_ctor_set(x_40, 1, x_39); lean_ctor_set(x_30, 0, x_40); -x_41 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_41 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_42 = l_Except_orElseLazy___rarg(x_30, x_41); return x_42; } @@ -2723,7 +2723,7 @@ lean_ctor_set(x_44, 0, x_16); lean_ctor_set(x_44, 1, x_43); x_45 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_45, 0, x_44); -x_46 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_46 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_47 = l_Except_orElseLazy___rarg(x_45, x_46); return x_47; } @@ -2745,7 +2745,7 @@ x_50 = !lean_is_exclusive(x_49); if (x_50 == 0) { lean_object* x_51; lean_object* x_52; -x_51 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_51 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_52 = l_Except_orElseLazy___rarg(x_49, x_51); return x_52; } @@ -2757,7 +2757,7 @@ lean_inc(x_53); lean_dec(x_49); x_54 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_54, 0, x_53); -x_55 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_55 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_56 = l_Except_orElseLazy___rarg(x_54, x_55); return x_56; } @@ -2777,7 +2777,7 @@ x_59 = !lean_is_exclusive(x_58); if (x_59 == 0) { lean_object* x_60; lean_object* x_61; -x_60 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_60 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_61 = l_Except_orElseLazy___rarg(x_58, x_60); return x_61; } @@ -2789,7 +2789,7 @@ lean_inc(x_62); lean_dec(x_58); x_63 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_63, 0, x_62); -x_64 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_64 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_65 = l_Except_orElseLazy___rarg(x_63, x_64); return x_65; } @@ -2806,7 +2806,7 @@ x_68 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_68, 0, x_16); lean_ctor_set(x_68, 1, x_67); lean_ctor_set(x_58, 0, x_68); -x_69 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_69 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_70 = l_Except_orElseLazy___rarg(x_58, x_69); return x_70; } @@ -2821,7 +2821,7 @@ lean_ctor_set(x_72, 0, x_16); lean_ctor_set(x_72, 1, x_71); x_73 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_73, 0, x_72); -x_74 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_74 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_75 = l_Except_orElseLazy___rarg(x_73, x_74); return x_75; } @@ -2843,7 +2843,7 @@ x_79 = !lean_is_exclusive(x_78); if (x_79 == 0) { lean_object* x_80; lean_object* x_81; -x_80 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_80 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_81 = l_Except_orElseLazy___rarg(x_78, x_80); return x_81; } @@ -2855,7 +2855,7 @@ lean_inc(x_82); lean_dec(x_78); x_83 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_83, 0, x_82); -x_84 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_84 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_85 = l_Except_orElseLazy___rarg(x_83, x_84); return x_85; } @@ -2897,7 +2897,7 @@ x_96 = l_Lean_SubExpr_instFromJsonFVarId___closed__3; x_97 = lean_string_append(x_95, x_96); lean_ctor_set_tag(x_78, 0); lean_ctor_set(x_78, 0, x_97); -x_98 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_98 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_99 = l_Except_orElseLazy___rarg(x_78, x_98); return x_99; } @@ -2947,7 +2947,7 @@ x_110 = l_Lean_SubExpr_instFromJsonFVarId___closed__3; x_111 = lean_string_append(x_109, x_110); x_112 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_112, 0, x_111); -x_113 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2; +x_113 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2; x_114 = l_Except_orElseLazy___rarg(x_112, x_113); return x_114; } @@ -2967,7 +2967,7 @@ goto block_76; } } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___closed__1() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___closed__1() { _start: { lean_object* x_1; @@ -2975,14 +2975,14 @@ x_1 = lean_mk_string_from_bytes("hypType", 7); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___closed__1; +x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___closed__1; x_5 = lean_unsigned_to_nat(2u); x_6 = l_Lean_Json_parseTagged(x_1, x_4, x_5, x_2); -x_7 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___boxed), 3, 2); +x_7 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___boxed), 3, 2); lean_closure_set(x_7, 0, x_1); lean_closure_set(x_7, 1, x_2); if (lean_obj_tag(x_6) == 0) @@ -3357,7 +3357,7 @@ goto block_63; } } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__1() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__1() { _start: { lean_object* x_1; @@ -3365,7 +3365,7 @@ x_1 = lean_mk_string_from_bytes("hyp", 3); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__2() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -3375,24 +3375,24 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__3() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__2; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__2; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__1; +x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__1; x_5 = lean_unsigned_to_nat(1u); x_6 = l_Lean_Json_parseTagged(x_1, x_4, x_5, x_2); -x_7 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___boxed), 3, 2); +x_7 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___boxed), 3, 2); lean_closure_set(x_7, 0, x_1); lean_closure_set(x_7, 1, x_2); if (lean_obj_tag(x_6) == 0) @@ -3520,7 +3520,7 @@ lean_object* x_30; lean_object* x_31; lean_free_object(x_9); lean_dec(x_16); lean_dec(x_8); -x_30 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__3; +x_30 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__3; x_31 = l_Except_orElseLazy___rarg(x_30, x_7); return x_31; } @@ -3571,7 +3571,7 @@ else lean_object* x_48; lean_object* x_49; lean_dec(x_32); lean_dec(x_8); -x_48 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__3; +x_48 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__3; x_49 = l_Except_orElseLazy___rarg(x_48, x_7); return x_49; } @@ -3580,7 +3580,7 @@ return x_49; } } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____closed__1() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____closed__1() { _start: { lean_object* x_1; @@ -3588,15 +3588,15 @@ x_1 = lean_mk_string_from_bytes("target", 6); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = lean_box(0); -x_3 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____closed__1; +x_3 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____closed__1; x_4 = lean_unsigned_to_nat(1u); x_5 = l_Lean_Json_parseTagged(x_1, x_3, x_4, x_2); -x_6 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___boxed), 3, 2); +x_6 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___boxed), 3, 2); lean_closure_set(x_6, 0, x_1); lean_closure_set(x_6, 1, x_2); if (lean_obj_tag(x_5) == 0) @@ -3811,40 +3811,40 @@ return x_60; } } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1(x_1); +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2(x_1, x_2, x_3); +x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3(x_1, x_2, x_3); +x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3(x_1, x_2, x_3); lean_dec(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4(x_1, x_2, x_3); +x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4(x_1, x_2, x_3); lean_dec(x_3); return x_4; } @@ -3853,7 +3853,7 @@ static lean_object* _init_l_Lean_SubExpr_instFromJsonGoalLocation___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593_), 1, 0); return x_1; } } @@ -3865,7 +3865,7 @@ x_1 = l_Lean_SubExpr_instFromJsonGoalLocation___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867____closed__1() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -3874,7 +3874,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871_(lean_object* x_1) { _start: { switch (lean_obj_tag(x_1)) { @@ -3888,7 +3888,7 @@ x_3 = 1; x_4 = l_Lean_Name_toString(x_2, x_3); x_5 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__1; +x_6 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__1; x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -3914,12 +3914,12 @@ lean_ctor_set(x_15, 0, x_14); x_16 = l_Lean_SubExpr_Pos_toString(x_12); x_17 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_17, 0, x_16); -x_18 = l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867____closed__1; +x_18 = l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871____closed__1; x_19 = lean_array_push(x_18, x_15); x_20 = lean_array_push(x_19, x_17); x_21 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_21, 0, x_20); -x_22 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___closed__1; +x_22 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___closed__1; x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); @@ -3945,12 +3945,12 @@ lean_ctor_set(x_31, 0, x_30); x_32 = l_Lean_SubExpr_Pos_toString(x_28); x_33 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_33, 0, x_32); -x_34 = l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867____closed__1; +x_34 = l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871____closed__1; x_35 = lean_array_push(x_34, x_31); x_36 = lean_array_push(x_35, x_33); x_37 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_37, 0, x_36); -x_38 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__1; +x_38 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__1; x_39 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); @@ -3970,7 +3970,7 @@ lean_dec(x_1); x_44 = l_Lean_SubExpr_Pos_toString(x_43); x_45 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_45, 0, x_44); -x_46 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____closed__1; +x_46 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____closed__1; x_47 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); @@ -3988,7 +3988,7 @@ static lean_object* _init_l_Lean_SubExpr_instToJsonGoalLocation___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871_), 1, 0); return x_1; } } @@ -4000,7 +4000,7 @@ x_1 = l_Lean_SubExpr_instToJsonGoalLocation___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -4122,16 +4122,16 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_Json_getObjValD(x_1, x_2); -x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589_(x_3); +x_4 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593_(x_3); return x_4; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__1() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__1() { _start: { lean_object* x_1; @@ -4139,7 +4139,7 @@ x_1 = lean_mk_string_from_bytes("mvarId", 6); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__2() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__2() { _start: { lean_object* x_1; @@ -4147,7 +4147,7 @@ x_1 = lean_mk_string_from_bytes("Lean", 4); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__3() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__3() { _start: { lean_object* x_1; @@ -4155,7 +4155,7 @@ x_1 = lean_mk_string_from_bytes("SubExpr", 7); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__4() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__4() { _start: { lean_object* x_1; @@ -4163,28 +4163,28 @@ x_1 = lean_mk_string_from_bytes("GoalsLocation", 13); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__5() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__2; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__3; -x_3 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__4; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__2; +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__3; +x_3 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__4; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__6() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__6() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__5; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__5; x_2 = 1; x_3 = l_Lean_Name_toString(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__7() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__7() { _start: { lean_object* x_1; @@ -4192,47 +4192,47 @@ x_1 = lean_mk_string_from_bytes(".", 1); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__8() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__6; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__7; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__6; +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__7; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__9() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__1; +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__10() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__10() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__9; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__9; x_2 = 1; x_3 = l_Lean_Name_toString(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__11() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__8; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__10; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__8; +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__10; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__12() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__12() { _start: { lean_object* x_1; @@ -4240,17 +4240,17 @@ x_1 = lean_mk_string_from_bytes(": ", 2); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__13() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__11; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__12; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__11; +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__12; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__14() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__14() { _start: { lean_object* x_1; @@ -4258,52 +4258,52 @@ x_1 = lean_mk_string_from_bytes("loc", 3); return x_1; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__15() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__14; +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__16() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__16() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__15; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__15; x_2 = 1; x_3 = l_Lean_Name_toString(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__17() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__8; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__16; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__8; +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__16; x_3 = lean_string_append(x_1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__18() { +static lean_object* _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__17; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__12; +x_1 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__17; +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__12; x_3 = lean_string_append(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__1(x_1, x_2); +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -4312,7 +4312,7 @@ if (x_4 == 0) { lean_object* x_5; lean_object* x_6; lean_object* x_7; x_5 = lean_ctor_get(x_3, 0); -x_6 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__13; +x_6 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__13; x_7 = lean_string_append(x_6, x_5); lean_dec(x_5); lean_ctor_set(x_3, 0, x_7); @@ -4324,7 +4324,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_3, 0); lean_inc(x_8); lean_dec(x_3); -x_9 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__13; +x_9 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__13; x_10 = lean_string_append(x_9, x_8); lean_dec(x_8); x_11 = lean_alloc_ctor(0, 1, 0); @@ -4338,8 +4338,8 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; x_12 = lean_ctor_get(x_3, 0); lean_inc(x_12); lean_dec(x_3); -x_13 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__14; -x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__2(x_1, x_13); +x_13 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__14; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__2(x_1, x_13); if (lean_obj_tag(x_14) == 0) { uint8_t x_15; @@ -4349,7 +4349,7 @@ if (x_15 == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_ctor_get(x_14, 0); -x_17 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__18; +x_17 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__18; x_18 = lean_string_append(x_17, x_16); lean_dec(x_16); lean_ctor_set(x_14, 0, x_18); @@ -4361,7 +4361,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_19 = lean_ctor_get(x_14, 0); lean_inc(x_19); lean_dec(x_14); -x_20 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__18; +x_20 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__18; x_21 = lean_string_append(x_20, x_19); lean_dec(x_19); x_22 = lean_alloc_ctor(0, 1, 0); @@ -4400,31 +4400,31 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____spec__2(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016_(x_1); +x_2 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020_(x_1); lean_dec(x_1); return x_2; } @@ -4433,7 +4433,7 @@ static lean_object* _init_l_Lean_SubExpr_instFromJsonGoalsLocation___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____boxed), 1, 0); return x_1; } } @@ -4445,7 +4445,7 @@ x_1 = l_Lean_SubExpr_instFromJsonGoalsLocation___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalsLocation____x40_Lean_SubExpr___hyg_2127_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalsLocation____x40_Lean_SubExpr___hyg_2131_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -4455,7 +4455,7 @@ x_3 = 1; x_4 = l_Lean_Name_toString(x_2, x_3); x_5 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__1; +x_6 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__1; x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -4466,8 +4466,8 @@ lean_ctor_set(x_9, 1, x_8); x_10 = lean_ctor_get(x_1, 1); lean_inc(x_10); lean_dec(x_1); -x_11 = l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867_(x_10); -x_12 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__14; +x_11 = l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871_(x_10); +x_12 = l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__14; x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); @@ -4489,7 +4489,7 @@ static lean_object* _init_l_Lean_SubExpr_instToJsonGoalsLocation___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalsLocation____x40_Lean_SubExpr___hyg_2127_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalsLocation____x40_Lean_SubExpr___hyg_2131_), 1, 0); return x_1; } } @@ -4701,70 +4701,70 @@ l_Lean_SubExpr_instFromJsonFVarId___closed__3 = _init_l_Lean_SubExpr_instFromJso lean_mark_persistent(l_Lean_SubExpr_instFromJsonFVarId___closed__3); l_Lean_SubExpr_instFromJsonFVarId___closed__4 = _init_l_Lean_SubExpr_instFromJsonFVarId___closed__4(); lean_mark_persistent(l_Lean_SubExpr_instFromJsonFVarId___closed__4); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__1(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__1); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__2 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__2(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__1___closed__2); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__1(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__1); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__2___closed__2); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___closed__1(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__3___closed__1); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__1(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__1); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__2 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__2(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__2); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__3 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__3(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____lambda__4___closed__3); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____closed__1(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1589____closed__1); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__1(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__1); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__2 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__2(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__1___closed__2); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__1); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__2___closed__2); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___closed__1(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__3___closed__1); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__1(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__1); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__2 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__2(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__2); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__3 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__3(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____lambda__4___closed__3); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____closed__1(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalLocation____x40_Lean_SubExpr___hyg_1593____closed__1); l_Lean_SubExpr_instFromJsonGoalLocation___closed__1 = _init_l_Lean_SubExpr_instFromJsonGoalLocation___closed__1(); lean_mark_persistent(l_Lean_SubExpr_instFromJsonGoalLocation___closed__1); l_Lean_SubExpr_instFromJsonGoalLocation = _init_l_Lean_SubExpr_instFromJsonGoalLocation(); lean_mark_persistent(l_Lean_SubExpr_instFromJsonGoalLocation); -l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867____closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867____closed__1(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1867____closed__1); +l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871____closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871____closed__1(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_toJsonGoalLocation____x40_Lean_SubExpr___hyg_1871____closed__1); l_Lean_SubExpr_instToJsonGoalLocation___closed__1 = _init_l_Lean_SubExpr_instToJsonGoalLocation___closed__1(); lean_mark_persistent(l_Lean_SubExpr_instToJsonGoalLocation___closed__1); l_Lean_SubExpr_instToJsonGoalLocation = _init_l_Lean_SubExpr_instToJsonGoalLocation(); lean_mark_persistent(l_Lean_SubExpr_instToJsonGoalLocation); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__1(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__1); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__2 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__2(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__2); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__3 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__3(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__3); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__4 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__4(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__4); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__5 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__5(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__5); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__6 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__6(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__6); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__7 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__7(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__7); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__8 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__8(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__8); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__9 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__9(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__9); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__10 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__10(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__10); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__11 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__11(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__11); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__12 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__12(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__12); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__13 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__13(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__13); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__14 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__14(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__14); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__15 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__15(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__15); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__16 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__16(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__16); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__17 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__17(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__17); -l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__18 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__18(); -lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2016____closed__18); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__1 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__1(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__1); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__2 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__2(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__2); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__3 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__3(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__3); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__4 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__4(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__4); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__5 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__5(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__5); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__6 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__6(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__6); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__7 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__7(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__7); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__8 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__8(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__8); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__9 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__9(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__9); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__10 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__10(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__10); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__11 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__11(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__11); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__12 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__12(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__12); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__13 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__13(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__13); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__14 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__14(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__14); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__15 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__15(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__15); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__16 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__16(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__16); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__17 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__17(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__17); +l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__18 = _init_l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__18(); +lean_mark_persistent(l___private_Lean_SubExpr_0__Lean_SubExpr_fromJsonGoalsLocation____x40_Lean_SubExpr___hyg_2020____closed__18); l_Lean_SubExpr_instFromJsonGoalsLocation___closed__1 = _init_l_Lean_SubExpr_instFromJsonGoalsLocation___closed__1(); lean_mark_persistent(l_Lean_SubExpr_instFromJsonGoalsLocation___closed__1); l_Lean_SubExpr_instFromJsonGoalsLocation = _init_l_Lean_SubExpr_instFromJsonGoalsLocation(); diff --git a/stage0/stdlib/Lean/Util.c b/stage0/stdlib/Lean/Util.c index 2a3b7be530fc..24155ea30ee9 100644 --- a/stage0/stdlib/Lean/Util.c +++ b/stage0/stdlib/Lean/Util.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Util -// Imports: Init Lean.Util.CollectFVars Lean.Util.CollectLevelParams Lean.Util.CollectMVars Lean.Util.FindMVar Lean.Util.FindLevelMVar Lean.Util.MonadCache Lean.Util.PPExt Lean.Util.Path Lean.Util.Profile Lean.Util.RecDepth Lean.Util.ShareCommon Lean.Util.Sorry Lean.Util.Trace Lean.Util.FindExpr Lean.Util.ReplaceExpr Lean.Util.ForEachExpr Lean.Util.ForEachExprWhere Lean.Util.ReplaceLevel Lean.Util.FoldConsts Lean.Util.SCC Lean.Util.OccursCheck Lean.Util.Paths Lean.Util.HasConstCache +// Imports: Init Lean.Util.CollectFVars Lean.Util.CollectLevelParams Lean.Util.CollectMVars Lean.Util.FindMVar Lean.Util.FindLevelMVar Lean.Util.MonadCache Lean.Util.PPExt Lean.Util.Path Lean.Util.Profile Lean.Util.RecDepth Lean.Util.ShareCommon Lean.Util.Sorry Lean.Util.Trace Lean.Util.FindExpr Lean.Util.ReplaceExpr Lean.Util.ForEachExpr Lean.Util.ForEachExprWhere Lean.Util.ReplaceLevel Lean.Util.FoldConsts Lean.Util.SCC Lean.Util.OccursCheck Lean.Util.HasConstCache Lean.Util.FileSetupInfo #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -35,8 +35,8 @@ lean_object* initialize_Lean_Util_ReplaceLevel(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Util_FoldConsts(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Util_SCC(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Util_OccursCheck(uint8_t builtin, lean_object*); -lean_object* initialize_Lean_Util_Paths(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Util_HasConstCache(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Util_FileSetupInfo(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Util(uint8_t builtin, lean_object* w) { lean_object * res; @@ -108,10 +108,10 @@ lean_dec_ref(res); res = initialize_Lean_Util_OccursCheck(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Util_Paths(builtin, lean_io_mk_world()); +res = initialize_Lean_Util_HasConstCache(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = initialize_Lean_Util_HasConstCache(builtin, lean_io_mk_world()); +res = initialize_Lean_Util_FileSetupInfo(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Util/FileSetupInfo.c b/stage0/stdlib/Lean/Util/FileSetupInfo.c new file mode 100644 index 000000000000..e003bba89887 --- /dev/null +++ b/stage0/stdlib/Lean/Util/FileSetupInfo.c @@ -0,0 +1,569 @@ +// Lean compiler output +// Module: Lean.Util.FileSetupInfo +// Imports: Init Lean.Util.LeanOptions +#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_List_join___rarg(lean_object*); +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__6; +lean_object* l_Lean_Json_mkObj(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24_(lean_object*); +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__13; +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__12; +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +static lean_object* l_Lean_instFromJsonFileSetupInfo___closed__1; +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__7; +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__15; +static lean_object* l_Lean_instToJsonFileSetupInfo___closed__1; +lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonLeanOptions___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__2; +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__10; +lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__17; +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__3; +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__9; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__1; +LEAN_EXPORT lean_object* l_Lean_instFromJsonFileSetupInfo; +LEAN_EXPORT lean_object* l_Lean_instToJsonFileSetupInfo; +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__5; +lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135_(lean_object*); +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__16; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__2; +lean_object* l_Lean_RBNode_fold___at_Lean_instToJsonLeanOptions___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__14; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2(lean_object*, lean_object*); +lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_toJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_202_(lean_object*); +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__4; +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__1; +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__8; +lean_object* l___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_41_(lean_object*); +static lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__11; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135_(x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("invalid LeanOptions type", 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 5) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = l_Lean_RBNode_foldM___at_Lean_instFromJsonLeanOptions___spec__1(x_5, x_4); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +return x_6; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_6); +if (x_10 == 0) +{ +return x_6; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_6, 0); +lean_inc(x_11); +lean_dec(x_6); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +} +else +{ +lean_object* x_13; +lean_dec(x_3); +x_13 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__2; +return x_13; +} +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("paths", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("FileSetupInfo", 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__2; +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__3; +x_3 = l_Lean_Name_mkStr2(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__5() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__4; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(".", 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__5; +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__9() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__8; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__7; +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__9; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(": ", 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__10; +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__11; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("setupOptions", 12); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__13; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__15() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__14; +x_2 = 1; +x_3 = l_Lean_Name_toString(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__7; +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__15; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__16; +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__11; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__12; +x_7 = lean_string_append(x_6, x_5); +lean_dec(x_5); +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__12; +x_10 = lean_string_append(x_9, x_8); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 0); +lean_inc(x_12); +lean_dec(x_3); +x_13 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__13; +x_14 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__17; +x_18 = lean_string_append(x_17, x_16); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_18); +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__17; +x_21 = lean_string_append(x_20, x_19); +lean_dec(x_19); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_14); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_12); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_14, 0, x_25); +return x_14; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_14, 0); +lean_inc(x_26); +lean_dec(x_14); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_12); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_instFromJsonFileSetupInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_instFromJsonFileSetupInfo() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_instFromJsonFileSetupInfo___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_FileSetupInfo_0__Lean_toJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_202_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_41_(x_2); +x_4 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__1; +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_box(0); +x_10 = l_Lean_RBNode_fold___at_Lean_instToJsonLeanOptions___spec__1(x_9, x_8); +x_11 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__13; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_6); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_6); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_7); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_List_join___rarg(x_16); +x_18 = l_Lean_Json_mkObj(x_17); +return x_18; +} +} +static lean_object* _init_l_Lean_instToJsonFileSetupInfo___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Util_FileSetupInfo_0__Lean_toJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_202_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_instToJsonFileSetupInfo() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_instToJsonFileSetupInfo___closed__1; +return x_1; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Util_LeanOptions(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Util_FileSetupInfo(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Util_LeanOptions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__1); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__2(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____spec__2___closed__2); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__1 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__1(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__1); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__2 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__2(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__2); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__3 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__3(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__3); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__4 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__4(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__4); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__5 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__5(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__5); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__6 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__6(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__6); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__7 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__7(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__7); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__8 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__8(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__8); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__9 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__9(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__9); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__10 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__10(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__10); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__11 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__11(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__11); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__12 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__12(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__12); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__13 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__13(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__13); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__14 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__14(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__14); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__15 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__15(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__15); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__16 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__16(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__16); +l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__17 = _init_l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__17(); +lean_mark_persistent(l___private_Lean_Util_FileSetupInfo_0__Lean_fromJsonFileSetupInfo____x40_Lean_Util_FileSetupInfo___hyg_24____closed__17); +l_Lean_instFromJsonFileSetupInfo___closed__1 = _init_l_Lean_instFromJsonFileSetupInfo___closed__1(); +lean_mark_persistent(l_Lean_instFromJsonFileSetupInfo___closed__1); +l_Lean_instFromJsonFileSetupInfo = _init_l_Lean_instFromJsonFileSetupInfo(); +lean_mark_persistent(l_Lean_instFromJsonFileSetupInfo); +l_Lean_instToJsonFileSetupInfo___closed__1 = _init_l_Lean_instToJsonFileSetupInfo___closed__1(); +lean_mark_persistent(l_Lean_instToJsonFileSetupInfo___closed__1); +l_Lean_instToJsonFileSetupInfo = _init_l_Lean_instToJsonFileSetupInfo(); +lean_mark_persistent(l_Lean_instToJsonFileSetupInfo); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Util/LakePath.c b/stage0/stdlib/Lean/Util/LakePath.c new file mode 100644 index 000000000000..97e5e4b218d5 --- /dev/null +++ b/stage0/stdlib/Lean/Util/LakePath.c @@ -0,0 +1,257 @@ +// Lean compiler output +// Module: Lean.Util.LakePath +// Imports: Init +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_determineLakePath(lean_object*); +static lean_object* l_Lean_determineLakePath___lambda__1___closed__2; +lean_object* l_System_FilePath_join(lean_object*, lean_object*); +static lean_object* l_Lean_determineLakePath___closed__1; +lean_object* lean_io_getenv(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_determineLakePath___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l_IO_appDir(lean_object*); +static lean_object* l_Lean_determineLakePath___closed__2; +static lean_object* l_Lean_determineLakePath___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_determineLakePath___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_determineLakePath___lambda__1___closed__1; +static lean_object* _init_l_Lean_determineLakePath___lambda__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("LEAN_SYSROOT", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_determineLakePath___lambda__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("lake", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_determineLakePath___lambda__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("bin", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_determineLakePath___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Lean_determineLakePath___lambda__1___closed__1; +x_4 = lean_io_getenv(x_3, x_2); +x_5 = lean_ctor_get(x_4, 0); +lean_inc(x_5); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 1); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l_IO_appDir(x_6); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = l_Lean_determineLakePath___lambda__1___closed__2; +x_11 = l_System_FilePath_join(x_9, x_10); +lean_ctor_set(x_7, 0, x_11); +return x_7; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_7, 0); +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_inc(x_12); +lean_dec(x_7); +x_14 = l_Lean_determineLakePath___lambda__1___closed__2; +x_15 = l_System_FilePath_join(x_12, x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_7); +if (x_17 == 0) +{ +return x_7; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_7, 0); +x_19 = lean_ctor_get(x_7, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_7); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_4); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_22 = lean_ctor_get(x_4, 0); +lean_dec(x_22); +x_23 = lean_ctor_get(x_5, 0); +lean_inc(x_23); +lean_dec(x_5); +x_24 = l_Lean_determineLakePath___lambda__1___closed__3; +x_25 = l_System_FilePath_join(x_23, x_24); +x_26 = l_Lean_determineLakePath___lambda__1___closed__2; +x_27 = l_System_FilePath_join(x_25, x_26); +lean_ctor_set(x_4, 0, x_27); +return x_4; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_28 = lean_ctor_get(x_4, 1); +lean_inc(x_28); +lean_dec(x_4); +x_29 = lean_ctor_get(x_5, 0); +lean_inc(x_29); +lean_dec(x_5); +x_30 = l_Lean_determineLakePath___lambda__1___closed__3; +x_31 = l_System_FilePath_join(x_29, x_30); +x_32 = l_Lean_determineLakePath___lambda__1___closed__2; +x_33 = l_System_FilePath_join(x_31, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_28); +return x_34; +} +} +} +} +static lean_object* _init_l_Lean_determineLakePath___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("LAKE", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_determineLakePath___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_determineLakePath___lambda__1___boxed), 2, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_determineLakePath(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_determineLakePath___closed__1; +x_3 = lean_io_getenv(x_2, x_1); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +x_6 = l_Lean_determineLakePath___closed__2; +x_7 = lean_box(0); +x_8 = lean_apply_2(x_6, x_7, x_5); +return x_8; +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_3); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_3, 0); +lean_dec(x_10); +x_11 = lean_ctor_get(x_4, 0); +lean_inc(x_11); +lean_dec(x_4); +lean_ctor_set(x_3, 0, x_11); +return x_3; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_dec(x_3); +x_13 = lean_ctor_get(x_4, 0); +lean_inc(x_13); +lean_dec(x_4); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_determineLakePath___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_determineLakePath___lambda__1(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Util_LakePath(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_determineLakePath___lambda__1___closed__1 = _init_l_Lean_determineLakePath___lambda__1___closed__1(); +lean_mark_persistent(l_Lean_determineLakePath___lambda__1___closed__1); +l_Lean_determineLakePath___lambda__1___closed__2 = _init_l_Lean_determineLakePath___lambda__1___closed__2(); +lean_mark_persistent(l_Lean_determineLakePath___lambda__1___closed__2); +l_Lean_determineLakePath___lambda__1___closed__3 = _init_l_Lean_determineLakePath___lambda__1___closed__3(); +lean_mark_persistent(l_Lean_determineLakePath___lambda__1___closed__3); +l_Lean_determineLakePath___closed__1 = _init_l_Lean_determineLakePath___closed__1(); +lean_mark_persistent(l_Lean_determineLakePath___closed__1); +l_Lean_determineLakePath___closed__2 = _init_l_Lean_determineLakePath___closed__2(); +lean_mark_persistent(l_Lean_determineLakePath___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Util/LeanOptions.c b/stage0/stdlib/Lean/Util/LeanOptions.c new file mode 100644 index 000000000000..09d9d7589e65 --- /dev/null +++ b/stage0/stdlib/Lean/Util/LeanOptions.c @@ -0,0 +1,4559 @@ +// Lean compiler output +// Module: Lean.Util.LeanOptions +// Imports: Init Lean.Util.Paths +#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_JsonNumber_fromNat(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____boxed(lean_object*, lean_object*); +lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__6(lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__2; +static lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__1; +static lean_object* l_Lean_instFromJsonLeanOptionValue___closed__1; +static lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__7; +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_LeanOptions_toOptions___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBMap_toList___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__1(lean_object*); +static lean_object* l_Lean_instInhabitedLeanOptionValue___closed__2; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__17; +LEAN_EXPORT lean_object* l_Lean_instReprLeanOptionValue; +lean_object* l_String_quote(lean_object*); +lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_asCliFlagValue(lean_object*); +uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__9; +LEAN_EXPORT lean_object* l_Lean_LeanOptions_fromOptions_x3f(lean_object*); +static lean_object* l_Lean_instFromJsonLeanOptions___closed__2; +static lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__8; +static lean_object* l_Lean_instValueLeanOptionValue___closed__1; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__25; +static lean_object* l_Lean_instValueLeanOptionValue___closed__3; +LEAN_EXPORT lean_object* l_Lean_instFromJsonLeanOptionValue___boxed(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__3; +LEAN_EXPORT lean_object* l_Lean_instCoeBoolLeanOptionValue(uint8_t); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__8; +lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__9; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__19; +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonLeanOptions___spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__13; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__11; +static lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__7; +uint8_t l_Lean_Name_cmp(lean_object*, lean_object*); +static lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__5; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__15; +LEAN_EXPORT lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instToJsonLeanOptionValue(lean_object*); +lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); +lean_object* lean_nat_to_int(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__11; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__1; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__14; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__13; +static lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__3; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__2; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__4; +LEAN_EXPORT lean_object* l_Lean_LeanOptions_toOptions(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__7; +static lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__6; +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_toDataValue(lean_object*); +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5(lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__7; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__23; +LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3(lean_object*, lean_object*); +static lean_object* l_Lean_instValueLeanOptionValue___closed__2; +static lean_object* l_Lean_instFromJsonLeanOptionValue___closed__2; +LEAN_EXPORT lean_object* l_Lean_instCoeBoolLeanOptionValue___boxed(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__3; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__12; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__21; +LEAN_EXPORT lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615_(lean_object*, lean_object*); +static lean_object* l_Lean_instInhabitedLeanOptionValue___closed__1; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__6; +LEAN_EXPORT lean_object* l_Lean_instCoeStringLeanOptionValue(lean_object*); +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_ofDataValue_x3f(lean_object*); +static lean_object* l_Lean_LeanOptionValue_asCliFlagValue___closed__1; +static lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__6; +LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__2___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_instFromJsonLeanOptionValue___closed__3; +LEAN_EXPORT lean_object* l_Lean_instInhabitedLeanOptionValue; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__6; +lean_object* lean_nat_abs(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__18; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__15; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__8; +static lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__1; +static lean_object* l_Lean_instFromJsonLeanOptions___closed__1; +lean_object* lean_string_length(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__14; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__24; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__12; +LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_instToJsonLeanOptions___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__16; +LEAN_EXPORT lean_object* l_Lean_instReprLeanOptions; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__4; +LEAN_EXPORT lean_object* l_Lean_instInhabitedLeanOptions; +static lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__2; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__10; +static lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__4; +static lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__4; +lean_object* l_Std_Format_joinSep___at_Prod_repr___spec__1(lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__5; +lean_object* l_String_toName(lean_object*); +lean_object* l_Repr_addAppParen(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_toDataValue___boxed(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__5; +uint8_t lean_int_dec_lt(lean_object*, lean_object*); +static lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__3; +LEAN_EXPORT lean_object* l_Lean_instCoeNatLeanOptionValue(lean_object*); +static lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__8; +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__4(lean_object*); +lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_LeanOptions_fromOptions_x3f___spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instFromJsonLeanOptionValue(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__22; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__5; +LEAN_EXPORT lean_object* l_Lean_instValueLeanOptionValue; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__1; +LEAN_EXPORT lean_object* l_Lean_instFromJsonLeanOptions(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41_(lean_object*, lean_object*); +extern lean_object* l_Lean_KVMap_empty; +lean_object* lean_string_append(lean_object*, lean_object*); +static lean_object* l_Lean_instReprLeanOptions___closed__1; +static lean_object* l_Lean_instReprLeanOptionValue___closed__1; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__7(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__2(lean_object*, lean_object*); +lean_object* l_Lean_RBNode_insert___at_Lean_Json_mkObj___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__9; +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__10; +LEAN_EXPORT lean_object* l_Lean_instToJsonLeanOptions(lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__2; +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_ofDataValue_x3f___boxed(lean_object*); +lean_object* l_Nat_repr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_LeanOptions_fromOptions_x3f___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__20; +static lean_object* _init_l_Lean_instInhabitedLeanOptionValue___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +static lean_object* _init_l_Lean_instInhabitedLeanOptionValue___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_instInhabitedLeanOptionValue___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_instInhabitedLeanOptionValue() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_instInhabitedLeanOptionValue___closed__2; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.LeanOptionValue.ofString", 29); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__2; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.LeanOptionValue.ofBool", 27); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__6; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__7; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("false", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__9; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__8; +x_2 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__10; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__4; +x_2 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__11; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__13() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__12; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("true", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__14; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__8; +x_2 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__15; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__4; +x_2 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__16; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__18() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__17; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__5; +x_2 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__11; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__20() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__19; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__5; +x_2 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__16; +x_3 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__22() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__21; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.LeanOptionValue.ofNat", 26); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__23; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__24; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41_(lean_object* x_1, lean_object* x_2) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_unsigned_to_nat(1024u); +x_5 = lean_nat_dec_le(x_4, x_2); +x_6 = l_String_quote(x_3); +lean_dec(x_3); +x_7 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__3; +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +if (x_5 == 0) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_10 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__4; +x_11 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = 0; +x_13 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*1, x_12); +x_14 = l_Repr_addAppParen(x_13, x_2); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; +x_15 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__5; +x_16 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_9); +x_17 = 0; +x_18 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set_uint8(x_18, sizeof(void*)*1, x_17); +x_19 = l_Repr_addAppParen(x_18, x_2); +return x_19; +} +} +case 1: +{ +uint8_t x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get_uint8(x_1, 0); +lean_dec(x_1); +x_21 = lean_unsigned_to_nat(1024u); +x_22 = lean_nat_dec_le(x_21, x_2); +if (x_22 == 0) +{ +if (x_20 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__13; +x_24 = l_Repr_addAppParen(x_23, x_2); +return x_24; +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__18; +x_26 = l_Repr_addAppParen(x_25, x_2); +return x_26; +} +} +else +{ +if (x_20 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__20; +x_28 = l_Repr_addAppParen(x_27, x_2); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__22; +x_30 = l_Repr_addAppParen(x_29, x_2); +return x_30; +} +} +} +default: +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_31 = lean_ctor_get(x_1, 0); +lean_inc(x_31); +lean_dec(x_1); +x_32 = lean_unsigned_to_nat(1024u); +x_33 = lean_nat_dec_le(x_32, x_2); +x_34 = l_Nat_repr(x_31); +x_35 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__25; +x_37 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +if (x_33 == 0) +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; +x_38 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__4; +x_39 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +x_40 = 0; +x_41 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set_uint8(x_41, sizeof(void*)*1, x_40); +x_42 = l_Repr_addAppParen(x_41, x_2); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; +x_43 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__5; +x_44 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_37); +x_45 = 0; +x_46 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set_uint8(x_46, sizeof(void*)*1, x_45); +x_47 = l_Repr_addAppParen(x_46, x_2); +return x_47; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41_(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_instReprLeanOptionValue___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_instReprLeanOptionValue() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_instReprLeanOptionValue___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_ofDataValue_x3f(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_3, 0, x_2); +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +case 1: +{ +uint8_t x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get_uint8(x_1, 0); +x_6 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_6, 0, x_5); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +case 3: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +default: +{ +lean_object* x_11; +x_11 = lean_box(0); +return x_11; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_ofDataValue_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_LeanOptionValue_ofDataValue_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_toDataValue(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +case 1: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_ctor_get_uint8(x_1, 0); +x_5 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_5, 0, x_4); +return x_5; +} +default: +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_toDataValue___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_LeanOptionValue_toDataValue(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_instValueLeanOptionValue___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_LeanOptionValue_toDataValue___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_instValueLeanOptionValue___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_LeanOptionValue_ofDataValue_x3f___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_instValueLeanOptionValue___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instValueLeanOptionValue___closed__1; +x_2 = l_Lean_instValueLeanOptionValue___closed__2; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_instValueLeanOptionValue() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_instValueLeanOptionValue___closed__3; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_instCoeStringLeanOptionValue(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_instCoeBoolLeanOptionValue(uint8_t x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_instCoeBoolLeanOptionValue___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l_Lean_instCoeBoolLeanOptionValue(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_instCoeNatLeanOptionValue(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_instFromJsonLeanOptionValue___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("invalid LeanOptionValue type", 28); +return x_1; +} +} +static lean_object* _init_l_Lean_instFromJsonLeanOptionValue___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_instFromJsonLeanOptionValue___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_instFromJsonLeanOptionValue___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_instFromJsonLeanOptionValue(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_ctor_get_uint8(x_1, 0); +x_3 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_3, 0, x_2); +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +case 2: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_5, 0); +x_7 = lean_ctor_get(x_5, 1); +x_8 = l_Lean_instFromJsonLeanOptionValue___closed__3; +x_9 = lean_int_dec_lt(x_6, x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_nat_abs(x_6); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_eq(x_7, x_11); +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_10); +x_13 = l_Lean_instFromJsonLeanOptionValue___closed__2; +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_14, 0, x_10); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +else +{ +lean_object* x_16; +x_16 = l_Lean_instFromJsonLeanOptionValue___closed__2; +return x_16; +} +} +case 3: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +default: +{ +lean_object* x_20; +x_20 = l_Lean_instFromJsonLeanOptionValue___closed__2; +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_instFromJsonLeanOptionValue___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_instFromJsonLeanOptionValue(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_instToJsonLeanOptionValue(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +case 1: +{ +uint8_t x_4; lean_object* x_5; +x_4 = lean_ctor_get_uint8(x_1, 0); +lean_dec(x_1); +x_5 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_5, 0, x_4); +return x_5; +} +default: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = l_Lean_JsonNumber_fromNat(x_6); +x_8 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +} +} +static lean_object* _init_l_Lean_LeanOptionValue_asCliFlagValue___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\"", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_LeanOptionValue_asCliFlagValue(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = l_Lean_LeanOptionValue_asCliFlagValue___closed__1; +x_4 = lean_string_append(x_3, x_2); +lean_dec(x_2); +x_5 = lean_string_append(x_4, x_3); +return x_5; +} +case 1: +{ +uint8_t x_6; +x_6 = lean_ctor_get_uint8(x_1, 0); +lean_dec(x_1); +if (x_6 == 0) +{ +lean_object* x_7; +x_7 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__9; +return x_7; +} +else +{ +lean_object* x_8; +x_8 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__14; +return x_8; +} +} +default: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = l_Nat_repr(x_9); +return x_10; +} +} +} +} +static lean_object* _init_l_Lean_instInhabitedLeanOptions() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_ctor_get(x_2, 3); +x_7 = l_Lean_RBNode_revFold___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__2(x_1, x_6); +lean_inc(x_5); +lean_inc(x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_4); +lean_ctor_set(x_8, 1, x_5); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +x_1 = x_9; +x_2 = x_3; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBMap_toList___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = l_Lean_RBNode_revFold___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__2(x_2, x_1); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(",", 1); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__2; +x_2 = lean_box(1); +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(", 1); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__4; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__5; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__4; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(")", 1); +return x_1; +} +} +static lean_object* _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__8; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_unsigned_to_nat(0u); +x_6 = l_Lean_Name_reprPrec(x_3, x_5); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41_(x_4, x_5); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = l_List_reverse___rarg(x_10); +x_12 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__3; +x_13 = l_Std_Format_joinSep___at_Prod_repr___spec__1(x_11, x_12); +x_14 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__7; +x_15 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__9; +x_17 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__6; +x_19 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +x_20 = 0; +x_21 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set_uint8(x_21, sizeof(void*)*1, x_20); +return x_21; +} +} +LEAN_EXPORT lean_object* l_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec(x_1); +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_3, 1); +lean_inc(x_5); +lean_dec(x_3); +lean_inc(x_1); +x_6 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_1); +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5(x_4, x_7); +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_8); +x_2 = x_9; +x_3 = x_5; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +lean_dec(x_2); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_unsigned_to_nat(0u); +x_7 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5(x_5, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5(x_8, x_9); +x_11 = l_List_foldl___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__7(x_2, x_10, x_4); +return x_11; +} +} +} +} +static lean_object* _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("[]", 2); +return x_1; +} +} +static lean_object* _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("[", 1); +return x_1; +} +} +static lean_object* _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__3; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__4; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__3; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("]", 1); +return x_1; +} +} +static lean_object* _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__7; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__2; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_4 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__3; +x_5 = l_Std_Format_joinSep___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__6(x_1, x_4); +x_6 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__6; +x_7 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__8; +x_9 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +x_10 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__5; +x_11 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = 0; +x_13 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*1, x_12); +return x_13; +} +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("values", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__2; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" := ", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__4; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__3; +x_2 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__5; +x_3 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(10u); +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.rbmapOf ", 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__8; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("{ ", 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__10; +x_2 = lean_string_length(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__11; +x_2 = lean_nat_to_int(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__10; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" }", 2); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__14; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615_(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_3 = l_Lean_RBMap_toList___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__1(x_1); +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3(x_3, x_4); +x_6 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__9; +x_7 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_Repr_addAppParen(x_7, x_4); +x_9 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__7; +x_10 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = 0; +x_12 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_11); +x_13 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__6; +x_14 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__13; +x_16 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__15; +x_18 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__12; +x_20 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set_uint8(x_21, sizeof(void*)*1, x_11); +return x_21; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_RBNode_revFold___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615_(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_instReprLeanOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_instReprLeanOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_instReprLeanOptions___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_LeanOptions_toOptions___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 3); +lean_inc(x_7); +lean_dec(x_1); +x_8 = l_Lean_RBNode_forIn_visit___at_Lean_LeanOptions_toOptions___spec__1(x_4, x_2); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l_Lean_LeanOptionValue_toDataValue(x_6); +lean_dec(x_6); +x_11 = l_Lean_KVMap_insertCore(x_9, x_5, x_10); +x_1 = x_7; +x_2 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_LeanOptions_toOptions(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_KVMap_empty; +x_3 = l_Lean_RBNode_forIn_visit___at_Lean_LeanOptions_toOptions___spec__1(x_1, x_2); +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_box(0); +x_5 = 0; +x_6 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get(x_1, 3); +x_13 = l_Lean_Name_cmp(x_2, x_10); +switch (x_13) { +case 0: +{ +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_9, x_2, x_3); +x_15 = 0; +lean_ctor_set(x_1, 0, x_14); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_15); +return x_1; +} +case 1: +{ +uint8_t x_16; +lean_dec(x_11); +lean_dec(x_10); +x_16 = 0; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_16); +return x_1; +} +default: +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_12, x_2, x_3); +x_18 = 0; +lean_ctor_set(x_1, 3, x_17); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_18); +return x_1; +} +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_1, 0); +x_20 = lean_ctor_get(x_1, 1); +x_21 = lean_ctor_get(x_1, 2); +x_22 = lean_ctor_get(x_1, 3); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_1); +x_23 = l_Lean_Name_cmp(x_2, x_20); +switch (x_23) { +case 0: +{ +lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_24 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_19, x_2, x_3); +x_25 = 0; +x_26 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_20); +lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_22); +lean_ctor_set_uint8(x_26, sizeof(void*)*4, x_25); +return x_26; +} +case 1: +{ +uint8_t x_27; lean_object* x_28; +lean_dec(x_21); +lean_dec(x_20); +x_27 = 0; +x_28 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_28, 0, x_19); +lean_ctor_set(x_28, 1, x_2); +lean_ctor_set(x_28, 2, x_3); +lean_ctor_set(x_28, 3, x_22); +lean_ctor_set_uint8(x_28, sizeof(void*)*4, x_27); +return x_28; +} +default: +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_22, x_2, x_3); +x_30 = 0; +x_31 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_31, 0, x_19); +lean_ctor_set(x_31, 1, x_20); +lean_ctor_set(x_31, 2, x_21); +lean_ctor_set(x_31, 3, x_29); +lean_ctor_set_uint8(x_31, sizeof(void*)*4, x_30); +return x_31; +} +} +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_1); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +x_33 = lean_ctor_get(x_1, 0); +x_34 = lean_ctor_get(x_1, 1); +x_35 = lean_ctor_get(x_1, 2); +x_36 = lean_ctor_get(x_1, 3); +x_37 = l_Lean_Name_cmp(x_2, x_34); +switch (x_37) { +case 0: +{ +lean_object* x_38; uint8_t x_39; +x_38 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_33, x_2, x_3); +x_39 = lean_ctor_get_uint8(x_38, sizeof(void*)*4); +if (x_39 == 0) +{ +lean_object* x_40; +x_40 = lean_ctor_get(x_38, 0); +lean_inc(x_40); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_38, 3); +lean_inc(x_41); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_38); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_38, 3); +lean_dec(x_43); +x_44 = lean_ctor_get(x_38, 0); +lean_dec(x_44); +lean_ctor_set(x_38, 0, x_41); +x_45 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_45); +return x_1; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_38, 1); +x_47 = lean_ctor_get(x_38, 2); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_38); +x_48 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_47); +lean_ctor_set(x_48, 3, x_41); +lean_ctor_set_uint8(x_48, sizeof(void*)*4, x_39); +x_49 = 1; +lean_ctor_set(x_1, 0, x_48); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_49); +return x_1; +} +} +else +{ +uint8_t x_50; +x_50 = lean_ctor_get_uint8(x_41, sizeof(void*)*4); +if (x_50 == 0) +{ +uint8_t x_51; +x_51 = !lean_is_exclusive(x_38); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_38, 1); +x_53 = lean_ctor_get(x_38, 2); +x_54 = lean_ctor_get(x_38, 3); +lean_dec(x_54); +x_55 = lean_ctor_get(x_38, 0); +lean_dec(x_55); +x_56 = !lean_is_exclusive(x_41); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; uint8_t x_62; +x_57 = lean_ctor_get(x_41, 0); +x_58 = lean_ctor_get(x_41, 1); +x_59 = lean_ctor_get(x_41, 2); +x_60 = lean_ctor_get(x_41, 3); +x_61 = 1; +lean_ctor_set(x_41, 3, x_57); +lean_ctor_set(x_41, 2, x_53); +lean_ctor_set(x_41, 1, x_52); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_61); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_60); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_61); +x_62 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_59); +lean_ctor_set(x_1, 1, x_58); +lean_ctor_set(x_1, 0, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_62); +return x_1; +} +else +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; uint8_t x_69; +x_63 = lean_ctor_get(x_41, 0); +x_64 = lean_ctor_get(x_41, 1); +x_65 = lean_ctor_get(x_41, 2); +x_66 = lean_ctor_get(x_41, 3); +lean_inc(x_66); +lean_inc(x_65); +lean_inc(x_64); +lean_inc(x_63); +lean_dec(x_41); +x_67 = 1; +x_68 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_68, 0, x_40); +lean_ctor_set(x_68, 1, x_52); +lean_ctor_set(x_68, 2, x_53); +lean_ctor_set(x_68, 3, x_63); +lean_ctor_set_uint8(x_68, sizeof(void*)*4, x_67); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_66); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_67); +x_69 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_65); +lean_ctor_set(x_1, 1, x_64); +lean_ctor_set(x_1, 0, x_68); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_69); +return x_1; +} +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_70 = lean_ctor_get(x_38, 1); +x_71 = lean_ctor_get(x_38, 2); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_38); +x_72 = lean_ctor_get(x_41, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_41, 1); +lean_inc(x_73); +x_74 = lean_ctor_get(x_41, 2); +lean_inc(x_74); +x_75 = lean_ctor_get(x_41, 3); +lean_inc(x_75); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + lean_ctor_release(x_41, 2); + lean_ctor_release(x_41, 3); + x_76 = x_41; +} else { + lean_dec_ref(x_41); + x_76 = lean_box(0); +} +x_77 = 1; +if (lean_is_scalar(x_76)) { + x_78 = lean_alloc_ctor(1, 4, 1); +} else { + x_78 = x_76; +} +lean_ctor_set(x_78, 0, x_40); +lean_ctor_set(x_78, 1, x_70); +lean_ctor_set(x_78, 2, x_71); +lean_ctor_set(x_78, 3, x_72); +lean_ctor_set_uint8(x_78, sizeof(void*)*4, x_77); +x_79 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_79, 0, x_75); +lean_ctor_set(x_79, 1, x_34); +lean_ctor_set(x_79, 2, x_35); +lean_ctor_set(x_79, 3, x_36); +lean_ctor_set_uint8(x_79, sizeof(void*)*4, x_77); +x_80 = 0; +lean_ctor_set(x_1, 3, x_79); +lean_ctor_set(x_1, 2, x_74); +lean_ctor_set(x_1, 1, x_73); +lean_ctor_set(x_1, 0, x_78); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_80); +return x_1; +} +} +else +{ +uint8_t x_81; +lean_free_object(x_1); +x_81 = !lean_is_exclusive(x_41); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_82 = lean_ctor_get(x_41, 3); +lean_dec(x_82); +x_83 = lean_ctor_get(x_41, 2); +lean_dec(x_83); +x_84 = lean_ctor_get(x_41, 1); +lean_dec(x_84); +x_85 = lean_ctor_get(x_41, 0); +lean_dec(x_85); +x_86 = 1; +lean_ctor_set(x_41, 3, x_36); +lean_ctor_set(x_41, 2, x_35); +lean_ctor_set(x_41, 1, x_34); +lean_ctor_set(x_41, 0, x_38); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_86); +return x_41; +} +else +{ +uint8_t x_87; lean_object* x_88; +lean_dec(x_41); +x_87 = 1; +x_88 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_88, 0, x_38); +lean_ctor_set(x_88, 1, x_34); +lean_ctor_set(x_88, 2, x_35); +lean_ctor_set(x_88, 3, x_36); +lean_ctor_set_uint8(x_88, sizeof(void*)*4, x_87); +return x_88; +} +} +} +} +else +{ +uint8_t x_89; +x_89 = lean_ctor_get_uint8(x_40, sizeof(void*)*4); +if (x_89 == 0) +{ +uint8_t x_90; +x_90 = !lean_is_exclusive(x_38); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_91 = lean_ctor_get(x_38, 1); +x_92 = lean_ctor_get(x_38, 2); +x_93 = lean_ctor_get(x_38, 3); +x_94 = lean_ctor_get(x_38, 0); +lean_dec(x_94); +x_95 = !lean_is_exclusive(x_40); +if (x_95 == 0) +{ +uint8_t x_96; uint8_t x_97; +x_96 = 1; +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_96); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_93); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_96); +x_97 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_92); +lean_ctor_set(x_1, 1, x_91); +lean_ctor_set(x_1, 0, x_40); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_97); +return x_1; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; uint8_t x_104; +x_98 = lean_ctor_get(x_40, 0); +x_99 = lean_ctor_get(x_40, 1); +x_100 = lean_ctor_get(x_40, 2); +x_101 = lean_ctor_get(x_40, 3); +lean_inc(x_101); +lean_inc(x_100); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_40); +x_102 = 1; +x_103 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_103, 0, x_98); +lean_ctor_set(x_103, 1, x_99); +lean_ctor_set(x_103, 2, x_100); +lean_ctor_set(x_103, 3, x_101); +lean_ctor_set_uint8(x_103, sizeof(void*)*4, x_102); +lean_ctor_set(x_38, 3, x_36); +lean_ctor_set(x_38, 2, x_35); +lean_ctor_set(x_38, 1, x_34); +lean_ctor_set(x_38, 0, x_93); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_102); +x_104 = 0; +lean_ctor_set(x_1, 3, x_38); +lean_ctor_set(x_1, 2, x_92); +lean_ctor_set(x_1, 1, x_91); +lean_ctor_set(x_1, 0, x_103); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_104); +return x_1; +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_105 = lean_ctor_get(x_38, 1); +x_106 = lean_ctor_get(x_38, 2); +x_107 = lean_ctor_get(x_38, 3); +lean_inc(x_107); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_38); +x_108 = lean_ctor_get(x_40, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_40, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_40, 2); +lean_inc(x_110); +x_111 = lean_ctor_get(x_40, 3); +lean_inc(x_111); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_112 = x_40; +} else { + lean_dec_ref(x_40); + x_112 = lean_box(0); +} +x_113 = 1; +if (lean_is_scalar(x_112)) { + x_114 = lean_alloc_ctor(1, 4, 1); +} else { + x_114 = x_112; +} +lean_ctor_set(x_114, 0, x_108); +lean_ctor_set(x_114, 1, x_109); +lean_ctor_set(x_114, 2, x_110); +lean_ctor_set(x_114, 3, x_111); +lean_ctor_set_uint8(x_114, sizeof(void*)*4, x_113); +x_115 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_115, 0, x_107); +lean_ctor_set(x_115, 1, x_34); +lean_ctor_set(x_115, 2, x_35); +lean_ctor_set(x_115, 3, x_36); +lean_ctor_set_uint8(x_115, sizeof(void*)*4, x_113); +x_116 = 0; +lean_ctor_set(x_1, 3, x_115); +lean_ctor_set(x_1, 2, x_106); +lean_ctor_set(x_1, 1, x_105); +lean_ctor_set(x_1, 0, x_114); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_116); +return x_1; +} +} +else +{ +lean_object* x_117; +x_117 = lean_ctor_get(x_38, 3); +lean_inc(x_117); +if (lean_obj_tag(x_117) == 0) +{ +uint8_t x_118; +lean_free_object(x_1); +x_118 = !lean_is_exclusive(x_40); +if (x_118 == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_119 = lean_ctor_get(x_40, 3); +lean_dec(x_119); +x_120 = lean_ctor_get(x_40, 2); +lean_dec(x_120); +x_121 = lean_ctor_get(x_40, 1); +lean_dec(x_121); +x_122 = lean_ctor_get(x_40, 0); +lean_dec(x_122); +x_123 = 1; +lean_ctor_set(x_40, 3, x_36); +lean_ctor_set(x_40, 2, x_35); +lean_ctor_set(x_40, 1, x_34); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_123); +return x_40; +} +else +{ +uint8_t x_124; lean_object* x_125; +lean_dec(x_40); +x_124 = 1; +x_125 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_125, 0, x_38); +lean_ctor_set(x_125, 1, x_34); +lean_ctor_set(x_125, 2, x_35); +lean_ctor_set(x_125, 3, x_36); +lean_ctor_set_uint8(x_125, sizeof(void*)*4, x_124); +return x_125; +} +} +else +{ +uint8_t x_126; +x_126 = lean_ctor_get_uint8(x_117, sizeof(void*)*4); +if (x_126 == 0) +{ +uint8_t x_127; +lean_free_object(x_1); +x_127 = !lean_is_exclusive(x_38); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_128 = lean_ctor_get(x_38, 1); +x_129 = lean_ctor_get(x_38, 2); +x_130 = lean_ctor_get(x_38, 3); +lean_dec(x_130); +x_131 = lean_ctor_get(x_38, 0); +lean_dec(x_131); +x_132 = !lean_is_exclusive(x_117); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; uint8_t x_138; +x_133 = lean_ctor_get(x_117, 0); +x_134 = lean_ctor_get(x_117, 1); +x_135 = lean_ctor_get(x_117, 2); +x_136 = lean_ctor_get(x_117, 3); +x_137 = 1; +lean_inc(x_40); +lean_ctor_set(x_117, 3, x_133); +lean_ctor_set(x_117, 2, x_129); +lean_ctor_set(x_117, 1, x_128); +lean_ctor_set(x_117, 0, x_40); +x_138 = !lean_is_exclusive(x_40); +if (x_138 == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; +x_139 = lean_ctor_get(x_40, 3); +lean_dec(x_139); +x_140 = lean_ctor_get(x_40, 2); +lean_dec(x_140); +x_141 = lean_ctor_get(x_40, 1); +lean_dec(x_141); +x_142 = lean_ctor_get(x_40, 0); +lean_dec(x_142); +lean_ctor_set_uint8(x_117, sizeof(void*)*4, x_137); +lean_ctor_set(x_40, 3, x_36); +lean_ctor_set(x_40, 2, x_35); +lean_ctor_set(x_40, 1, x_34); +lean_ctor_set(x_40, 0, x_136); +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_137); +x_143 = 0; +lean_ctor_set(x_38, 3, x_40); +lean_ctor_set(x_38, 2, x_135); +lean_ctor_set(x_38, 1, x_134); +lean_ctor_set(x_38, 0, x_117); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_143); +return x_38; +} +else +{ +lean_object* x_144; uint8_t x_145; +lean_dec(x_40); +lean_ctor_set_uint8(x_117, sizeof(void*)*4, x_137); +x_144 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_144, 0, x_136); +lean_ctor_set(x_144, 1, x_34); +lean_ctor_set(x_144, 2, x_35); +lean_ctor_set(x_144, 3, x_36); +lean_ctor_set_uint8(x_144, sizeof(void*)*4, x_137); +x_145 = 0; +lean_ctor_set(x_38, 3, x_144); +lean_ctor_set(x_38, 2, x_135); +lean_ctor_set(x_38, 1, x_134); +lean_ctor_set(x_38, 0, x_117); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_145); +return x_38; +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; +x_146 = lean_ctor_get(x_117, 0); +x_147 = lean_ctor_get(x_117, 1); +x_148 = lean_ctor_get(x_117, 2); +x_149 = lean_ctor_get(x_117, 3); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_inc(x_146); +lean_dec(x_117); +x_150 = 1; +lean_inc(x_40); +x_151 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_151, 0, x_40); +lean_ctor_set(x_151, 1, x_128); +lean_ctor_set(x_151, 2, x_129); +lean_ctor_set(x_151, 3, x_146); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_152 = x_40; +} else { + lean_dec_ref(x_40); + x_152 = lean_box(0); +} +lean_ctor_set_uint8(x_151, sizeof(void*)*4, x_150); +if (lean_is_scalar(x_152)) { + x_153 = lean_alloc_ctor(1, 4, 1); +} else { + x_153 = x_152; +} +lean_ctor_set(x_153, 0, x_149); +lean_ctor_set(x_153, 1, x_34); +lean_ctor_set(x_153, 2, x_35); +lean_ctor_set(x_153, 3, x_36); +lean_ctor_set_uint8(x_153, sizeof(void*)*4, x_150); +x_154 = 0; +lean_ctor_set(x_38, 3, x_153); +lean_ctor_set(x_38, 2, x_148); +lean_ctor_set(x_38, 1, x_147); +lean_ctor_set(x_38, 0, x_151); +lean_ctor_set_uint8(x_38, sizeof(void*)*4, x_154); +return x_38; +} +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; lean_object* x_167; +x_155 = lean_ctor_get(x_38, 1); +x_156 = lean_ctor_get(x_38, 2); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_38); +x_157 = lean_ctor_get(x_117, 0); +lean_inc(x_157); +x_158 = lean_ctor_get(x_117, 1); +lean_inc(x_158); +x_159 = lean_ctor_get(x_117, 2); +lean_inc(x_159); +x_160 = lean_ctor_get(x_117, 3); +lean_inc(x_160); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + lean_ctor_release(x_117, 2); + lean_ctor_release(x_117, 3); + x_161 = x_117; +} else { + lean_dec_ref(x_117); + x_161 = lean_box(0); +} +x_162 = 1; +lean_inc(x_40); +if (lean_is_scalar(x_161)) { + x_163 = lean_alloc_ctor(1, 4, 1); +} else { + x_163 = x_161; +} +lean_ctor_set(x_163, 0, x_40); +lean_ctor_set(x_163, 1, x_155); +lean_ctor_set(x_163, 2, x_156); +lean_ctor_set(x_163, 3, x_157); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_164 = x_40; +} else { + lean_dec_ref(x_40); + x_164 = lean_box(0); +} +lean_ctor_set_uint8(x_163, sizeof(void*)*4, x_162); +if (lean_is_scalar(x_164)) { + x_165 = lean_alloc_ctor(1, 4, 1); +} else { + x_165 = x_164; +} +lean_ctor_set(x_165, 0, x_160); +lean_ctor_set(x_165, 1, x_34); +lean_ctor_set(x_165, 2, x_35); +lean_ctor_set(x_165, 3, x_36); +lean_ctor_set_uint8(x_165, sizeof(void*)*4, x_162); +x_166 = 0; +x_167 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_167, 0, x_163); +lean_ctor_set(x_167, 1, x_158); +lean_ctor_set(x_167, 2, x_159); +lean_ctor_set(x_167, 3, x_165); +lean_ctor_set_uint8(x_167, sizeof(void*)*4, x_166); +return x_167; +} +} +else +{ +uint8_t x_168; +x_168 = !lean_is_exclusive(x_38); +if (x_168 == 0) +{ +lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_169 = lean_ctor_get(x_38, 3); +lean_dec(x_169); +x_170 = lean_ctor_get(x_38, 0); +lean_dec(x_170); +x_171 = !lean_is_exclusive(x_40); +if (x_171 == 0) +{ +uint8_t x_172; +lean_ctor_set_uint8(x_40, sizeof(void*)*4, x_126); +x_172 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_172); +return x_1; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_173 = lean_ctor_get(x_40, 0); +x_174 = lean_ctor_get(x_40, 1); +x_175 = lean_ctor_get(x_40, 2); +x_176 = lean_ctor_get(x_40, 3); +lean_inc(x_176); +lean_inc(x_175); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_40); +x_177 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_177, 0, x_173); +lean_ctor_set(x_177, 1, x_174); +lean_ctor_set(x_177, 2, x_175); +lean_ctor_set(x_177, 3, x_176); +lean_ctor_set_uint8(x_177, sizeof(void*)*4, x_126); +lean_ctor_set(x_38, 0, x_177); +x_178 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_178); +return x_1; +} +} +else +{ +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_179 = lean_ctor_get(x_38, 1); +x_180 = lean_ctor_get(x_38, 2); +lean_inc(x_180); +lean_inc(x_179); +lean_dec(x_38); +x_181 = lean_ctor_get(x_40, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_40, 1); +lean_inc(x_182); +x_183 = lean_ctor_get(x_40, 2); +lean_inc(x_183); +x_184 = lean_ctor_get(x_40, 3); +lean_inc(x_184); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + lean_ctor_release(x_40, 2); + lean_ctor_release(x_40, 3); + x_185 = x_40; +} else { + lean_dec_ref(x_40); + x_185 = lean_box(0); +} +if (lean_is_scalar(x_185)) { + x_186 = lean_alloc_ctor(1, 4, 1); +} else { + x_186 = x_185; +} +lean_ctor_set(x_186, 0, x_181); +lean_ctor_set(x_186, 1, x_182); +lean_ctor_set(x_186, 2, x_183); +lean_ctor_set(x_186, 3, x_184); +lean_ctor_set_uint8(x_186, sizeof(void*)*4, x_126); +x_187 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_179); +lean_ctor_set(x_187, 2, x_180); +lean_ctor_set(x_187, 3, x_117); +lean_ctor_set_uint8(x_187, sizeof(void*)*4, x_39); +x_188 = 1; +lean_ctor_set(x_1, 0, x_187); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_188); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_189; +x_189 = 1; +lean_ctor_set(x_1, 0, x_38); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_189); +return x_1; +} +} +case 1: +{ +uint8_t x_190; +lean_dec(x_35); +lean_dec(x_34); +x_190 = 1; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_190); +return x_1; +} +default: +{ +lean_object* x_191; uint8_t x_192; +x_191 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_36, x_2, x_3); +x_192 = lean_ctor_get_uint8(x_191, sizeof(void*)*4); +if (x_192 == 0) +{ +lean_object* x_193; +x_193 = lean_ctor_get(x_191, 0); +lean_inc(x_193); +if (lean_obj_tag(x_193) == 0) +{ +lean_object* x_194; +x_194 = lean_ctor_get(x_191, 3); +lean_inc(x_194); +if (lean_obj_tag(x_194) == 0) +{ +uint8_t x_195; +x_195 = !lean_is_exclusive(x_191); +if (x_195 == 0) +{ +lean_object* x_196; lean_object* x_197; uint8_t x_198; +x_196 = lean_ctor_get(x_191, 3); +lean_dec(x_196); +x_197 = lean_ctor_get(x_191, 0); +lean_dec(x_197); +lean_ctor_set(x_191, 0, x_194); +x_198 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_198); +return x_1; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; +x_199 = lean_ctor_get(x_191, 1); +x_200 = lean_ctor_get(x_191, 2); +lean_inc(x_200); +lean_inc(x_199); +lean_dec(x_191); +x_201 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_201, 0, x_194); +lean_ctor_set(x_201, 1, x_199); +lean_ctor_set(x_201, 2, x_200); +lean_ctor_set(x_201, 3, x_194); +lean_ctor_set_uint8(x_201, sizeof(void*)*4, x_192); +x_202 = 1; +lean_ctor_set(x_1, 3, x_201); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_202); +return x_1; +} +} +else +{ +uint8_t x_203; +x_203 = lean_ctor_get_uint8(x_194, sizeof(void*)*4); +if (x_203 == 0) +{ +uint8_t x_204; +x_204 = !lean_is_exclusive(x_191); +if (x_204 == 0) +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; uint8_t x_209; +x_205 = lean_ctor_get(x_191, 1); +x_206 = lean_ctor_get(x_191, 2); +x_207 = lean_ctor_get(x_191, 3); +lean_dec(x_207); +x_208 = lean_ctor_get(x_191, 0); +lean_dec(x_208); +x_209 = !lean_is_exclusive(x_194); +if (x_209 == 0) +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; uint8_t x_215; +x_210 = lean_ctor_get(x_194, 0); +x_211 = lean_ctor_get(x_194, 1); +x_212 = lean_ctor_get(x_194, 2); +x_213 = lean_ctor_get(x_194, 3); +x_214 = 1; +lean_ctor_set(x_194, 3, x_193); +lean_ctor_set(x_194, 2, x_35); +lean_ctor_set(x_194, 1, x_34); +lean_ctor_set(x_194, 0, x_33); +lean_ctor_set_uint8(x_194, sizeof(void*)*4, x_214); +lean_ctor_set(x_191, 3, x_213); +lean_ctor_set(x_191, 2, x_212); +lean_ctor_set(x_191, 1, x_211); +lean_ctor_set(x_191, 0, x_210); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_214); +x_215 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_206); +lean_ctor_set(x_1, 1, x_205); +lean_ctor_set(x_1, 0, x_194); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_215); +return x_1; +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; lean_object* x_221; uint8_t x_222; +x_216 = lean_ctor_get(x_194, 0); +x_217 = lean_ctor_get(x_194, 1); +x_218 = lean_ctor_get(x_194, 2); +x_219 = lean_ctor_get(x_194, 3); +lean_inc(x_219); +lean_inc(x_218); +lean_inc(x_217); +lean_inc(x_216); +lean_dec(x_194); +x_220 = 1; +x_221 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_221, 0, x_33); +lean_ctor_set(x_221, 1, x_34); +lean_ctor_set(x_221, 2, x_35); +lean_ctor_set(x_221, 3, x_193); +lean_ctor_set_uint8(x_221, sizeof(void*)*4, x_220); +lean_ctor_set(x_191, 3, x_219); +lean_ctor_set(x_191, 2, x_218); +lean_ctor_set(x_191, 1, x_217); +lean_ctor_set(x_191, 0, x_216); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_220); +x_222 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_206); +lean_ctor_set(x_1, 1, x_205); +lean_ctor_set(x_1, 0, x_221); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_222); +return x_1; +} +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; +x_223 = lean_ctor_get(x_191, 1); +x_224 = lean_ctor_get(x_191, 2); +lean_inc(x_224); +lean_inc(x_223); +lean_dec(x_191); +x_225 = lean_ctor_get(x_194, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_194, 1); +lean_inc(x_226); +x_227 = lean_ctor_get(x_194, 2); +lean_inc(x_227); +x_228 = lean_ctor_get(x_194, 3); +lean_inc(x_228); +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + lean_ctor_release(x_194, 1); + lean_ctor_release(x_194, 2); + lean_ctor_release(x_194, 3); + x_229 = x_194; +} else { + lean_dec_ref(x_194); + x_229 = lean_box(0); +} +x_230 = 1; +if (lean_is_scalar(x_229)) { + x_231 = lean_alloc_ctor(1, 4, 1); +} else { + x_231 = x_229; +} +lean_ctor_set(x_231, 0, x_33); +lean_ctor_set(x_231, 1, x_34); +lean_ctor_set(x_231, 2, x_35); +lean_ctor_set(x_231, 3, x_193); +lean_ctor_set_uint8(x_231, sizeof(void*)*4, x_230); +x_232 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_232, 0, x_225); +lean_ctor_set(x_232, 1, x_226); +lean_ctor_set(x_232, 2, x_227); +lean_ctor_set(x_232, 3, x_228); +lean_ctor_set_uint8(x_232, sizeof(void*)*4, x_230); +x_233 = 0; +lean_ctor_set(x_1, 3, x_232); +lean_ctor_set(x_1, 2, x_224); +lean_ctor_set(x_1, 1, x_223); +lean_ctor_set(x_1, 0, x_231); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_233); +return x_1; +} +} +else +{ +uint8_t x_234; +lean_free_object(x_1); +x_234 = !lean_is_exclusive(x_194); +if (x_234 == 0) +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; uint8_t x_239; +x_235 = lean_ctor_get(x_194, 3); +lean_dec(x_235); +x_236 = lean_ctor_get(x_194, 2); +lean_dec(x_236); +x_237 = lean_ctor_get(x_194, 1); +lean_dec(x_237); +x_238 = lean_ctor_get(x_194, 0); +lean_dec(x_238); +x_239 = 1; +lean_ctor_set(x_194, 3, x_191); +lean_ctor_set(x_194, 2, x_35); +lean_ctor_set(x_194, 1, x_34); +lean_ctor_set(x_194, 0, x_33); +lean_ctor_set_uint8(x_194, sizeof(void*)*4, x_239); +return x_194; +} +else +{ +uint8_t x_240; lean_object* x_241; +lean_dec(x_194); +x_240 = 1; +x_241 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_241, 0, x_33); +lean_ctor_set(x_241, 1, x_34); +lean_ctor_set(x_241, 2, x_35); +lean_ctor_set(x_241, 3, x_191); +lean_ctor_set_uint8(x_241, sizeof(void*)*4, x_240); +return x_241; +} +} +} +} +else +{ +uint8_t x_242; +x_242 = lean_ctor_get_uint8(x_193, sizeof(void*)*4); +if (x_242 == 0) +{ +uint8_t x_243; +x_243 = !lean_is_exclusive(x_191); +if (x_243 == 0) +{ +lean_object* x_244; uint8_t x_245; +x_244 = lean_ctor_get(x_191, 0); +lean_dec(x_244); +x_245 = !lean_is_exclusive(x_193); +if (x_245 == 0) +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; uint8_t x_251; +x_246 = lean_ctor_get(x_193, 0); +x_247 = lean_ctor_get(x_193, 1); +x_248 = lean_ctor_get(x_193, 2); +x_249 = lean_ctor_get(x_193, 3); +x_250 = 1; +lean_ctor_set(x_193, 3, x_246); +lean_ctor_set(x_193, 2, x_35); +lean_ctor_set(x_193, 1, x_34); +lean_ctor_set(x_193, 0, x_33); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_250); +lean_ctor_set(x_191, 0, x_249); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_250); +x_251 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_248); +lean_ctor_set(x_1, 1, x_247); +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_251); +return x_1; +} +else +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_256; lean_object* x_257; uint8_t x_258; +x_252 = lean_ctor_get(x_193, 0); +x_253 = lean_ctor_get(x_193, 1); +x_254 = lean_ctor_get(x_193, 2); +x_255 = lean_ctor_get(x_193, 3); +lean_inc(x_255); +lean_inc(x_254); +lean_inc(x_253); +lean_inc(x_252); +lean_dec(x_193); +x_256 = 1; +x_257 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_257, 0, x_33); +lean_ctor_set(x_257, 1, x_34); +lean_ctor_set(x_257, 2, x_35); +lean_ctor_set(x_257, 3, x_252); +lean_ctor_set_uint8(x_257, sizeof(void*)*4, x_256); +lean_ctor_set(x_191, 0, x_255); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_256); +x_258 = 0; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set(x_1, 2, x_254); +lean_ctor_set(x_1, 1, x_253); +lean_ctor_set(x_1, 0, x_257); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_258); +return x_1; +} +} +else +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; uint8_t x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; +x_259 = lean_ctor_get(x_191, 1); +x_260 = lean_ctor_get(x_191, 2); +x_261 = lean_ctor_get(x_191, 3); +lean_inc(x_261); +lean_inc(x_260); +lean_inc(x_259); +lean_dec(x_191); +x_262 = lean_ctor_get(x_193, 0); +lean_inc(x_262); +x_263 = lean_ctor_get(x_193, 1); +lean_inc(x_263); +x_264 = lean_ctor_get(x_193, 2); +lean_inc(x_264); +x_265 = lean_ctor_get(x_193, 3); +lean_inc(x_265); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_266 = x_193; +} else { + lean_dec_ref(x_193); + x_266 = lean_box(0); +} +x_267 = 1; +if (lean_is_scalar(x_266)) { + x_268 = lean_alloc_ctor(1, 4, 1); +} else { + x_268 = x_266; +} +lean_ctor_set(x_268, 0, x_33); +lean_ctor_set(x_268, 1, x_34); +lean_ctor_set(x_268, 2, x_35); +lean_ctor_set(x_268, 3, x_262); +lean_ctor_set_uint8(x_268, sizeof(void*)*4, x_267); +x_269 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_269, 0, x_265); +lean_ctor_set(x_269, 1, x_259); +lean_ctor_set(x_269, 2, x_260); +lean_ctor_set(x_269, 3, x_261); +lean_ctor_set_uint8(x_269, sizeof(void*)*4, x_267); +x_270 = 0; +lean_ctor_set(x_1, 3, x_269); +lean_ctor_set(x_1, 2, x_264); +lean_ctor_set(x_1, 1, x_263); +lean_ctor_set(x_1, 0, x_268); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_270); +return x_1; +} +} +else +{ +lean_object* x_271; +x_271 = lean_ctor_get(x_191, 3); +lean_inc(x_271); +if (lean_obj_tag(x_271) == 0) +{ +uint8_t x_272; +lean_free_object(x_1); +x_272 = !lean_is_exclusive(x_193); +if (x_272 == 0) +{ +lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_273 = lean_ctor_get(x_193, 3); +lean_dec(x_273); +x_274 = lean_ctor_get(x_193, 2); +lean_dec(x_274); +x_275 = lean_ctor_get(x_193, 1); +lean_dec(x_275); +x_276 = lean_ctor_get(x_193, 0); +lean_dec(x_276); +x_277 = 1; +lean_ctor_set(x_193, 3, x_191); +lean_ctor_set(x_193, 2, x_35); +lean_ctor_set(x_193, 1, x_34); +lean_ctor_set(x_193, 0, x_33); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_277); +return x_193; +} +else +{ +uint8_t x_278; lean_object* x_279; +lean_dec(x_193); +x_278 = 1; +x_279 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_279, 0, x_33); +lean_ctor_set(x_279, 1, x_34); +lean_ctor_set(x_279, 2, x_35); +lean_ctor_set(x_279, 3, x_191); +lean_ctor_set_uint8(x_279, sizeof(void*)*4, x_278); +return x_279; +} +} +else +{ +uint8_t x_280; +x_280 = lean_ctor_get_uint8(x_271, sizeof(void*)*4); +if (x_280 == 0) +{ +uint8_t x_281; +lean_free_object(x_1); +x_281 = !lean_is_exclusive(x_191); +if (x_281 == 0) +{ +lean_object* x_282; lean_object* x_283; uint8_t x_284; +x_282 = lean_ctor_get(x_191, 3); +lean_dec(x_282); +x_283 = lean_ctor_get(x_191, 0); +lean_dec(x_283); +x_284 = !lean_is_exclusive(x_271); +if (x_284 == 0) +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t x_289; uint8_t x_290; +x_285 = lean_ctor_get(x_271, 0); +x_286 = lean_ctor_get(x_271, 1); +x_287 = lean_ctor_get(x_271, 2); +x_288 = lean_ctor_get(x_271, 3); +x_289 = 1; +lean_inc(x_193); +lean_ctor_set(x_271, 3, x_193); +lean_ctor_set(x_271, 2, x_35); +lean_ctor_set(x_271, 1, x_34); +lean_ctor_set(x_271, 0, x_33); +x_290 = !lean_is_exclusive(x_193); +if (x_290 == 0) +{ +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; +x_291 = lean_ctor_get(x_193, 3); +lean_dec(x_291); +x_292 = lean_ctor_get(x_193, 2); +lean_dec(x_292); +x_293 = lean_ctor_get(x_193, 1); +lean_dec(x_293); +x_294 = lean_ctor_get(x_193, 0); +lean_dec(x_294); +lean_ctor_set_uint8(x_271, sizeof(void*)*4, x_289); +lean_ctor_set(x_193, 3, x_288); +lean_ctor_set(x_193, 2, x_287); +lean_ctor_set(x_193, 1, x_286); +lean_ctor_set(x_193, 0, x_285); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_289); +x_295 = 0; +lean_ctor_set(x_191, 3, x_193); +lean_ctor_set(x_191, 0, x_271); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_295); +return x_191; +} +else +{ +lean_object* x_296; uint8_t x_297; +lean_dec(x_193); +lean_ctor_set_uint8(x_271, sizeof(void*)*4, x_289); +x_296 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_296, 0, x_285); +lean_ctor_set(x_296, 1, x_286); +lean_ctor_set(x_296, 2, x_287); +lean_ctor_set(x_296, 3, x_288); +lean_ctor_set_uint8(x_296, sizeof(void*)*4, x_289); +x_297 = 0; +lean_ctor_set(x_191, 3, x_296); +lean_ctor_set(x_191, 0, x_271); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_297); +return x_191; +} +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; +x_298 = lean_ctor_get(x_271, 0); +x_299 = lean_ctor_get(x_271, 1); +x_300 = lean_ctor_get(x_271, 2); +x_301 = lean_ctor_get(x_271, 3); +lean_inc(x_301); +lean_inc(x_300); +lean_inc(x_299); +lean_inc(x_298); +lean_dec(x_271); +x_302 = 1; +lean_inc(x_193); +x_303 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_303, 0, x_33); +lean_ctor_set(x_303, 1, x_34); +lean_ctor_set(x_303, 2, x_35); +lean_ctor_set(x_303, 3, x_193); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_304 = x_193; +} else { + lean_dec_ref(x_193); + x_304 = lean_box(0); +} +lean_ctor_set_uint8(x_303, sizeof(void*)*4, x_302); +if (lean_is_scalar(x_304)) { + x_305 = lean_alloc_ctor(1, 4, 1); +} else { + x_305 = x_304; +} +lean_ctor_set(x_305, 0, x_298); +lean_ctor_set(x_305, 1, x_299); +lean_ctor_set(x_305, 2, x_300); +lean_ctor_set(x_305, 3, x_301); +lean_ctor_set_uint8(x_305, sizeof(void*)*4, x_302); +x_306 = 0; +lean_ctor_set(x_191, 3, x_305); +lean_ctor_set(x_191, 0, x_303); +lean_ctor_set_uint8(x_191, sizeof(void*)*4, x_306); +return x_191; +} +} +else +{ +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; uint8_t x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; lean_object* x_319; +x_307 = lean_ctor_get(x_191, 1); +x_308 = lean_ctor_get(x_191, 2); +lean_inc(x_308); +lean_inc(x_307); +lean_dec(x_191); +x_309 = lean_ctor_get(x_271, 0); +lean_inc(x_309); +x_310 = lean_ctor_get(x_271, 1); +lean_inc(x_310); +x_311 = lean_ctor_get(x_271, 2); +lean_inc(x_311); +x_312 = lean_ctor_get(x_271, 3); +lean_inc(x_312); +if (lean_is_exclusive(x_271)) { + lean_ctor_release(x_271, 0); + lean_ctor_release(x_271, 1); + lean_ctor_release(x_271, 2); + lean_ctor_release(x_271, 3); + x_313 = x_271; +} else { + lean_dec_ref(x_271); + x_313 = lean_box(0); +} +x_314 = 1; +lean_inc(x_193); +if (lean_is_scalar(x_313)) { + x_315 = lean_alloc_ctor(1, 4, 1); +} else { + x_315 = x_313; +} +lean_ctor_set(x_315, 0, x_33); +lean_ctor_set(x_315, 1, x_34); +lean_ctor_set(x_315, 2, x_35); +lean_ctor_set(x_315, 3, x_193); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_316 = x_193; +} else { + lean_dec_ref(x_193); + x_316 = lean_box(0); +} +lean_ctor_set_uint8(x_315, sizeof(void*)*4, x_314); +if (lean_is_scalar(x_316)) { + x_317 = lean_alloc_ctor(1, 4, 1); +} else { + x_317 = x_316; +} +lean_ctor_set(x_317, 0, x_309); +lean_ctor_set(x_317, 1, x_310); +lean_ctor_set(x_317, 2, x_311); +lean_ctor_set(x_317, 3, x_312); +lean_ctor_set_uint8(x_317, sizeof(void*)*4, x_314); +x_318 = 0; +x_319 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_319, 0, x_315); +lean_ctor_set(x_319, 1, x_307); +lean_ctor_set(x_319, 2, x_308); +lean_ctor_set(x_319, 3, x_317); +lean_ctor_set_uint8(x_319, sizeof(void*)*4, x_318); +return x_319; +} +} +else +{ +uint8_t x_320; +x_320 = !lean_is_exclusive(x_191); +if (x_320 == 0) +{ +lean_object* x_321; lean_object* x_322; uint8_t x_323; +x_321 = lean_ctor_get(x_191, 3); +lean_dec(x_321); +x_322 = lean_ctor_get(x_191, 0); +lean_dec(x_322); +x_323 = !lean_is_exclusive(x_193); +if (x_323 == 0) +{ +uint8_t x_324; +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_280); +x_324 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_324); +return x_1; +} +else +{ +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; +x_325 = lean_ctor_get(x_193, 0); +x_326 = lean_ctor_get(x_193, 1); +x_327 = lean_ctor_get(x_193, 2); +x_328 = lean_ctor_get(x_193, 3); +lean_inc(x_328); +lean_inc(x_327); +lean_inc(x_326); +lean_inc(x_325); +lean_dec(x_193); +x_329 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_329, 0, x_325); +lean_ctor_set(x_329, 1, x_326); +lean_ctor_set(x_329, 2, x_327); +lean_ctor_set(x_329, 3, x_328); +lean_ctor_set_uint8(x_329, sizeof(void*)*4, x_280); +lean_ctor_set(x_191, 0, x_329); +x_330 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_330); +return x_1; +} +} +else +{ +lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; uint8_t x_340; +x_331 = lean_ctor_get(x_191, 1); +x_332 = lean_ctor_get(x_191, 2); +lean_inc(x_332); +lean_inc(x_331); +lean_dec(x_191); +x_333 = lean_ctor_get(x_193, 0); +lean_inc(x_333); +x_334 = lean_ctor_get(x_193, 1); +lean_inc(x_334); +x_335 = lean_ctor_get(x_193, 2); +lean_inc(x_335); +x_336 = lean_ctor_get(x_193, 3); +lean_inc(x_336); +if (lean_is_exclusive(x_193)) { + lean_ctor_release(x_193, 0); + lean_ctor_release(x_193, 1); + lean_ctor_release(x_193, 2); + lean_ctor_release(x_193, 3); + x_337 = x_193; +} else { + lean_dec_ref(x_193); + x_337 = lean_box(0); +} +if (lean_is_scalar(x_337)) { + x_338 = lean_alloc_ctor(1, 4, 1); +} else { + x_338 = x_337; +} +lean_ctor_set(x_338, 0, x_333); +lean_ctor_set(x_338, 1, x_334); +lean_ctor_set(x_338, 2, x_335); +lean_ctor_set(x_338, 3, x_336); +lean_ctor_set_uint8(x_338, sizeof(void*)*4, x_280); +x_339 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_339, 0, x_338); +lean_ctor_set(x_339, 1, x_331); +lean_ctor_set(x_339, 2, x_332); +lean_ctor_set(x_339, 3, x_271); +lean_ctor_set_uint8(x_339, sizeof(void*)*4, x_192); +x_340 = 1; +lean_ctor_set(x_1, 3, x_339); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_340); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_341; +x_341 = 1; +lean_ctor_set(x_1, 3, x_191); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_341); +return x_1; +} +} +} +} +else +{ +lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; uint8_t x_346; +x_342 = lean_ctor_get(x_1, 0); +x_343 = lean_ctor_get(x_1, 1); +x_344 = lean_ctor_get(x_1, 2); +x_345 = lean_ctor_get(x_1, 3); +lean_inc(x_345); +lean_inc(x_344); +lean_inc(x_343); +lean_inc(x_342); +lean_dec(x_1); +x_346 = l_Lean_Name_cmp(x_2, x_343); +switch (x_346) { +case 0: +{ +lean_object* x_347; uint8_t x_348; +x_347 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_342, x_2, x_3); +x_348 = lean_ctor_get_uint8(x_347, sizeof(void*)*4); +if (x_348 == 0) +{ +lean_object* x_349; +x_349 = lean_ctor_get(x_347, 0); +lean_inc(x_349); +if (lean_obj_tag(x_349) == 0) +{ +lean_object* x_350; +x_350 = lean_ctor_get(x_347, 3); +lean_inc(x_350); +if (lean_obj_tag(x_350) == 0) +{ +lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; uint8_t x_355; lean_object* x_356; +x_351 = lean_ctor_get(x_347, 1); +lean_inc(x_351); +x_352 = lean_ctor_get(x_347, 2); +lean_inc(x_352); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_353 = x_347; +} else { + lean_dec_ref(x_347); + x_353 = lean_box(0); +} +if (lean_is_scalar(x_353)) { + x_354 = lean_alloc_ctor(1, 4, 1); +} else { + x_354 = x_353; +} +lean_ctor_set(x_354, 0, x_350); +lean_ctor_set(x_354, 1, x_351); +lean_ctor_set(x_354, 2, x_352); +lean_ctor_set(x_354, 3, x_350); +lean_ctor_set_uint8(x_354, sizeof(void*)*4, x_348); +x_355 = 1; +x_356 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_356, 0, x_354); +lean_ctor_set(x_356, 1, x_343); +lean_ctor_set(x_356, 2, x_344); +lean_ctor_set(x_356, 3, x_345); +lean_ctor_set_uint8(x_356, sizeof(void*)*4, x_355); +return x_356; +} +else +{ +uint8_t x_357; +x_357 = lean_ctor_get_uint8(x_350, sizeof(void*)*4); +if (x_357 == 0) +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; uint8_t x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; lean_object* x_370; +x_358 = lean_ctor_get(x_347, 1); +lean_inc(x_358); +x_359 = lean_ctor_get(x_347, 2); +lean_inc(x_359); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_360 = x_347; +} else { + lean_dec_ref(x_347); + x_360 = lean_box(0); +} +x_361 = lean_ctor_get(x_350, 0); +lean_inc(x_361); +x_362 = lean_ctor_get(x_350, 1); +lean_inc(x_362); +x_363 = lean_ctor_get(x_350, 2); +lean_inc(x_363); +x_364 = lean_ctor_get(x_350, 3); +lean_inc(x_364); +if (lean_is_exclusive(x_350)) { + lean_ctor_release(x_350, 0); + lean_ctor_release(x_350, 1); + lean_ctor_release(x_350, 2); + lean_ctor_release(x_350, 3); + x_365 = x_350; +} else { + lean_dec_ref(x_350); + x_365 = lean_box(0); +} +x_366 = 1; +if (lean_is_scalar(x_365)) { + x_367 = lean_alloc_ctor(1, 4, 1); +} else { + x_367 = x_365; +} +lean_ctor_set(x_367, 0, x_349); +lean_ctor_set(x_367, 1, x_358); +lean_ctor_set(x_367, 2, x_359); +lean_ctor_set(x_367, 3, x_361); +lean_ctor_set_uint8(x_367, sizeof(void*)*4, x_366); +if (lean_is_scalar(x_360)) { + x_368 = lean_alloc_ctor(1, 4, 1); +} else { + x_368 = x_360; +} +lean_ctor_set(x_368, 0, x_364); +lean_ctor_set(x_368, 1, x_343); +lean_ctor_set(x_368, 2, x_344); +lean_ctor_set(x_368, 3, x_345); +lean_ctor_set_uint8(x_368, sizeof(void*)*4, x_366); +x_369 = 0; +x_370 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_370, 0, x_367); +lean_ctor_set(x_370, 1, x_362); +lean_ctor_set(x_370, 2, x_363); +lean_ctor_set(x_370, 3, x_368); +lean_ctor_set_uint8(x_370, sizeof(void*)*4, x_369); +return x_370; +} +else +{ +lean_object* x_371; uint8_t x_372; lean_object* x_373; +if (lean_is_exclusive(x_350)) { + lean_ctor_release(x_350, 0); + lean_ctor_release(x_350, 1); + lean_ctor_release(x_350, 2); + lean_ctor_release(x_350, 3); + x_371 = x_350; +} else { + lean_dec_ref(x_350); + x_371 = lean_box(0); +} +x_372 = 1; +if (lean_is_scalar(x_371)) { + x_373 = lean_alloc_ctor(1, 4, 1); +} else { + x_373 = x_371; +} +lean_ctor_set(x_373, 0, x_347); +lean_ctor_set(x_373, 1, x_343); +lean_ctor_set(x_373, 2, x_344); +lean_ctor_set(x_373, 3, x_345); +lean_ctor_set_uint8(x_373, sizeof(void*)*4, x_372); +return x_373; +} +} +} +else +{ +uint8_t x_374; +x_374 = lean_ctor_get_uint8(x_349, sizeof(void*)*4); +if (x_374 == 0) +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; lean_object* x_388; +x_375 = lean_ctor_get(x_347, 1); +lean_inc(x_375); +x_376 = lean_ctor_get(x_347, 2); +lean_inc(x_376); +x_377 = lean_ctor_get(x_347, 3); +lean_inc(x_377); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_378 = x_347; +} else { + lean_dec_ref(x_347); + x_378 = lean_box(0); +} +x_379 = lean_ctor_get(x_349, 0); +lean_inc(x_379); +x_380 = lean_ctor_get(x_349, 1); +lean_inc(x_380); +x_381 = lean_ctor_get(x_349, 2); +lean_inc(x_381); +x_382 = lean_ctor_get(x_349, 3); +lean_inc(x_382); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_383 = x_349; +} else { + lean_dec_ref(x_349); + x_383 = lean_box(0); +} +x_384 = 1; +if (lean_is_scalar(x_383)) { + x_385 = lean_alloc_ctor(1, 4, 1); +} else { + x_385 = x_383; +} +lean_ctor_set(x_385, 0, x_379); +lean_ctor_set(x_385, 1, x_380); +lean_ctor_set(x_385, 2, x_381); +lean_ctor_set(x_385, 3, x_382); +lean_ctor_set_uint8(x_385, sizeof(void*)*4, x_384); +if (lean_is_scalar(x_378)) { + x_386 = lean_alloc_ctor(1, 4, 1); +} else { + x_386 = x_378; +} +lean_ctor_set(x_386, 0, x_377); +lean_ctor_set(x_386, 1, x_343); +lean_ctor_set(x_386, 2, x_344); +lean_ctor_set(x_386, 3, x_345); +lean_ctor_set_uint8(x_386, sizeof(void*)*4, x_384); +x_387 = 0; +x_388 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_388, 0, x_385); +lean_ctor_set(x_388, 1, x_375); +lean_ctor_set(x_388, 2, x_376); +lean_ctor_set(x_388, 3, x_386); +lean_ctor_set_uint8(x_388, sizeof(void*)*4, x_387); +return x_388; +} +else +{ +lean_object* x_389; +x_389 = lean_ctor_get(x_347, 3); +lean_inc(x_389); +if (lean_obj_tag(x_389) == 0) +{ +lean_object* x_390; uint8_t x_391; lean_object* x_392; +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_390 = x_349; +} else { + lean_dec_ref(x_349); + x_390 = lean_box(0); +} +x_391 = 1; +if (lean_is_scalar(x_390)) { + x_392 = lean_alloc_ctor(1, 4, 1); +} else { + x_392 = x_390; +} +lean_ctor_set(x_392, 0, x_347); +lean_ctor_set(x_392, 1, x_343); +lean_ctor_set(x_392, 2, x_344); +lean_ctor_set(x_392, 3, x_345); +lean_ctor_set_uint8(x_392, sizeof(void*)*4, x_391); +return x_392; +} +else +{ +uint8_t x_393; +x_393 = lean_ctor_get_uint8(x_389, sizeof(void*)*4); +if (x_393 == 0) +{ +lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; uint8_t x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; uint8_t x_406; lean_object* x_407; +x_394 = lean_ctor_get(x_347, 1); +lean_inc(x_394); +x_395 = lean_ctor_get(x_347, 2); +lean_inc(x_395); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_396 = x_347; +} else { + lean_dec_ref(x_347); + x_396 = lean_box(0); +} +x_397 = lean_ctor_get(x_389, 0); +lean_inc(x_397); +x_398 = lean_ctor_get(x_389, 1); +lean_inc(x_398); +x_399 = lean_ctor_get(x_389, 2); +lean_inc(x_399); +x_400 = lean_ctor_get(x_389, 3); +lean_inc(x_400); +if (lean_is_exclusive(x_389)) { + lean_ctor_release(x_389, 0); + lean_ctor_release(x_389, 1); + lean_ctor_release(x_389, 2); + lean_ctor_release(x_389, 3); + x_401 = x_389; +} else { + lean_dec_ref(x_389); + x_401 = lean_box(0); +} +x_402 = 1; +lean_inc(x_349); +if (lean_is_scalar(x_401)) { + x_403 = lean_alloc_ctor(1, 4, 1); +} else { + x_403 = x_401; +} +lean_ctor_set(x_403, 0, x_349); +lean_ctor_set(x_403, 1, x_394); +lean_ctor_set(x_403, 2, x_395); +lean_ctor_set(x_403, 3, x_397); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_404 = x_349; +} else { + lean_dec_ref(x_349); + x_404 = lean_box(0); +} +lean_ctor_set_uint8(x_403, sizeof(void*)*4, x_402); +if (lean_is_scalar(x_404)) { + x_405 = lean_alloc_ctor(1, 4, 1); +} else { + x_405 = x_404; +} +lean_ctor_set(x_405, 0, x_400); +lean_ctor_set(x_405, 1, x_343); +lean_ctor_set(x_405, 2, x_344); +lean_ctor_set(x_405, 3, x_345); +lean_ctor_set_uint8(x_405, sizeof(void*)*4, x_402); +x_406 = 0; +if (lean_is_scalar(x_396)) { + x_407 = lean_alloc_ctor(1, 4, 1); +} else { + x_407 = x_396; +} +lean_ctor_set(x_407, 0, x_403); +lean_ctor_set(x_407, 1, x_398); +lean_ctor_set(x_407, 2, x_399); +lean_ctor_set(x_407, 3, x_405); +lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); +return x_407; +} +else +{ +lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; lean_object* x_419; +x_408 = lean_ctor_get(x_347, 1); +lean_inc(x_408); +x_409 = lean_ctor_get(x_347, 2); +lean_inc(x_409); +if (lean_is_exclusive(x_347)) { + lean_ctor_release(x_347, 0); + lean_ctor_release(x_347, 1); + lean_ctor_release(x_347, 2); + lean_ctor_release(x_347, 3); + x_410 = x_347; +} else { + lean_dec_ref(x_347); + x_410 = lean_box(0); +} +x_411 = lean_ctor_get(x_349, 0); +lean_inc(x_411); +x_412 = lean_ctor_get(x_349, 1); +lean_inc(x_412); +x_413 = lean_ctor_get(x_349, 2); +lean_inc(x_413); +x_414 = lean_ctor_get(x_349, 3); +lean_inc(x_414); +if (lean_is_exclusive(x_349)) { + lean_ctor_release(x_349, 0); + lean_ctor_release(x_349, 1); + lean_ctor_release(x_349, 2); + lean_ctor_release(x_349, 3); + x_415 = x_349; +} else { + lean_dec_ref(x_349); + x_415 = lean_box(0); +} +if (lean_is_scalar(x_415)) { + x_416 = lean_alloc_ctor(1, 4, 1); +} else { + x_416 = x_415; +} +lean_ctor_set(x_416, 0, x_411); +lean_ctor_set(x_416, 1, x_412); +lean_ctor_set(x_416, 2, x_413); +lean_ctor_set(x_416, 3, x_414); +lean_ctor_set_uint8(x_416, sizeof(void*)*4, x_393); +if (lean_is_scalar(x_410)) { + x_417 = lean_alloc_ctor(1, 4, 1); +} else { + x_417 = x_410; +} +lean_ctor_set(x_417, 0, x_416); +lean_ctor_set(x_417, 1, x_408); +lean_ctor_set(x_417, 2, x_409); +lean_ctor_set(x_417, 3, x_389); +lean_ctor_set_uint8(x_417, sizeof(void*)*4, x_348); +x_418 = 1; +x_419 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_419, 0, x_417); +lean_ctor_set(x_419, 1, x_343); +lean_ctor_set(x_419, 2, x_344); +lean_ctor_set(x_419, 3, x_345); +lean_ctor_set_uint8(x_419, sizeof(void*)*4, x_418); +return x_419; +} +} +} +} +} +else +{ +uint8_t x_420; lean_object* x_421; +x_420 = 1; +x_421 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_421, 0, x_347); +lean_ctor_set(x_421, 1, x_343); +lean_ctor_set(x_421, 2, x_344); +lean_ctor_set(x_421, 3, x_345); +lean_ctor_set_uint8(x_421, sizeof(void*)*4, x_420); +return x_421; +} +} +case 1: +{ +uint8_t x_422; lean_object* x_423; +lean_dec(x_344); +lean_dec(x_343); +x_422 = 1; +x_423 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_423, 0, x_342); +lean_ctor_set(x_423, 1, x_2); +lean_ctor_set(x_423, 2, x_3); +lean_ctor_set(x_423, 3, x_345); +lean_ctor_set_uint8(x_423, sizeof(void*)*4, x_422); +return x_423; +} +default: +{ +lean_object* x_424; uint8_t x_425; +x_424 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_345, x_2, x_3); +x_425 = lean_ctor_get_uint8(x_424, sizeof(void*)*4); +if (x_425 == 0) +{ +lean_object* x_426; +x_426 = lean_ctor_get(x_424, 0); +lean_inc(x_426); +if (lean_obj_tag(x_426) == 0) +{ +lean_object* x_427; +x_427 = lean_ctor_get(x_424, 3); +lean_inc(x_427); +if (lean_obj_tag(x_427) == 0) +{ +lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; uint8_t x_432; lean_object* x_433; +x_428 = lean_ctor_get(x_424, 1); +lean_inc(x_428); +x_429 = lean_ctor_get(x_424, 2); +lean_inc(x_429); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_430 = x_424; +} else { + lean_dec_ref(x_424); + x_430 = lean_box(0); +} +if (lean_is_scalar(x_430)) { + x_431 = lean_alloc_ctor(1, 4, 1); +} else { + x_431 = x_430; +} +lean_ctor_set(x_431, 0, x_427); +lean_ctor_set(x_431, 1, x_428); +lean_ctor_set(x_431, 2, x_429); +lean_ctor_set(x_431, 3, x_427); +lean_ctor_set_uint8(x_431, sizeof(void*)*4, x_425); +x_432 = 1; +x_433 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_433, 0, x_342); +lean_ctor_set(x_433, 1, x_343); +lean_ctor_set(x_433, 2, x_344); +lean_ctor_set(x_433, 3, x_431); +lean_ctor_set_uint8(x_433, sizeof(void*)*4, x_432); +return x_433; +} +else +{ +uint8_t x_434; +x_434 = lean_ctor_get_uint8(x_427, sizeof(void*)*4); +if (x_434 == 0) +{ +lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; lean_object* x_447; +x_435 = lean_ctor_get(x_424, 1); +lean_inc(x_435); +x_436 = lean_ctor_get(x_424, 2); +lean_inc(x_436); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_437 = x_424; +} else { + lean_dec_ref(x_424); + x_437 = lean_box(0); +} +x_438 = lean_ctor_get(x_427, 0); +lean_inc(x_438); +x_439 = lean_ctor_get(x_427, 1); +lean_inc(x_439); +x_440 = lean_ctor_get(x_427, 2); +lean_inc(x_440); +x_441 = lean_ctor_get(x_427, 3); +lean_inc(x_441); +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + lean_ctor_release(x_427, 2); + lean_ctor_release(x_427, 3); + x_442 = x_427; +} else { + lean_dec_ref(x_427); + x_442 = lean_box(0); +} +x_443 = 1; +if (lean_is_scalar(x_442)) { + x_444 = lean_alloc_ctor(1, 4, 1); +} else { + x_444 = x_442; +} +lean_ctor_set(x_444, 0, x_342); +lean_ctor_set(x_444, 1, x_343); +lean_ctor_set(x_444, 2, x_344); +lean_ctor_set(x_444, 3, x_426); +lean_ctor_set_uint8(x_444, sizeof(void*)*4, x_443); +if (lean_is_scalar(x_437)) { + x_445 = lean_alloc_ctor(1, 4, 1); +} else { + x_445 = x_437; +} +lean_ctor_set(x_445, 0, x_438); +lean_ctor_set(x_445, 1, x_439); +lean_ctor_set(x_445, 2, x_440); +lean_ctor_set(x_445, 3, x_441); +lean_ctor_set_uint8(x_445, sizeof(void*)*4, x_443); +x_446 = 0; +x_447 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_447, 0, x_444); +lean_ctor_set(x_447, 1, x_435); +lean_ctor_set(x_447, 2, x_436); +lean_ctor_set(x_447, 3, x_445); +lean_ctor_set_uint8(x_447, sizeof(void*)*4, x_446); +return x_447; +} +else +{ +lean_object* x_448; uint8_t x_449; lean_object* x_450; +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + lean_ctor_release(x_427, 2); + lean_ctor_release(x_427, 3); + x_448 = x_427; +} else { + lean_dec_ref(x_427); + x_448 = lean_box(0); +} +x_449 = 1; +if (lean_is_scalar(x_448)) { + x_450 = lean_alloc_ctor(1, 4, 1); +} else { + x_450 = x_448; +} +lean_ctor_set(x_450, 0, x_342); +lean_ctor_set(x_450, 1, x_343); +lean_ctor_set(x_450, 2, x_344); +lean_ctor_set(x_450, 3, x_424); +lean_ctor_set_uint8(x_450, sizeof(void*)*4, x_449); +return x_450; +} +} +} +else +{ +uint8_t x_451; +x_451 = lean_ctor_get_uint8(x_426, sizeof(void*)*4); +if (x_451 == 0) +{ +lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; uint8_t x_461; lean_object* x_462; lean_object* x_463; uint8_t x_464; lean_object* x_465; +x_452 = lean_ctor_get(x_424, 1); +lean_inc(x_452); +x_453 = lean_ctor_get(x_424, 2); +lean_inc(x_453); +x_454 = lean_ctor_get(x_424, 3); +lean_inc(x_454); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_455 = x_424; +} else { + lean_dec_ref(x_424); + x_455 = lean_box(0); +} +x_456 = lean_ctor_get(x_426, 0); +lean_inc(x_456); +x_457 = lean_ctor_get(x_426, 1); +lean_inc(x_457); +x_458 = lean_ctor_get(x_426, 2); +lean_inc(x_458); +x_459 = lean_ctor_get(x_426, 3); +lean_inc(x_459); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_460 = x_426; +} else { + lean_dec_ref(x_426); + x_460 = lean_box(0); +} +x_461 = 1; +if (lean_is_scalar(x_460)) { + x_462 = lean_alloc_ctor(1, 4, 1); +} else { + x_462 = x_460; +} +lean_ctor_set(x_462, 0, x_342); +lean_ctor_set(x_462, 1, x_343); +lean_ctor_set(x_462, 2, x_344); +lean_ctor_set(x_462, 3, x_456); +lean_ctor_set_uint8(x_462, sizeof(void*)*4, x_461); +if (lean_is_scalar(x_455)) { + x_463 = lean_alloc_ctor(1, 4, 1); +} else { + x_463 = x_455; +} +lean_ctor_set(x_463, 0, x_459); +lean_ctor_set(x_463, 1, x_452); +lean_ctor_set(x_463, 2, x_453); +lean_ctor_set(x_463, 3, x_454); +lean_ctor_set_uint8(x_463, sizeof(void*)*4, x_461); +x_464 = 0; +x_465 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_465, 0, x_462); +lean_ctor_set(x_465, 1, x_457); +lean_ctor_set(x_465, 2, x_458); +lean_ctor_set(x_465, 3, x_463); +lean_ctor_set_uint8(x_465, sizeof(void*)*4, x_464); +return x_465; +} +else +{ +lean_object* x_466; +x_466 = lean_ctor_get(x_424, 3); +lean_inc(x_466); +if (lean_obj_tag(x_466) == 0) +{ +lean_object* x_467; uint8_t x_468; lean_object* x_469; +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_467 = x_426; +} else { + lean_dec_ref(x_426); + x_467 = lean_box(0); +} +x_468 = 1; +if (lean_is_scalar(x_467)) { + x_469 = lean_alloc_ctor(1, 4, 1); +} else { + x_469 = x_467; +} +lean_ctor_set(x_469, 0, x_342); +lean_ctor_set(x_469, 1, x_343); +lean_ctor_set(x_469, 2, x_344); +lean_ctor_set(x_469, 3, x_424); +lean_ctor_set_uint8(x_469, sizeof(void*)*4, x_468); +return x_469; +} +else +{ +uint8_t x_470; +x_470 = lean_ctor_get_uint8(x_466, sizeof(void*)*4); +if (x_470 == 0) +{ +lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; uint8_t x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; uint8_t x_483; lean_object* x_484; +x_471 = lean_ctor_get(x_424, 1); +lean_inc(x_471); +x_472 = lean_ctor_get(x_424, 2); +lean_inc(x_472); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_473 = x_424; +} else { + lean_dec_ref(x_424); + x_473 = lean_box(0); +} +x_474 = lean_ctor_get(x_466, 0); +lean_inc(x_474); +x_475 = lean_ctor_get(x_466, 1); +lean_inc(x_475); +x_476 = lean_ctor_get(x_466, 2); +lean_inc(x_476); +x_477 = lean_ctor_get(x_466, 3); +lean_inc(x_477); +if (lean_is_exclusive(x_466)) { + lean_ctor_release(x_466, 0); + lean_ctor_release(x_466, 1); + lean_ctor_release(x_466, 2); + lean_ctor_release(x_466, 3); + x_478 = x_466; +} else { + lean_dec_ref(x_466); + x_478 = lean_box(0); +} +x_479 = 1; +lean_inc(x_426); +if (lean_is_scalar(x_478)) { + x_480 = lean_alloc_ctor(1, 4, 1); +} else { + x_480 = x_478; +} +lean_ctor_set(x_480, 0, x_342); +lean_ctor_set(x_480, 1, x_343); +lean_ctor_set(x_480, 2, x_344); +lean_ctor_set(x_480, 3, x_426); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_481 = x_426; +} else { + lean_dec_ref(x_426); + x_481 = lean_box(0); +} +lean_ctor_set_uint8(x_480, sizeof(void*)*4, x_479); +if (lean_is_scalar(x_481)) { + x_482 = lean_alloc_ctor(1, 4, 1); +} else { + x_482 = x_481; +} +lean_ctor_set(x_482, 0, x_474); +lean_ctor_set(x_482, 1, x_475); +lean_ctor_set(x_482, 2, x_476); +lean_ctor_set(x_482, 3, x_477); +lean_ctor_set_uint8(x_482, sizeof(void*)*4, x_479); +x_483 = 0; +if (lean_is_scalar(x_473)) { + x_484 = lean_alloc_ctor(1, 4, 1); +} else { + x_484 = x_473; +} +lean_ctor_set(x_484, 0, x_480); +lean_ctor_set(x_484, 1, x_471); +lean_ctor_set(x_484, 2, x_472); +lean_ctor_set(x_484, 3, x_482); +lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_483); +return x_484; +} +else +{ +lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; uint8_t x_495; lean_object* x_496; +x_485 = lean_ctor_get(x_424, 1); +lean_inc(x_485); +x_486 = lean_ctor_get(x_424, 2); +lean_inc(x_486); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + lean_ctor_release(x_424, 1); + lean_ctor_release(x_424, 2); + lean_ctor_release(x_424, 3); + x_487 = x_424; +} else { + lean_dec_ref(x_424); + x_487 = lean_box(0); +} +x_488 = lean_ctor_get(x_426, 0); +lean_inc(x_488); +x_489 = lean_ctor_get(x_426, 1); +lean_inc(x_489); +x_490 = lean_ctor_get(x_426, 2); +lean_inc(x_490); +x_491 = lean_ctor_get(x_426, 3); +lean_inc(x_491); +if (lean_is_exclusive(x_426)) { + lean_ctor_release(x_426, 0); + lean_ctor_release(x_426, 1); + lean_ctor_release(x_426, 2); + lean_ctor_release(x_426, 3); + x_492 = x_426; +} else { + lean_dec_ref(x_426); + x_492 = lean_box(0); +} +if (lean_is_scalar(x_492)) { + x_493 = lean_alloc_ctor(1, 4, 1); +} else { + x_493 = x_492; +} +lean_ctor_set(x_493, 0, x_488); +lean_ctor_set(x_493, 1, x_489); +lean_ctor_set(x_493, 2, x_490); +lean_ctor_set(x_493, 3, x_491); +lean_ctor_set_uint8(x_493, sizeof(void*)*4, x_470); +if (lean_is_scalar(x_487)) { + x_494 = lean_alloc_ctor(1, 4, 1); +} else { + x_494 = x_487; +} +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_485); +lean_ctor_set(x_494, 2, x_486); +lean_ctor_set(x_494, 3, x_466); +lean_ctor_set_uint8(x_494, sizeof(void*)*4, x_425); +x_495 = 1; +x_496 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_496, 0, x_342); +lean_ctor_set(x_496, 1, x_343); +lean_ctor_set(x_496, 2, x_344); +lean_ctor_set(x_496, 3, x_494); +lean_ctor_set_uint8(x_496, sizeof(void*)*4, x_495); +return x_496; +} +} +} +} +} +else +{ +uint8_t x_497; lean_object* x_498; +x_497 = 1; +x_498 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_498, 0, x_342); +lean_ctor_set(x_498, 1, x_343); +lean_ctor_set(x_498, 2, x_344); +lean_ctor_set(x_498, 3, x_424); +lean_ctor_set_uint8(x_498, sizeof(void*)*4, x_497); +return x_498; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_LeanOptions_fromOptions_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_RBNode_isRed___rarg(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_1, x_2, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_RBNode_ins___at_Lean_LeanOptions_fromOptions_x3f___spec__2(x_1, x_2, x_3); +x_7 = l_Lean_RBNode_setBlack___rarg(x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_LeanOptions_fromOptions_x3f___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +lean_dec(x_4); +x_8 = l_Lean_LeanOptionValue_ofDataValue_x3f(x_7); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_9 = lean_box(0); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = l_Lean_RBNode_insert___at_Lean_LeanOptions_fromOptions_x3f___spec__1(x_2, x_6, x_10); +x_1 = x_5; +x_2 = x_11; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_LeanOptions_fromOptions_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_box(0); +x_3 = l_List_forIn_loop___at_Lean_LeanOptions_fromOptions_x3f___spec__3(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +return x_3; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_3, 0); +lean_inc(x_6); +lean_dec(x_3); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonLeanOptions___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 3); +lean_inc(x_7); +lean_dec(x_2); +x_8 = l_Lean_RBNode_foldM___at_Lean_instFromJsonLeanOptions___spec__1(x_1, x_4); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +switch (lean_obj_tag(x_6)) { +case 1: +{ +uint8_t x_18; lean_object* x_19; +x_18 = lean_ctor_get_uint8(x_6, 0); +lean_dec(x_6); +x_19 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_19, 0, x_18); +x_13 = x_19; +goto block_17; +} +case 2: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_6, 0); +lean_inc(x_20); +lean_dec(x_6); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_instFromJsonLeanOptionValue___closed__3; +x_24 = lean_int_dec_lt(x_21, x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_nat_abs(x_21); +lean_dec(x_21); +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_nat_dec_eq(x_22, x_26); +lean_dec(x_22); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_25); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_5); +x_28 = l_Lean_instFromJsonLeanOptionValue___closed__2; +return x_28; +} +else +{ +lean_object* x_29; +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_25); +x_13 = x_29; +goto block_17; +} +} +else +{ +lean_object* x_30; +lean_dec(x_22); +lean_dec(x_21); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_5); +x_30 = l_Lean_instFromJsonLeanOptionValue___closed__2; +return x_30; +} +} +case 3: +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_6, 0); +lean_inc(x_31); +lean_dec(x_6); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_13 = x_32; +goto block_17; +} +default: +{ +lean_object* x_33; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_33 = l_Lean_instFromJsonLeanOptionValue___closed__2; +return x_33; +} +} +block_17: +{ +lean_object* x_14; lean_object* x_15; +x_14 = l_String_toName(x_5); +x_15 = l_Lean_RBNode_insert___at_Lean_LeanOptions_fromOptions_x3f___spec__1(x_12, x_14, x_13); +x_1 = x_15; +x_2 = x_7; +goto _start; +} +} +} +} +} +static lean_object* _init_l_Lean_instFromJsonLeanOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("invalid LeanOptions type", 24); +return x_1; +} +} +static lean_object* _init_l_Lean_instFromJsonLeanOptions___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_instFromJsonLeanOptions___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_instFromJsonLeanOptions(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 5) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = lean_box(0); +x_4 = l_Lean_RBNode_foldM___at_Lean_instFromJsonLeanOptions___spec__1(x_3, x_2); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_4); +if (x_8 == 0) +{ +return x_4; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_4, 0); +lean_inc(x_9); +lean_dec(x_4); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +} +else +{ +lean_object* x_11; +lean_dec(x_1); +x_11 = l_Lean_instFromJsonLeanOptions___closed__2; +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_instToJsonLeanOptions___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; +x_3 = lean_ctor_get(x_2, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 1); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 2); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 3); +lean_inc(x_6); +lean_dec(x_2); +x_7 = l_Lean_RBNode_fold___at_Lean_instToJsonLeanOptions___spec__1(x_1, x_3); +x_8 = 1; +x_9 = l_Lean_Name_toString(x_4, x_8); +switch (lean_obj_tag(x_5)) { +case 0: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = l_Lean_RBNode_insert___at_Lean_Json_mkObj___spec__1(x_7, x_9, x_11); +x_1 = x_12; +x_2 = x_6; +goto _start; +} +case 1: +{ +uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get_uint8(x_5, 0); +lean_dec(x_5); +x_15 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_15, 0, x_14); +x_16 = l_Lean_RBNode_insert___at_Lean_Json_mkObj___spec__1(x_7, x_9, x_15); +x_1 = x_16; +x_2 = x_6; +goto _start; +} +default: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_5, 0); +lean_inc(x_18); +lean_dec(x_5); +x_19 = l_Lean_JsonNumber_fromNat(x_18); +x_20 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_Lean_RBNode_insert___at_Lean_Json_mkObj___spec__1(x_7, x_9, x_20); +x_1 = x_21; +x_2 = x_6; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_instToJsonLeanOptions(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = lean_box(0); +x_3 = l_Lean_RBNode_fold___at_Lean_instToJsonLeanOptions___spec__1(x_2, x_1); +x_4 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Util_Paths(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Util_LeanOptions(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Util_Paths(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_instInhabitedLeanOptionValue___closed__1 = _init_l_Lean_instInhabitedLeanOptionValue___closed__1(); +lean_mark_persistent(l_Lean_instInhabitedLeanOptionValue___closed__1); +l_Lean_instInhabitedLeanOptionValue___closed__2 = _init_l_Lean_instInhabitedLeanOptionValue___closed__2(); +lean_mark_persistent(l_Lean_instInhabitedLeanOptionValue___closed__2); +l_Lean_instInhabitedLeanOptionValue = _init_l_Lean_instInhabitedLeanOptionValue(); +lean_mark_persistent(l_Lean_instInhabitedLeanOptionValue); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__1 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__1(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__1); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__2 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__2(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__2); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__3 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__3(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__3); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__4 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__4(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__4); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__5 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__5(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__5); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__6 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__6(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__6); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__7 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__7(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__7); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__8 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__8(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__8); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__9 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__9(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__9); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__10 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__10(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__10); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__11 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__11(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__11); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__12 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__12(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__12); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__13 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__13(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__13); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__14 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__14(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__14); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__15 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__15(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__15); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__16 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__16(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__16); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__17 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__17(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__17); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__18 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__18(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__18); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__19 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__19(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__19); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__20 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__20(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__20); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__21 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__21(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__21); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__22 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__22(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__22); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__23 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__23(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__23); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__24 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__24(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__24); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__25 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__25(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptionValue____x40_Lean_Util_LeanOptions___hyg_41____closed__25); +l_Lean_instReprLeanOptionValue___closed__1 = _init_l_Lean_instReprLeanOptionValue___closed__1(); +lean_mark_persistent(l_Lean_instReprLeanOptionValue___closed__1); +l_Lean_instReprLeanOptionValue = _init_l_Lean_instReprLeanOptionValue(); +lean_mark_persistent(l_Lean_instReprLeanOptionValue); +l_Lean_instValueLeanOptionValue___closed__1 = _init_l_Lean_instValueLeanOptionValue___closed__1(); +lean_mark_persistent(l_Lean_instValueLeanOptionValue___closed__1); +l_Lean_instValueLeanOptionValue___closed__2 = _init_l_Lean_instValueLeanOptionValue___closed__2(); +lean_mark_persistent(l_Lean_instValueLeanOptionValue___closed__2); +l_Lean_instValueLeanOptionValue___closed__3 = _init_l_Lean_instValueLeanOptionValue___closed__3(); +lean_mark_persistent(l_Lean_instValueLeanOptionValue___closed__3); +l_Lean_instValueLeanOptionValue = _init_l_Lean_instValueLeanOptionValue(); +lean_mark_persistent(l_Lean_instValueLeanOptionValue); +l_Lean_instFromJsonLeanOptionValue___closed__1 = _init_l_Lean_instFromJsonLeanOptionValue___closed__1(); +lean_mark_persistent(l_Lean_instFromJsonLeanOptionValue___closed__1); +l_Lean_instFromJsonLeanOptionValue___closed__2 = _init_l_Lean_instFromJsonLeanOptionValue___closed__2(); +lean_mark_persistent(l_Lean_instFromJsonLeanOptionValue___closed__2); +l_Lean_instFromJsonLeanOptionValue___closed__3 = _init_l_Lean_instFromJsonLeanOptionValue___closed__3(); +lean_mark_persistent(l_Lean_instFromJsonLeanOptionValue___closed__3); +l_Lean_LeanOptionValue_asCliFlagValue___closed__1 = _init_l_Lean_LeanOptionValue_asCliFlagValue___closed__1(); +lean_mark_persistent(l_Lean_LeanOptionValue_asCliFlagValue___closed__1); +l_Lean_instInhabitedLeanOptions = _init_l_Lean_instInhabitedLeanOptions(); +lean_mark_persistent(l_Lean_instInhabitedLeanOptions); +l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__1 = _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__1(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__1); +l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__2 = _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__2(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__2); +l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__3 = _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__3(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__3); +l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__4 = _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__4(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__4); +l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__5 = _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__5(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__5); +l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__6 = _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__6(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__6); +l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__7 = _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__7(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__7); +l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__8 = _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__8(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__8); +l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__9 = _init_l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__9(); +lean_mark_persistent(l_Prod_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__5___closed__9); +l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__1 = _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__1(); +lean_mark_persistent(l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__1); +l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__2 = _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__2(); +lean_mark_persistent(l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__2); +l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__3 = _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__3(); +lean_mark_persistent(l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__3); +l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__4 = _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__4(); +lean_mark_persistent(l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__4); +l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__5 = _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__5(); +lean_mark_persistent(l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__5); +l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__6 = _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__6(); +lean_mark_persistent(l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__6); +l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__7 = _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__7(); +lean_mark_persistent(l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__7); +l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__8 = _init_l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__8(); +lean_mark_persistent(l_List_repr___at___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____spec__3___closed__8); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__1 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__1(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__1); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__2 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__2(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__2); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__3 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__3(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__3); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__4 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__4(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__4); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__5 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__5(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__5); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__6 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__6(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__6); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__7 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__7(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__7); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__8 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__8(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__8); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__9 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__9(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__9); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__10 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__10(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__10); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__11 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__11(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__11); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__12 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__12(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__12); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__13 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__13(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__13); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__14 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__14(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__14); +l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__15 = _init_l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__15(); +lean_mark_persistent(l___private_Lean_Util_LeanOptions_0__Lean_reprLeanOptions____x40_Lean_Util_LeanOptions___hyg_615____closed__15); +l_Lean_instReprLeanOptions___closed__1 = _init_l_Lean_instReprLeanOptions___closed__1(); +lean_mark_persistent(l_Lean_instReprLeanOptions___closed__1); +l_Lean_instReprLeanOptions = _init_l_Lean_instReprLeanOptions(); +lean_mark_persistent(l_Lean_instReprLeanOptions); +l_Lean_instFromJsonLeanOptions___closed__1 = _init_l_Lean_instFromJsonLeanOptions___closed__1(); +lean_mark_persistent(l_Lean_instFromJsonLeanOptions___closed__1); +l_Lean_instFromJsonLeanOptions___closed__2 = _init_l_Lean_instFromJsonLeanOptions___closed__2(); +lean_mark_persistent(l_Lean_instFromJsonLeanOptions___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Util/Path.c b/stage0/stdlib/Lean/Util/Path.c index ba5aecaed759..cc15e50f06eb 100644 --- a/stage0/stdlib/Lean/Util/Path.c +++ b/stage0/stdlib/Lean/Util/Path.c @@ -15,17 +15,20 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_List_foldl___at_Lean_moduleNameOfFileName___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findSysroot___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_String_endsWith(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Util_Path___hyg_609_(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_moduleNameOfFileName___lambda__3___closed__1; LEAN_EXPORT lean_object* lean_init_search_path(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_getLibDir___closed__1; lean_object* l_System_FilePath_walkDir(lean_object*, lean_object*, lean_object*); lean_object* l_System_FilePath_join(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__9___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_panic___at_Lean_modToFilePath_go___spec__1(lean_object*); lean_object* l_System_FilePath_normalize(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___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_searchModuleNameOfFileName___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_findOLean_maybeThisOne___closed__1; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); @@ -40,65 +43,77 @@ static lean_object* l_Lean_modToFilePath_go___closed__3; static lean_object* l_Lean_findSysroot___lambda__1___closed__2; static lean_object* l_Lean_SearchPath_findAllWithExt___closed__1; lean_object* l_String_trim(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__4___boxed(lean_object*, lean_object*); static lean_object* l_Lean_getLibDir___closed__4; lean_object* l_System_FilePath_withExtension(lean_object*, lean_object*); lean_object* lean_io_getenv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_searchModuleNameOfFileName___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_findOLean___closed__4; LEAN_EXPORT lean_object* l_Lean_moduleNameOfFileName___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_IO_FS_DirEntry_path(lean_object*); +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___rarg___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_findOLean___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_module_name_of_file(lean_object*, lean_object*, lean_object*); +lean_object* l_System_FilePath_readDir___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_modToFilePath___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_System_FilePath_pathExists(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___lambda__1(lean_object*, lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___closed__1; static lean_object* l_Lean_findSysroot___closed__1; -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___lambda__1___boxed(lean_object*, lean_object*); +static lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___closed__1; static lean_object* l_Lean_findOLean___closed__1; lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_initSearchPath(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_findOLean___closed__3; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findSysroot(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_findM_x3f___at_Lean_SearchPath_findWithExt___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SearchPath_findModuleWithExt___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_findOLean_maybeThisOne___closed__2; -static lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_System_FilePath_isDir(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getLibDir___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___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_getLibDir___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_findSysroot___lambda__1___closed__4; static lean_object* l_Lean_modToFilePath_go___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___lambda__1(lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); lean_object* l_IO_appDir(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_System_FilePath_components(lean_object*); lean_object* l_System_FilePath_parent(lean_object*); lean_object* l_Lean_Name_getRoot(lean_object*); LEAN_EXPORT lean_object* l_Lean_SearchPath_findModuleWithExt___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getBuildDir___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__9(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); static lean_object* l_Lean_modToFilePath_go___closed__2; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_initSearchPath___closed__1; static lean_object* l_Lean_getLibDir___closed__3; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_searchModuleNameOfFileName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Util_Path___hyg_927_(lean_object*); LEAN_EXPORT lean_object* l_Lean_addSearchPathFromEnv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SearchPath_findModuleWithExt(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_searchModuleNameOfFileName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_moduleNameOfFileName___lambda__2___closed__1; extern uint32_t l_System_FilePath_pathSeparator; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__3(lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_getBuildDir___closed__3; LEAN_EXPORT lean_object* l_Lean_findOLean___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_moduleNameOfFileName___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_moduleNameOfFileName___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getBuildDir___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_findSysroot___lambda__1___closed__1; LEAN_EXPORT lean_object* lean_get_prefix(lean_object*); LEAN_EXPORT lean_object* l_Lean_SearchPath_findWithExt(lean_object*, lean_object*, lean_object*, lean_object*); @@ -109,11 +124,15 @@ LEAN_EXPORT lean_object* l_Lean_findOLean_maybeThisOne___lambda__1(lean_object*, lean_object* lean_string_length(lean_object*); static lean_object* l_Lean_getBuildDir___closed__1; LEAN_EXPORT lean_object* l_Lean_findOLean_maybeThisOne(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_searchPathRef; LEAN_EXPORT lean_object* l_Lean_SearchPath_findModuleWithExt___lambda__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findOLean(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_findSysroot___lambda__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_System_instInhabitedFilePath; uint8_t l_String_isPrefixOf(lean_object*, lean_object*); static lean_object* l_Lean_searchModuleNameOfFileName___closed__1; @@ -122,29 +141,608 @@ lean_object* lean_io_realpath(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getBuiltinSearchPath(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_modToFilePath_go(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); -static lean_object* l_Lean_moduleNameOfFileName___lambda__1___closed__1; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___closed__1; static lean_object* l_Lean_findOLean___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__3___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* lean_io_current_dir(lean_object*); static uint8_t l_Lean_getLibDir___closed__2; lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_modToFilePath(lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__5(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir(lean_object*); lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_searchModuleNameOfFileName___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_getLibDir___lambda__1___closed__1; -static lean_object* l_Lean_getLibDir___lambda__1___closed__2; +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_moduleNameOfFileName___lambda__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_get_libdir(lean_object*, lean_object*); static lean_object* l_Lean_SearchPath_findModuleWithExt___closed__1; lean_object* l_IO_Process_run(lean_object*, lean_object*); static lean_object* l_Lean_findSysroot___lambda__1___closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_String_drop(lean_object*, lean_object*); static lean_object* l_Lean_modToFilePath_go___closed__4; LEAN_EXPORT lean_object* l_Lean_SearchPath_findAllWithExt(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_realPathNormalized(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +else +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_string_dec_eq(x_6, x_7); +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = l_System_FilePath_isDir(x_1, x_2); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___closed__1; +x_4 = lean_apply_2(x_1, lean_box(0), x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___closed__1; +x_6 = lean_apply_2(x_4, lean_box(0), x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = l_System_FilePath_pathExists(x_1, x_2); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_3); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_Name_append(x_1, x_3); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("lean", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__5), 3, 2); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, x_2); +x_9 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___closed__1; +lean_inc(x_3); +x_10 = l_Lean_forEachModuleInDir___rarg(x_3, x_4, x_5, x_8, x_9); +x_11 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__3___boxed), 2, 1); +lean_closure_set(x_11, 0, x_3); +x_12 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_10, x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7) { +_start: +{ +lean_object* x_8; +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_8 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___boxed), 7, 6); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, x_2); +lean_closure_set(x_8, 2, x_3); +lean_closure_set(x_8, 3, x_4); +lean_closure_set(x_8, 4, x_5); +lean_closure_set(x_8, 5, x_6); +if (x_7 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +lean_dec(x_1); +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +lean_dec(x_3); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_box(0); +x_12 = lean_apply_2(x_10, lean_box(0), x_11); +x_13 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_12, x_8); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_3); +x_14 = lean_apply_1(x_2, x_1); +x_15 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_14, x_8); +return x_15; +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9) { +_start: +{ +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_dec(x_8); +lean_dec(x_7); +x_10 = l_System_FilePath_extension(x_1); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_2); +x_12 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(x_10, x_11); +lean_dec(x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_6); +lean_dec(x_5); +x_13 = lean_ctor_get(x_3, 0); +lean_inc(x_13); +lean_dec(x_3); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_box(0); +lean_inc(x_14); +x_16 = lean_apply_2(x_14, lean_box(0), x_15); +x_17 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___boxed), 2, 1); +lean_closure_set(x_17, 0, x_14); +x_18 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_16, x_17); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_19 = lean_ctor_get(x_5, 1); +lean_inc(x_19); +lean_dec(x_5); +x_20 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___closed__1; +x_21 = l_System_FilePath_withExtension(x_19, x_20); +x_22 = lean_box(0); +x_23 = l_Lean_Name_str___override(x_22, x_21); +x_24 = lean_apply_1(x_6, x_23); +x_25 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__3___boxed), 2, 1); +lean_closure_set(x_25, 0, x_3); +x_26 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_24, x_25); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_27 = lean_ctor_get(x_5, 1); +lean_inc(x_27); +lean_dec(x_5); +x_28 = lean_box(0); +lean_inc(x_27); +x_29 = l_Lean_Name_str___override(x_28, x_27); +x_30 = l_System_FilePath_withExtension(x_27, x_2); +lean_dec(x_2); +x_31 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__4___boxed), 2, 1); +lean_closure_set(x_31, 0, x_30); +x_32 = lean_apply_2(x_7, lean_box(0), x_31); +lean_inc(x_4); +x_33 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__7___boxed), 7, 6); +lean_closure_set(x_33, 0, x_29); +lean_closure_set(x_33, 1, x_6); +lean_closure_set(x_33, 2, x_3); +lean_closure_set(x_33, 3, x_8); +lean_closure_set(x_33, 4, x_1); +lean_closure_set(x_33, 5, x_4); +x_34 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_32, x_33); +return x_34; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__9(lean_object* x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, lean_object* x_10) { +_start: +{ +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_apply_2(x_13, lean_box(0), x_11); +return x_14; +} +else +{ +lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_10, 0); +lean_inc(x_15); +lean_dec(x_10); +x_16 = 1; +x_17 = lean_usize_add(x_2, x_16); +x_18 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_17, x_15); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_lt(x_9, x_8); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_apply_2(x_13, lean_box(0), x_10); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_10); +x_15 = lean_array_uget(x_7, x_9); +x_16 = lean_ctor_get(x_1, 1); +lean_inc(x_16); +lean_inc(x_15); +x_17 = l_IO_FS_DirEntry_path(x_15); +lean_inc(x_17); +x_18 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_18, 0, x_17); +lean_inc(x_6); +x_19 = lean_apply_2(x_6, lean_box(0), x_18); +lean_inc(x_2); +lean_inc(x_6); +lean_inc(x_3); +lean_inc(x_5); +lean_inc(x_1); +lean_inc(x_4); +x_20 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___boxed), 9, 8); +lean_closure_set(x_20, 0, x_17); +lean_closure_set(x_20, 1, x_4); +lean_closure_set(x_20, 2, x_1); +lean_closure_set(x_20, 3, x_5); +lean_closure_set(x_20, 4, x_15); +lean_closure_set(x_20, 5, x_3); +lean_closure_set(x_20, 6, x_6); +lean_closure_set(x_20, 7, x_2); +lean_inc(x_5); +x_21 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_19, x_20); +x_22 = lean_box_usize(x_9); +x_23 = lean_box_usize(x_8); +x_24 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__9___boxed), 10, 9); +lean_closure_set(x_24, 0, x_1); +lean_closure_set(x_24, 1, x_22); +lean_closure_set(x_24, 2, x_2); +lean_closure_set(x_24, 3, x_3); +lean_closure_set(x_24, 4, x_4); +lean_closure_set(x_24, 5, x_5); +lean_closure_set(x_24, 6, x_6); +lean_closure_set(x_24, 7, x_7); +lean_closure_set(x_24, 8, x_23); +x_25 = lean_apply_4(x_16, lean_box(0), lean_box(0), x_21, x_24); +return x_25; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___boxed), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_apply_2(x_4, lean_box(0), x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_array_get_size(x_6); +x_8 = lean_usize_of_nat(x_7); +lean_dec(x_7); +x_9 = 0; +x_10 = lean_box(0); +lean_inc(x_5); +lean_inc(x_2); +lean_inc(x_1); +x_11 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_2, x_6, x_8, x_9, x_10); +x_12 = lean_alloc_closure((void*)(l_Lean_forEachModuleInDir___rarg___lambda__1___boxed), 2, 1); +lean_closure_set(x_12, 0, x_1); +x_13 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_11, x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_alloc_closure((void*)(l_System_FilePath_readDir___boxed), 2, 1); +lean_closure_set(x_7, 0, x_3); +lean_inc(x_2); +x_8 = lean_apply_2(x_2, lean_box(0), x_7); +lean_inc(x_6); +x_9 = lean_alloc_closure((void*)(l_Lean_forEachModuleInDir___rarg___lambda__2), 6, 5); +lean_closure_set(x_9, 0, x_1); +lean_closure_set(x_9, 1, x_2); +lean_closure_set(x_9, 2, x_4); +lean_closure_set(x_9, 3, x_5); +lean_closure_set(x_9, 4, x_6); +x_10 = lean_apply_4(x_6, lean_box(0), lean_box(0), x_8, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_forEachModuleInDir___rarg), 5, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__1(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__3(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__4(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_7); +lean_dec(x_7); +x_9 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_9); +lean_dec(x_9); +x_11 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_12 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_13 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__9(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_12, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_12 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_13 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_forEachModuleInDir___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_forEachModuleInDir___rarg___lambda__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_realPathNormalized(lean_object* x_1, lean_object* x_2) { _start: { @@ -240,7 +838,7 @@ static lean_object* _init_l_Lean_modToFilePath_go___closed__4() { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_modToFilePath_go___closed__1; x_2 = l_Lean_modToFilePath_go___closed__2; -x_3 = lean_unsigned_to_nat(25u); +x_3 = lean_unsigned_to_nat(36u); x_4 = lean_unsigned_to_nat(20u); x_5 = l_Lean_modToFilePath_go___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -686,44 +1284,7 @@ lean_dec(x_2); return x_5; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_3; -x_3 = 1; -return x_3; -} -else -{ -uint8_t x_4; -x_4 = 0; -return x_4; -} -} -else -{ -if (lean_obj_tag(x_2) == 0) -{ -uint8_t x_5; -x_5 = 0; -return x_5; -} -else -{ -lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_6 = lean_ctor_get(x_1, 0); -x_7 = lean_ctor_get(x_2, 0); -x_8 = lean_string_dec_eq(x_6, x_7); -return x_8; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { _start: { uint8_t x_6; @@ -737,7 +1298,7 @@ x_8 = l_System_FilePath_extension(x_7); lean_inc(x_1); x_9 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_9, 0, x_1); -x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1(x_8, x_9); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_forEachModuleInDir___spec__1(x_8, x_9); lean_dec(x_9); lean_dec(x_8); x_11 = 1; @@ -764,7 +1325,7 @@ return x_5; } } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___lambda__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; lean_object* x_5; @@ -776,15 +1337,15 @@ lean_ctor_set(x_5, 1, x_2); return x_5; } } -static lean_object* _init_l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___closed__1() { +static lean_object* _init_l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___lambda__1___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___lambda__1___boxed), 2, 0); return x_1; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_3) == 0) @@ -827,7 +1388,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; x_14 = lean_ctor_get(x_9, 1); lean_inc(x_14); lean_dec(x_9); -x_15 = l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___closed__1; +x_15 = l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___closed__1; x_16 = l_System_FilePath_walkDir(x_7, x_15, x_14); if (lean_obj_tag(x_16) == 0) { @@ -876,7 +1437,7 @@ x_28 = lean_usize_of_nat(x_19); lean_dec(x_19); lean_inc(x_2); lean_inc(x_1); -x_29 = l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__2(x_1, x_17, x_27, x_28, x_2); +x_29 = l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__1(x_1, x_17, x_27, x_28, x_2); lean_dec(x_17); x_30 = l_Array_append___rarg(x_4, x_29); x_3 = x_8; @@ -930,7 +1491,7 @@ LEAN_EXPORT lean_object* l_Lean_SearchPath_findAllWithExt(lean_object* x_1, lean { lean_object* x_4; lean_object* x_5; x_4 = l_Lean_SearchPath_findAllWithExt___closed__1; -x_5 = l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3(x_2, x_4, x_1, x_4, x_3); +x_5 = l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2(x_2, x_4, x_1, x_4, x_3); if (lean_obj_tag(x_5) == 0) { uint8_t x_6; @@ -977,18 +1538,7 @@ return x_13; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_SearchPath_findAllWithExt___spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -996,21 +1546,21 @@ x_6 = lean_unbox_usize(x_3); lean_dec(x_3); x_7 = lean_unbox_usize(x_4); lean_dec(x_4); -x_8 = l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__2(x_1, x_2, x_6, x_7, x_5); +x_8 = l_Array_foldlMUnsafe_fold___at_Lean_SearchPath_findAllWithExt___spec__1(x_1, x_2, x_6, x_7, x_5); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___lambda__1(x_1, x_2); +x_3 = l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___lambda__1(x_1, x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Util_Path___hyg_609_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_initFn____x40_Lean_Util_Path___hyg_927_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -1171,21 +1721,13 @@ x_1 = lean_mk_string_from_bytes("lib", 3); return x_1; } } -static lean_object* _init_l_Lean_getLibDir___lambda__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("lean", 4); -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_getLibDir___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = l_Lean_getLibDir___lambda__1___closed__1; x_5 = l_System_FilePath_join(x_1, x_4); -x_6 = l_Lean_getLibDir___lambda__1___closed__2; +x_6 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___closed__1; x_7 = l_System_FilePath_join(x_5, x_6); x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_7); @@ -1821,21 +2363,13 @@ goto _start; } } } -static lean_object* _init_l_Lean_moduleNameOfFileName___lambda__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("", 0); -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_moduleNameOfFileName___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; x_5 = lean_string_length(x_1); x_6 = l_String_drop(x_2, x_5); -x_7 = l_Lean_moduleNameOfFileName___lambda__1___closed__1; +x_7 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___closed__1; x_8 = l_System_FilePath_withExtension(x_6, x_7); x_9 = l_System_FilePath_components(x_8); x_10 = lean_box(0); @@ -1912,7 +2446,7 @@ static lean_object* _init_l_Lean_moduleNameOfFileName___lambda__3___closed__1() _start: { lean_object* x_1; uint32_t x_2; lean_object* x_3; -x_1 = l_Lean_moduleNameOfFileName___lambda__1___closed__1; +x_1 = l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___closed__1; x_2 = l_System_FilePath_pathSeparator; x_3 = lean_string_push(x_1, x_2); return x_3; @@ -2470,6 +3004,12 @@ lean_dec_ref(res); res = initialize_Lean_Data_Name(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__2___closed__1); +l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__6___closed__1); +l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_forEachModuleInDir___spec__2___rarg___lambda__8___closed__1); l_Lean_modToFilePath_go___closed__1 = _init_l_Lean_modToFilePath_go___closed__1(); lean_mark_persistent(l_Lean_modToFilePath_go___closed__1); l_Lean_modToFilePath_go___closed__2 = _init_l_Lean_modToFilePath_go___closed__2(); @@ -2480,11 +3020,11 @@ l_Lean_modToFilePath_go___closed__4 = _init_l_Lean_modToFilePath_go___closed__4( lean_mark_persistent(l_Lean_modToFilePath_go___closed__4); l_Lean_SearchPath_findModuleWithExt___closed__1 = _init_l_Lean_SearchPath_findModuleWithExt___closed__1(); lean_mark_persistent(l_Lean_SearchPath_findModuleWithExt___closed__1); -l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___closed__1 = _init_l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___closed__1(); -lean_mark_persistent(l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__3___closed__1); +l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___closed__1 = _init_l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___closed__1(); +lean_mark_persistent(l_List_forIn_loop___at_Lean_SearchPath_findAllWithExt___spec__2___closed__1); l_Lean_SearchPath_findAllWithExt___closed__1 = _init_l_Lean_SearchPath_findAllWithExt___closed__1(); lean_mark_persistent(l_Lean_SearchPath_findAllWithExt___closed__1); -if (builtin) {res = l_Lean_initFn____x40_Lean_Util_Path___hyg_609_(lean_io_mk_world()); +if (builtin) {res = l_Lean_initFn____x40_Lean_Util_Path___hyg_927_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_searchPathRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_searchPathRef); @@ -2499,8 +3039,6 @@ l_Lean_getBuildDir___closed__4 = _init_l_Lean_getBuildDir___closed__4(); lean_mark_persistent(l_Lean_getBuildDir___closed__4); l_Lean_getLibDir___lambda__1___closed__1 = _init_l_Lean_getLibDir___lambda__1___closed__1(); lean_mark_persistent(l_Lean_getLibDir___lambda__1___closed__1); -l_Lean_getLibDir___lambda__1___closed__2 = _init_l_Lean_getLibDir___lambda__1___closed__2(); -lean_mark_persistent(l_Lean_getLibDir___lambda__1___closed__2); l_Lean_getLibDir___closed__1 = _init_l_Lean_getLibDir___closed__1(); lean_mark_persistent(l_Lean_getLibDir___closed__1); l_Lean_getLibDir___closed__2 = _init_l_Lean_getLibDir___closed__2(); @@ -2524,8 +3062,6 @@ l_Lean_findOLean___closed__3 = _init_l_Lean_findOLean___closed__3(); lean_mark_persistent(l_Lean_findOLean___closed__3); l_Lean_findOLean___closed__4 = _init_l_Lean_findOLean___closed__4(); lean_mark_persistent(l_Lean_findOLean___closed__4); -l_Lean_moduleNameOfFileName___lambda__1___closed__1 = _init_l_Lean_moduleNameOfFileName___lambda__1___closed__1(); -lean_mark_persistent(l_Lean_moduleNameOfFileName___lambda__1___closed__1); l_Lean_moduleNameOfFileName___lambda__2___closed__1 = _init_l_Lean_moduleNameOfFileName___lambda__2___closed__1(); lean_mark_persistent(l_Lean_moduleNameOfFileName___lambda__2___closed__1); l_Lean_moduleNameOfFileName___lambda__2___closed__2 = _init_l_Lean_moduleNameOfFileName___lambda__2___closed__2(); diff --git a/stage0/stdlib/Lean/Util/Paths.c b/stage0/stdlib/Lean/Util/Paths.c index 9133b5f98c16..4b771ab3235e 100644 --- a/stage0/stdlib/Lean/Util/Paths.c +++ b/stage0/stdlib/Lean/Util/Paths.c @@ -14,15 +14,14 @@ extern "C" { #endif lean_object* l_List_join___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_initSrcSearchPath(lean_object*); +LEAN_EXPORT lean_object* l_Lean_initSrcSearchPath(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____spec__3(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Lean_initSrcSearchPath___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_instFromJsonLeanPaths; lean_object* l_System_FilePath_join(lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__3; -static lean_object* l_Lean_initSrcSearchPath___rarg___closed__5; +static lean_object* l_Lean_initSrcSearchPath___closed__5; static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____spec__1___closed__2; static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__13; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); @@ -31,7 +30,7 @@ LEAN_EXPORT lean_object* l_Lean_LeanPaths_loadDynlibPaths___default; static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__6; lean_object* l_System_SearchPath_parse(lean_object*); lean_object* lean_io_getenv(lean_object*, lean_object*); -static lean_object* l_Lean_initSrcSearchPath___rarg___closed__2; +static lean_object* l_Lean_initSrcSearchPath___closed__1; static lean_object* l___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_41____closed__1; static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__9; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_41____spec__1(size_t, size_t, lean_object*); @@ -41,12 +40,10 @@ lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__12; lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); -static lean_object* l_Lean_initSrcSearchPath___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__7; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____spec__1___boxed(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); -static lean_object* l_Lean_initSrcSearchPath___rarg___closed__4; lean_object* l_IO_appDir(lean_object*); static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__14; static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__1; @@ -56,8 +53,10 @@ static lean_object* l___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_L LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_41____spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135_(lean_object*); static lean_object* l___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_41____closed__2; +static lean_object* l_Lean_initSrcSearchPath___closed__4; static lean_object* l_Lean_LeanPaths_loadDynlibPaths___default___closed__1; LEAN_EXPORT lean_object* l_Lean_instToJsonLeanPaths; +static lean_object* l_Lean_initSrcSearchPath___closed__2; static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__16; lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__11; @@ -65,7 +64,7 @@ static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40 static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__4; static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__5; static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____closed__19; -LEAN_EXPORT lean_object* l_Lean_initSrcSearchPath___boxed(lean_object*); +static lean_object* l_Lean_initSrcSearchPath___closed__3; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____spec__1(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____spec__1___closed__1; @@ -81,7 +80,6 @@ static lean_object* l___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40 lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Paths_0__Lean_fromJsonLeanPaths____x40_Lean_Util_Paths___hyg_135____spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Paths_0__Lean_toJsonLeanPaths____x40_Lean_Util_Paths___hyg_41_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_initSrcSearchPath___rarg(lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); static lean_object* l_Lean_instFromJsonLeanPaths___closed__1; static lean_object* _init_l_Lean_LeanPaths_loadDynlibPaths___default___closed__1() { @@ -802,7 +800,7 @@ x_1 = l_Lean_instFromJsonLeanPaths___closed__1; return x_1; } } -static lean_object* _init_l_Lean_initSrcSearchPath___rarg___closed__1() { +static lean_object* _init_l_Lean_initSrcSearchPath___closed__1() { _start: { lean_object* x_1; @@ -810,7 +808,7 @@ x_1 = lean_mk_string_from_bytes("LEAN_SRC_PATH", 13); return x_1; } } -static lean_object* _init_l_Lean_initSrcSearchPath___rarg___closed__2() { +static lean_object* _init_l_Lean_initSrcSearchPath___closed__2() { _start: { lean_object* x_1; @@ -818,7 +816,7 @@ x_1 = lean_mk_string_from_bytes("..", 2); return x_1; } } -static lean_object* _init_l_Lean_initSrcSearchPath___rarg___closed__3() { +static lean_object* _init_l_Lean_initSrcSearchPath___closed__3() { _start: { lean_object* x_1; @@ -826,7 +824,7 @@ x_1 = lean_mk_string_from_bytes("src", 3); return x_1; } } -static lean_object* _init_l_Lean_initSrcSearchPath___rarg___closed__4() { +static lean_object* _init_l_Lean_initSrcSearchPath___closed__4() { _start: { lean_object* x_1; @@ -834,7 +832,7 @@ x_1 = lean_mk_string_from_bytes("lean", 4); return x_1; } } -static lean_object* _init_l_Lean_initSrcSearchPath___rarg___closed__5() { +static lean_object* _init_l_Lean_initSrcSearchPath___closed__5() { _start: { lean_object* x_1; @@ -842,215 +840,195 @@ x_1 = lean_mk_string_from_bytes("lake", 4); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_initSrcSearchPath___rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_initSrcSearchPath(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_3 = l_Lean_initSrcSearchPath___rarg___closed__1; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_3 = l_Lean_initSrcSearchPath___closed__1; x_4 = lean_io_getenv(x_3, x_2); x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); x_6 = lean_ctor_get(x_4, 1); lean_inc(x_6); lean_dec(x_4); -x_7 = l_IO_appDir(x_6); +x_7 = lean_box(0); +x_8 = l_IO_appDir(x_6); if (lean_obj_tag(x_5) == 0) { -if (lean_obj_tag(x_7) == 0) +if (lean_obj_tag(x_8) == 0) { -uint8_t x_8; -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) +uint8_t x_9; +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_box(0); -x_11 = l_Lean_initSrcSearchPath___rarg___closed__2; -x_12 = l_System_FilePath_join(x_9, x_11); -x_13 = l_Lean_initSrcSearchPath___rarg___closed__3; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Lean_initSrcSearchPath___closed__2; +x_12 = l_System_FilePath_join(x_10, x_11); +x_13 = l_Lean_initSrcSearchPath___closed__3; x_14 = l_System_FilePath_join(x_12, x_13); -x_15 = l_Lean_initSrcSearchPath___rarg___closed__4; +x_15 = l_Lean_initSrcSearchPath___closed__4; x_16 = l_System_FilePath_join(x_14, x_15); -x_17 = l_List_appendTR___rarg(x_10, x_1); -x_18 = l_Lean_initSrcSearchPath___rarg___closed__5; +x_17 = l_List_appendTR___rarg(x_7, x_1); +x_18 = l_Lean_initSrcSearchPath___closed__5; lean_inc(x_16); x_19 = l_System_FilePath_join(x_16, x_18); x_20 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_20, 0, x_16); -lean_ctor_set(x_20, 1, x_10); +lean_ctor_set(x_20, 1, x_7); x_21 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_21, 0, x_19); lean_ctor_set(x_21, 1, x_20); x_22 = l_List_appendTR___rarg(x_17, x_21); -lean_ctor_set(x_7, 0, x_22); -return x_7; +lean_ctor_set(x_8, 0, x_22); +return x_8; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_23 = lean_ctor_get(x_7, 0); -x_24 = lean_ctor_get(x_7, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_23 = lean_ctor_get(x_8, 0); +x_24 = lean_ctor_get(x_8, 1); lean_inc(x_24); lean_inc(x_23); -lean_dec(x_7); -x_25 = lean_box(0); -x_26 = l_Lean_initSrcSearchPath___rarg___closed__2; -x_27 = l_System_FilePath_join(x_23, x_26); -x_28 = l_Lean_initSrcSearchPath___rarg___closed__3; -x_29 = l_System_FilePath_join(x_27, x_28); -x_30 = l_Lean_initSrcSearchPath___rarg___closed__4; -x_31 = l_System_FilePath_join(x_29, x_30); -x_32 = l_List_appendTR___rarg(x_25, x_1); -x_33 = l_Lean_initSrcSearchPath___rarg___closed__5; -lean_inc(x_31); -x_34 = l_System_FilePath_join(x_31, x_33); +lean_dec(x_8); +x_25 = l_Lean_initSrcSearchPath___closed__2; +x_26 = l_System_FilePath_join(x_23, x_25); +x_27 = l_Lean_initSrcSearchPath___closed__3; +x_28 = l_System_FilePath_join(x_26, x_27); +x_29 = l_Lean_initSrcSearchPath___closed__4; +x_30 = l_System_FilePath_join(x_28, x_29); +x_31 = l_List_appendTR___rarg(x_7, x_1); +x_32 = l_Lean_initSrcSearchPath___closed__5; +lean_inc(x_30); +x_33 = l_System_FilePath_join(x_30, x_32); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_30); +lean_ctor_set(x_34, 1, x_7); x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_31); -lean_ctor_set(x_35, 1, x_25); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_List_appendTR___rarg(x_32, x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_24); -return x_38; +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_List_appendTR___rarg(x_31, x_35); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_24); +return x_37; } } else { -uint8_t x_39; +uint8_t x_38; lean_dec(x_1); -x_39 = !lean_is_exclusive(x_7); -if (x_39 == 0) +x_38 = !lean_is_exclusive(x_8); +if (x_38 == 0) { -return x_7; +return x_8; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_7, 0); -x_41 = lean_ctor_get(x_7, 1); -lean_inc(x_41); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_8, 0); +x_40 = lean_ctor_get(x_8, 1); lean_inc(x_40); -lean_dec(x_7); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_inc(x_39); +lean_dec(x_8); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } else { -if (lean_obj_tag(x_7) == 0) +if (lean_obj_tag(x_8) == 0) { -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_5, 0); -lean_inc(x_43); +lean_object* x_42; uint8_t x_43; +x_42 = lean_ctor_get(x_5, 0); +lean_inc(x_42); lean_dec(x_5); -x_44 = !lean_is_exclusive(x_7); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_45 = lean_ctor_get(x_7, 0); -x_46 = l_System_SearchPath_parse(x_43); -x_47 = l_Lean_initSrcSearchPath___rarg___closed__2; -x_48 = l_System_FilePath_join(x_45, x_47); -x_49 = l_Lean_initSrcSearchPath___rarg___closed__3; -x_50 = l_System_FilePath_join(x_48, x_49); -x_51 = l_Lean_initSrcSearchPath___rarg___closed__4; -x_52 = l_System_FilePath_join(x_50, x_51); -x_53 = l_List_appendTR___rarg(x_46, x_1); -x_54 = l_Lean_initSrcSearchPath___rarg___closed__5; -lean_inc(x_52); -x_55 = l_System_FilePath_join(x_52, x_54); -x_56 = lean_box(0); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_52); -lean_ctor_set(x_57, 1, x_56); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_55); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_List_appendTR___rarg(x_53, x_58); -lean_ctor_set(x_7, 0, x_59); -return x_7; +x_43 = !lean_is_exclusive(x_8); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_44 = lean_ctor_get(x_8, 0); +x_45 = l_System_SearchPath_parse(x_42); +x_46 = l_Lean_initSrcSearchPath___closed__2; +x_47 = l_System_FilePath_join(x_44, x_46); +x_48 = l_Lean_initSrcSearchPath___closed__3; +x_49 = l_System_FilePath_join(x_47, x_48); +x_50 = l_Lean_initSrcSearchPath___closed__4; +x_51 = l_System_FilePath_join(x_49, x_50); +x_52 = l_List_appendTR___rarg(x_45, x_1); +x_53 = l_Lean_initSrcSearchPath___closed__5; +lean_inc(x_51); +x_54 = l_System_FilePath_join(x_51, x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_51); +lean_ctor_set(x_55, 1, x_7); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_List_appendTR___rarg(x_52, x_56); +lean_ctor_set(x_8, 0, x_57); +return x_8; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_60 = lean_ctor_get(x_7, 0); -x_61 = lean_ctor_get(x_7, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_7); -x_62 = l_System_SearchPath_parse(x_43); -x_63 = l_Lean_initSrcSearchPath___rarg___closed__2; -x_64 = l_System_FilePath_join(x_60, x_63); -x_65 = l_Lean_initSrcSearchPath___rarg___closed__3; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_58 = lean_ctor_get(x_8, 0); +x_59 = lean_ctor_get(x_8, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_8); +x_60 = l_System_SearchPath_parse(x_42); +x_61 = l_Lean_initSrcSearchPath___closed__2; +x_62 = l_System_FilePath_join(x_58, x_61); +x_63 = l_Lean_initSrcSearchPath___closed__3; +x_64 = l_System_FilePath_join(x_62, x_63); +x_65 = l_Lean_initSrcSearchPath___closed__4; x_66 = l_System_FilePath_join(x_64, x_65); -x_67 = l_Lean_initSrcSearchPath___rarg___closed__4; -x_68 = l_System_FilePath_join(x_66, x_67); -x_69 = l_List_appendTR___rarg(x_62, x_1); -x_70 = l_Lean_initSrcSearchPath___rarg___closed__5; -lean_inc(x_68); -x_71 = l_System_FilePath_join(x_68, x_70); -x_72 = lean_box(0); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_68); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_71); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_List_appendTR___rarg(x_69, x_74); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_61); -return x_76; +x_67 = l_List_appendTR___rarg(x_60, x_1); +x_68 = l_Lean_initSrcSearchPath___closed__5; +lean_inc(x_66); +x_69 = l_System_FilePath_join(x_66, x_68); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_66); +lean_ctor_set(x_70, 1, x_7); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_List_appendTR___rarg(x_67, x_71); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_59); +return x_73; } } else { -uint8_t x_77; +uint8_t x_74; lean_dec(x_5); lean_dec(x_1); -x_77 = !lean_is_exclusive(x_7); -if (x_77 == 0) +x_74 = !lean_is_exclusive(x_8); +if (x_74 == 0) { -return x_7; +return x_8; } else { -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_7, 0); -x_79 = lean_ctor_get(x_7, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_7); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} -} +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_8, 0); +x_76 = lean_ctor_get(x_8, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_8); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; } } } -LEAN_EXPORT lean_object* l_Lean_initSrcSearchPath(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_initSrcSearchPath___rarg), 2, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_initSrcSearchPath___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_initSrcSearchPath(x_1); -lean_dec(x_1); -return x_2; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); @@ -1130,16 +1108,16 @@ l_Lean_instFromJsonLeanPaths___closed__1 = _init_l_Lean_instFromJsonLeanPaths___ lean_mark_persistent(l_Lean_instFromJsonLeanPaths___closed__1); l_Lean_instFromJsonLeanPaths = _init_l_Lean_instFromJsonLeanPaths(); lean_mark_persistent(l_Lean_instFromJsonLeanPaths); -l_Lean_initSrcSearchPath___rarg___closed__1 = _init_l_Lean_initSrcSearchPath___rarg___closed__1(); -lean_mark_persistent(l_Lean_initSrcSearchPath___rarg___closed__1); -l_Lean_initSrcSearchPath___rarg___closed__2 = _init_l_Lean_initSrcSearchPath___rarg___closed__2(); -lean_mark_persistent(l_Lean_initSrcSearchPath___rarg___closed__2); -l_Lean_initSrcSearchPath___rarg___closed__3 = _init_l_Lean_initSrcSearchPath___rarg___closed__3(); -lean_mark_persistent(l_Lean_initSrcSearchPath___rarg___closed__3); -l_Lean_initSrcSearchPath___rarg___closed__4 = _init_l_Lean_initSrcSearchPath___rarg___closed__4(); -lean_mark_persistent(l_Lean_initSrcSearchPath___rarg___closed__4); -l_Lean_initSrcSearchPath___rarg___closed__5 = _init_l_Lean_initSrcSearchPath___rarg___closed__5(); -lean_mark_persistent(l_Lean_initSrcSearchPath___rarg___closed__5); +l_Lean_initSrcSearchPath___closed__1 = _init_l_Lean_initSrcSearchPath___closed__1(); +lean_mark_persistent(l_Lean_initSrcSearchPath___closed__1); +l_Lean_initSrcSearchPath___closed__2 = _init_l_Lean_initSrcSearchPath___closed__2(); +lean_mark_persistent(l_Lean_initSrcSearchPath___closed__2); +l_Lean_initSrcSearchPath___closed__3 = _init_l_Lean_initSrcSearchPath___closed__3(); +lean_mark_persistent(l_Lean_initSrcSearchPath___closed__3); +l_Lean_initSrcSearchPath___closed__4 = _init_l_Lean_initSrcSearchPath___closed__4(); +lean_mark_persistent(l_Lean_initSrcSearchPath___closed__4); +l_Lean_initSrcSearchPath___closed__5 = _init_l_Lean_initSrcSearchPath___closed__5(); +lean_mark_persistent(l_Lean_initSrcSearchPath___closed__5); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Util/SCC.c b/stage0/stdlib/Lean/Util/SCC.c index 64822e390835..8168bc4a4613 100644 --- a/stage0/stdlib/Lean/Util/SCC.c +++ b/stage0/stdlib/Lean/Util/SCC.c @@ -16,7 +16,6 @@ extern "C" { LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_addSCC___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_getDataOf(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_push___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_modifyDataOf___at___private_Lean_Util_SCC_0__Lean_SCC_resetOnStack___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_modifyDataOf___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -34,7 +33,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_resetOnStack___ra uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_updateLowLinkOf___rarg___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_HashMap_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_SCC_State_data___default___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_modifyDataOf___at___private_Lean_Util_SCC_0__Lean_SCC_updateLowLinkOf___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_push(lean_object*); @@ -54,6 +52,8 @@ LEAN_EXPORT lean_object* l_Lean_SCC_State_sccs___default(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_SCC_0__Lean_SCC_sccAux(lean_object*); lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SCC_State_nextIndex___default; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -1273,7 +1273,7 @@ x_2 = lean_alloc_closure((void*)(l_List_forM___at___private_Lean_Util_SCC_0__Lea return x_2; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1346,7 +1346,7 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_13, 0); lean_inc(x_16); lean_dec(x_13); -x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(x_15, x_16); +x_17 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(x_15, x_16); lean_dec(x_16); lean_dec(x_15); if (x_17 == 0) @@ -1380,7 +1380,7 @@ lean_inc(x_22); x_23 = lean_ctor_get(x_20, 0); lean_inc(x_23); lean_dec(x_20); -x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(x_22, x_23); +x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(x_22, x_23); lean_dec(x_23); lean_dec(x_22); if (x_24 == 0) @@ -1412,11 +1412,11 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Util_SCC_0__Lean_SCC_sccAux___ return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at___private_Lean_Util_SCC_0__Lean_SCC_sccAux___spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); diff --git a/stage0/stdlib/Lean/Widget/InteractiveGoal.c b/stage0/stdlib/Lean/Widget/InteractiveGoal.c index 10349a3a4478..578077cfb621 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveGoal.c +++ b/stage0/stdlib/Lean/Widget/InteractiveGoal.c @@ -286,7 +286,6 @@ static lean_object* l_Lean_Widget_InteractiveGoalCore_pretty___closed__2; static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_184____closed__54; static lean_object* l_Lean_Widget_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Widget_goalToInteractive___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Widget_goalToInteractive___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket__2; static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_184____closed__26; @@ -318,6 +317,7 @@ static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJ static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_184____closed__32; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Widget_InteractiveGoalCore_pretty___spec__2___closed__6; static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_184____closed__48; +uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2605____closed__19; static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_2605____closed__4; static lean_object* l___private_Lean_Widget_InteractiveGoal_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveGoal___hyg_1514____closed__13; @@ -13650,7 +13650,7 @@ lean_inc(x_65); x_66 = lean_ctor_get(x_64, 1); lean_inc(x_66); lean_dec(x_64); -x_67 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_56, x_4); +x_67 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_56, x_4); if (x_67 == 0) { lean_object* x_68; uint8_t x_69; @@ -13661,7 +13661,7 @@ if (lean_is_scalar(x_53)) { x_68 = x_53; } lean_ctor_set(x_68, 0, x_65); -x_69 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_56, x_68); +x_69 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_56, x_68); lean_dec(x_68); if (x_69 == 0) { @@ -14085,7 +14085,7 @@ lean_inc(x_160); x_161 = lean_ctor_get(x_159, 1); lean_inc(x_161); lean_dec(x_159); -x_162 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_151, x_4); +x_162 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_151, x_4); if (x_162 == 0) { lean_object* x_163; uint8_t x_164; @@ -14096,7 +14096,7 @@ if (lean_is_scalar(x_53)) { x_163 = x_53; } lean_ctor_set(x_163, 0, x_160); -x_164 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_151, x_163); +x_164 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_151, x_163); lean_dec(x_163); if (x_164 == 0) { @@ -14955,7 +14955,7 @@ lean_inc(x_70); x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); lean_dec(x_69); -x_72 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_61, x_4); +x_72 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_61, x_4); if (x_72 == 0) { lean_object* x_73; uint8_t x_74; @@ -14966,7 +14966,7 @@ if (lean_is_scalar(x_58)) { x_73 = x_58; } lean_ctor_set(x_73, 0, x_70); -x_74 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_61, x_73); +x_74 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_61, x_73); lean_dec(x_73); if (x_74 == 0) { @@ -15390,7 +15390,7 @@ lean_inc(x_165); x_166 = lean_ctor_get(x_164, 1); lean_inc(x_166); lean_dec(x_164); -x_167 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_156, x_4); +x_167 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_156, x_4); if (x_167 == 0) { lean_object* x_168; uint8_t x_169; @@ -15401,7 +15401,7 @@ if (lean_is_scalar(x_58)) { x_168 = x_58; } lean_ctor_set(x_168, 0, x_165); -x_169 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1119____at_Lean_Meta_ppGoal_ppVars___spec__1(x_156, x_168); +x_169 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_1123____at_Lean_Meta_ppGoal_ppVars___spec__1(x_156, x_168); lean_dec(x_168); if (x_169 == 0) {